@php ini_set("memory_limit", "-1"); @endphp {{ config('app.name', 'Laravel') }}
{{$payroll->company}}

PAYROLL REGISTER Store : {{$payroll->store}}
Payroll Period of : {{$payroll->payroll_from}} to {{$payroll->payroll_to}}
Generated By : {{auth()->user()->name}} - {{date('M. d, Y h:i a',strtotime($payroll->created_at))}}
Date and time Printed : {{date('M. d, Y h:i a')}}
@php $c = 1; @endphp @foreach($payroll->informations as $key => $pay) @endforeach
# Emp No. Employee Name Daily Rate Daily Rate/Hour Days Work Hours Work Basic Pay Hours Tardy Hours Tardy Basic Overtime Amount Overtime Special holiday Amount Special holiday Legal holiday Amount Legal Holiday Night Diff Amount Night Diff Gross Pay Other Income Non Taxable Other Income Remarks SSS Contribution NHIP Contribution HDMF Contribution TAX Other Deductions Total Deductions NET PAY ATM
{{$c++}} {{$pay->employee_id}} {{$pay->employee_name}} {{number_format($pay->daily_rate,2)}} {{number_format($pay->hour_rate,2)}} {{number_format($pay->days_work,2)}} {{number_format($pay->hours_work,2)}} {{number_format($pay->basic_pay,2)}} {{number_format($pay->hours_tardy,2)}} {{number_format($pay->hours_tardy_basic,2)}} {{number_format($pay->overtime,2)}} {{number_format($pay->amount_overtime,2)}} {{number_format($pay->special_holiday,2)}} {{number_format($pay->amount_special_holiday,2)}} {{number_format($pay->legal_holiday,2)}} {{number_format($pay->amount_legal_holiday,2)}} {{number_format($pay->night_diff,2)}} {{number_format($pay->amount_night_diff,2)}} {{number_format($pay->gross_pay,2)}} {{number_format($pay->other_income_non_taxable,2)}} {{$pay->income_remarks}} {{number_format($pay->sss_contribution,2)}} {{number_format($pay->nhip_contribution,2)}} {{number_format($pay->hdmf_contribution,2)}} {{number_format($pay->tax,2)}} {{number_format($pay->other_deductions,2)}} {{number_format($pay->total_deductions,2)}} {{number_format($pay->net_pay,2)}} {{($pay->atm == 0) ? "No" : "Yes"}}
GRAND TOTALS
{{count($payroll->informations)}} Records
{{number_format((($payroll->informations)->sum('daily_rate')),2)}} {{number_format((($payroll->informations)->sum('hour_rate')),2)}} {{number_format((($payroll->informations)->sum('days_work')),2)}} {{number_format((($payroll->informations)->sum('hours_work')),2)}} {{number_format((($payroll->informations)->sum('basic_pay')),2)}} {{number_format((($payroll->informations)->sum('hours_tardy')),2)}} {{number_format((($payroll->informations)->sum('hours_tardy_basic')),2)}} {{number_format((($payroll->informations)->sum('overtime')),2)}} {{number_format((($payroll->informations)->sum('amount_overtime')),2)}} {{number_format((($payroll->informations)->sum('special_holiday')),2)}} {{number_format((($payroll->informations)->sum('amount_special_holiday')),2)}} {{number_format((($payroll->informations)->sum('legal_holiday')),2)}} {{number_format((($payroll->informations)->sum('amount_legal_holiday')),2)}} {{number_format((($payroll->informations)->sum('night_diff')),2)}} {{number_format((($payroll->informations)->sum('amount_night_diff')),2)}} {{number_format((($payroll->informations)->sum('gross_pay')),2)}} {{number_format((($payroll->informations)->sum('other_income_non_taxable')),2)}} {{number_format(0.00, 2)}} {{number_format((($payroll->informations)->sum('sss_contribution')),2)}} {{number_format((($payroll->informations)->sum('nhip_contribution')),2)}} {{number_format((($payroll->informations)->sum('hdmf_contribution')),2)}} {{number_format((($payroll->informations)->sum('tax')),2)}} {{number_format((($payroll->informations)->sum('other_deductions')),2)}} {{number_format((($payroll->informations)->sum('total_deductions')),2)}} {{number_format((($payroll->informations)->sum('net_pay')),2)}}  

@php $length = strlen(auth()->user()->name); $approved_by = str_repeat('_',$length+8); @endphp ____{{auth()->user()->name}}____
Prepared By:
___________________
Approved by