Approve Earned Leave Credits
@php
$from_date="";
$to_date="";
if($employee!="" && count($employee)>0)
{
$from_date1= $employee[0]['from_date'];
$to_date1= $employee[0]['to_date'];
$from_date=\Carbon\Carbon::parse($from_date1)->format("d-m-Y");
$to_date=\Carbon\Carbon::parse($to_date1)->format("d-m-Y");
}
@endphp
@if($from_date && $from_date!="" && $to_date && $to_date!="")
Reports For: {{$from_date}} To {{$to_date}}
@endif
@if($error && $error!="")
{{$error}}
@endif
@if($employee!="" && count($employee)>0)
| Si.No |
Employee Code |
Employee Name |
Total Working Days |
Present |
Month Credit |
Year Credit |
@php
$si=0;
@endphp
@if($employee!="" && count($employee)>0)
@foreach($employee as $employeelist)
| {{++$si}} |
{{$employeelist->username}} |
{{$employeelist->name}} |
{{$employeelist->total_working_days}} |
{{$employeelist->present}} |
{{$employeelist->month_credit}} |
{{$employeelist->year_credit}} |
@endforeach
@endif
@endif