@extends('layouts.master', ['title' => 'Employee Leaves']) @section('style') @endsection @section('contents')
| S No. | Employee Code | Month | Alloted CLs | Alloted PLs | Carry Forwared CL | Carry Forwared PL | Leave Taken | Balance Leaves |
|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $record->emp_code }} | {{$record->month->month}} | {{ $record->casual_leave }} | {{ $record->privilege_leave }} | {{ $record->carry_forward_cl }} | {{ $record->carry_forward_pl }} | {{ $record->leave_taken }} | {{ $record->casual_leave + $record->privilege_leave + $record->carry_forward_cl + $record->carry_forward_pl - $record->leave_taken }} |
| No Record Found | ||||||||
| Total Leave Taken | {{array_sum($total_leave_taken)}} | |||||||
| Balance Leave | {{$balance_leave}} | |||||||