@extends('docs.master', ['title' => 'Sales Report']) @section('content')

Payroll Report

Month:

{{$monthNames[$model->month]}}

Year:

{{$model->year}}

Total Working Days:

{{$model->total_working_day}}

Process Date:

{{date('d-m-Y',strtotime($model->created_at))}}



{{$i=1}} @foreach($model->items as $item) @endforeach
# Employee Name Gross Salary Leave Leave (WP) Tax Loan Late Other Net Salary
{{$i++}} {{$item->employee->employee_code}} | {{$item->employee->name}} {{$item->gross_salary }} {{$item->total_leaves}} {{$item->laeve_without_pay}} {{$item->tax_withheld }} {{$item->loan_deduction}} {{$item->late_deduction}} {{$item->other_deduction}} {{$item->net_salary }}
@endsection