{!! Form::open(array('url' => url('payroll/'.$payroll->id.'/update'), 'method' => 'post', 'name' => 'form',"enctype"=>"multipart/form-data")) !!}
{!! Form::label('branch_id',trans_choice('general.branch',1),array('class'=>' control-label')) !!}
{!! Form::select('branch_id',$branches,$payroll->branch_id, array('class' => 'form-control select2','placeholder'=>'','required'=>'required','id'=>'contribution_batch_id')) !!}
{!! Form::label('user_id',trans_choice('general.staff',1),array('class'=>'')) !!}
{!! Form::select('user_id',$user,$payroll->user_id, array('class' => 'form-control select2','id'=>'user_id','placeholder'=>'Select')) !!}
|
{{trans_choice('general.payroll',1)}} {{trans_choice('general.date',1)}}
|
{!! Form::text('date',$payroll->date, array('class' => 'form-control date-picker', 'required'=>"required")) !!}
|
{{trans_choice('general.business',1)}} {{trans_choice('general.name',1)}} |
{!! Form::text('business_name',$payroll->business_name, array('class' => 'form-control', 'id'=>"business_name",'required'=>"required")) !!}
|
@foreach($top_right as $key)
{{$key->name}} |
|
@endforeach
|
|
{{trans_choice('general.description',1)}} |
{{trans_choice('general.amount',1)}} |
|
{{trans_choice('general.description',1)}} |
{{trans_choice('general.amount',1)}} |
|
{{trans_choice('general.total',1)}} {{trans_choice('general.pay',1)}}
|
{!! Form::text('total_pay',\App\Helpers\GeneralHelper::single_payroll_total_pay($payroll->id), array('class' => 'form-control', 'readonly'=>"",'id'=>'total_pay')) !!}
|
|
{{trans_choice('general.total',1)}} {{trans_choice('general.deduction',2)}}
|
{!! Form::text('total_deductions',\App\Helpers\GeneralHelper::single_payroll_total_deductions($payroll->id), array('class' => 'form-control', 'readonly'=>"",'id'=>'total_deductions')) !!}
|
|
|
{{trans_choice('general.net',1)}} {{trans_choice('general.pay',1)}}
|
{!! Form::text('net_pay',(\App\Helpers\GeneralHelper::single_payroll_total_pay($payroll->id)-\App\Helpers\GeneralHelper::single_payroll_total_deductions($payroll->id)), array('class' => 'form-control', 'readonly'=>"",'id'=>'net_pay')) !!}
|
|
|
{{trans_choice('general.net_pay_distribution',1)}}
|
{{trans_choice('general.payment',1)}} {{trans_choice('general.method',1)}}
|
{{trans_choice('general.bank',1)}} {{trans_choice('general.name',1)}}
|
{{trans_choice('general.account',1)}} {{trans_choice('general.number',1)}}
|
{{trans_choice('general.description',1)}}
|
{{trans_choice('general.paid',1)}} {{trans_choice('general.amount',1)}}
|
{!! Form::text('payment_method',$payroll->payment_method, array('class' => 'form-control', 'required'=>"")) !!}
|
{!! Form::text('bank_name',$payroll->bank_name, array('class' => 'form-control', ''=>"")) !!}
|
{!! Form::text('account_number',$payroll->account_number, array('class' => 'form-control', ''=>"")) !!}
|
{!! Form::text('description',$payroll->description, array('class' => 'form-control', ''=>"")) !!}
|
{!! Form::text('paid_amount',$payroll->paid_amount, array('class' => 'form-control', 'id'=>"paid_amount")) !!}
|
|
{{trans_choice('general.comment',2)}}
|
{!! Form::textarea('comments',$payroll->comments, array('class' => 'form-control', ''=>"")) !!}
|
|
{!! Form::label('Recurring',null,array('class'=>'active')) !!}
{!! Form::select('recurring', array('1'=>trans_choice('general.yes',1),'0'=>trans_choice('general.no',1)),$payroll->recurring, array('class' => 'form-control','id'=>'recurring')) !!}