@extends('layouts.app') @section('title') Payroll History @stop @section('breadcrumb') @stop @section('content')

Payroll History ({{number_format($totalPay)}} PKR)

@foreach($payrolls as $payroll) @endforeach
Date Employee Basic Benefits Deductions Net Pay
{{date('d-m-Y', strtotime($payroll->date)) }} {{$payroll->employee ? $payroll->employee->name : ''}} {{number_format($payroll->employee ? $payroll->employee->basic_salary : 0)}} PKR {{number_format($payroll->benefits)}} PKR {{number_format($payroll->deductions)}} PKR {{number_format($payroll->net_pay)}} PKR

{{number_format($basic_salary)}} PKR

{{number_format($benefits)}} PKR

({{number_format($deduction)}}) PKR

{{number_format($net_pay)}} PKR
@stop @section('js') @stop