@extends('layouts.default') @section('header-links') @include('accounts.payrole.header') @endsection @section('title', trans('payrole.payrole') .' '. trans('payrole.summary')) @section('new_button') add{{ trans_choice('general.enterpayrole', 1) }} @endsection @section('content')
@php $grosspay = 0; $tax = 0; $netpay = 0; $hours = 0; @endphp @foreach($payroles as $payrole) @php $grosspay += $payrole->grosspay; $tax += $payrole->emp_tax + $payrole->emper_tax; $netpay += $payrole->netpay; $hours += $payrole->consultant_hours; @endphp @endforeach
{{ trans('payrole.payperiod') }} {{ trans('payrole.paydate') }} Name {{ trans_choice('payrole.hour',2) }} Total Paid Tax Held {{ trans('payrole.deductions') }} {{ trans('payrole.netpay') }} Check Employee Liability Total Expense Actions
{{ Date::parse(explode('-',$payrole->payperiod)[0])->format($date_format) .' - '. Date::parse(explode('-',$payrole->payperiod)[1])->format($date_format) }} {{ Date::parse($payrole->paydate)->format($date_format) }} {{ $payrole->user->name }} {{ $payrole->consultant_hours }} @money($payrole->grosspay,'USD',true) @money(($payrole->emp_tax + $payrole->emper_tax),'USD',true) @money(($payrole->emp_tax + $payrole->emper_tax),'USD',true) @money($payrole->netpay,'USD',true) {{ $payrole->checkstatus }} {{ $payrole->id }} {{ $payrole->id }} create
Pay Frequency Totals     {{ $hours }} @money($grosspay,'USD',true) @money($tax,'USD',true) -- @money($netpay,'USD',true)   -- --  
Company Total     {{ $hours }} @money($grosspay,'USD',true) @money($tax,'USD',true) -- @money($netpay,'USD',true)   -- --  
Total Net Pays for Compan
@endsection