@extends('layouts.admin') @section('content')

Attendance Report

Attendance Report

@if(count($th_array) > 0) @foreach($th_array as $report) @endforeach @endif
Sl No Labour Attendance Amount
{{$cnt++}} {{$report['staff']}} {{$report['status']}} {{$report['amount']}}
{{$cnt++}} Total WorkTime : {{$total_wrk_time}}
{{$cnt++}} Total Salary : {{$fmt->format($total_salary)}}
{{$cnt++}} Total Salary Paid: {{$fmt->format($total_salary_paid)}}
{{$cnt++}} Total Advance Paid: {{$fmt->format($total_advance_paid)}}
{{$cnt++}} @if($total_advance_paid > $total_salary) Pending Advance : @else Pending Salary : @endif {{$fmt->format(abs($pending_salary))}}
@endsection