@extends('layouts.backend.index') @section('title', $label) @section('content')

circle-image

Jumlah Gaji

{{ number_format($counts['total_gaji'], 0, ',', '.') }}

circle-image

Jumlah Lembur

{{ number_format($counts['total_lembur'], 0, ',', '.') }}

circle-image

Uang Makan

{{ number_format($counts['total_makan'], 0, ',', '.') }}

Grafik Total Payroll  |  Tahun {{ $year }}
@for ($i = 1; $i <= 12; $i++) @endfor
No Bulan Total Gaji Total Gaji Lembur Total Uang Makan Total Potongan Total #
{{ $i }} {{ Common::monthFormat($i) }} {{ number_format(@$payroll[$i]['total_salary']??0, 0, ',', '.') }} {{ number_format(@$payroll[$i]['total_salary_overtime']??0, 0, ',', '.') }} {{ number_format(@$payroll[$i]['total_allowance_meal']??0, 0, ',', '.') }} {{ number_format(@$payroll[$i]['total_salary_cuts']??0, 0, ',', '.') }} {{ number_format(@$payroll[$i]['total']??0, 0, ',', '.') }}

Grafik Total Lembur  |  Tahun {{ $year }}
@foreach ($lembur as $key => $item) @endforeach
No Bulan Jam Lembur Rata2 Lembur Total Lembur #
{{ $key + 1 }} {{ $item['month'] }} {{ number_format($item['overtime'],0,',','.') }} Jam {{ $item['employee'] }} {{ number_format($item['salary_overtime'],0,',','.') }}
@endsection @push('scripts') @endpush