@extends('layouts.header_admin') @section('css') @endsection @section('content')
as of Today
Total Generated Payroll

{{$payrolls->count()}}

{{--
98%
--}}  
@if($payrolls->first() != null){{date('M. d, Y',strtotime(($payrolls->first())->payroll_from))}} - {{date('M. d, Y',strtotime(($payrolls->first())->payroll_to))}}@endif
Generated this cutoff

@if($payrolls->first() != null){{count($payrolls->where('payroll_to',($payrolls->first())->payroll_to)->where('status',""))}}@endif

{{--
44%
--}}  
@if($payrolls->first() != null){{date('M. d, Y',strtotime(($payrolls->first())->payroll_from))}} - {{date('M. d, Y',strtotime(($payrolls->first())->payroll_to))}}@endif
Active Stores

{{count($stores)}}

{{--
44%
--}}  
@if($payrolls->first() != null){{date('M. d, Y',strtotime(($payrolls->first())->payroll_from))}} - {{date('M. d, Y',strtotime(($payrolls->first())->payroll_to))}}@endif
Posted

@if($payrolls->first() != null){{count($payrolls->where('payroll_to',($payrolls->first())->payroll_to)->where('status','!=',''))}}@endif

{{--
44%
--}}  
@foreach($payrolls as $payroll) @endforeach
Action Company Store Generated By Cut Off Employee Count Total Basic Pay Contributions
@if($payroll->status == "") @else @if($payroll->display == 0) @else @endif @endif {{$payroll->company}} {{$payroll->store}} {{$payroll->user->name}} {{date('M d, Y',strtotime($payroll->payroll_from))}} - {{date('M d, Y',strtotime($payroll->payroll_to))}} {{count($payroll->informations)}} {{number_format((($payroll->informations)->sum('basic_pay')),2)}} SSS : {{number_format((($payroll->informations)->sum('sss_contribution')),2)}}
HDMF : {{number_format((($payroll->informations)->sum('hdmf_contribution')),2)}}
NHIP : {{number_format((($payroll->informations)->sum('nhip_contribution')),2)}}
@endsection @section('js') @endsection