@extends('docs.master', ['title' => 'Sales Report']) @section('content')
| Month: | {{$monthNames[$model->month]}} |
| Year: | {{$model->year}} |
| Total Working Days: | {{$model->total_working_day}} |
| Process Date: | {{date('d-m-Y',strtotime($model->created_at))}} |
| # | 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 }} |
| Total | {{number_format($model->items->sum('net_salary'),2)}} | ||||||||