Staff Payroll Ledger - {{ \Carbon\Carbon::parse(now())->format('Y-m-d')}}
User:
{{isset(auth()->user()->name)?auth()->user()->name:""}}
Date: {{ \Carbon\Carbon::parse(now())->format('Y-m-d')}}
Date: {{ \Carbon\Carbon::parse(now())->format('Y-m-d')}}
Reg No. : {{ $data['staff']->reg_no }}
Name : {{ $data['staff']->first_name.' '.$data['staff']->middle_name.' '.$data['staff']->last_name }} Designation: {{ ViewHelper::getDesignationId($data['staff']->designation) }} ContactNo: {{$data['staff']->mobile_1 }} |
{!! isset($generalSetting->print_header)?$generalSetting->print_header:'-' !!} |
TagLine | Head | DueDate | Amount | Allowance | Fine | Paid | Balance |
---|---|---|---|---|---|---|---|
{{ $payrollMaster->tag_line }} | {{ ViewHelper::getPayrollHeadById($payrollMaster->payroll_head) }} | {{ \Carbon\Carbon::parse($payrollMaster->fee_due_date)->format('Y-m-d')}} | {{ $amount = $payrollMaster->amount }} | {{ $allowance = $payrollMaster->paySalary()->sum('allowance') }} | {{ $fine = $payrollMaster->paySalary()->sum('fine') }} | {{ $paid_amount = $payrollMaster->paySalary()->sum('paid_amount') }} | {{ $net_balance = (($amount +$allowance) - ($fine + $paid_amount)) }} |
{{ $pay_salary->salary_masters_id.'/'.$i }}
{{ $pay_salary->note }} |
{{ $pay_salary->payment_mode }} | {{ \Carbon\Carbon::parse($pay_salary->date)->format('Y-m-d')}} | {{ $pay_salary->allowance }} | {{ $pay_salary->fine }} | {{ $pay_salary->paid_amount }} | ||
Total | {{ $data['staff']->payroll_amount?$data['staff']->payroll_amount:'-' }} | {{ $data['staff']->discount?$data['staff']->discount:'-' }} | {{ $data['staff']->fine?$data['staff']->fine:'-' }} | {{ $data['staff']->paid_amount?$data['staff']->paid_amount:'-' }} | {{ $data['staff']->balance?$data['staff']->balance:'-' }} | ||
Total :{{$data['staff']->paid_amount}}/-
In Word: {{ ViewHelper::convertNumberToWord($data['staff']->paid_amount) }}only.
Total Balance :{{$data['staff']->balance }}/-
Balance In Word: {{ ViewHelper::convertNumberToWord($data['staff']->balance ) }}only.
{!! $generalSetting->print_footer !!}
@endif