@extends('core::layouts.master') @section('title') {{ trans_choice('payroll::general.payroll',2) }} @endsection @section('styles') @stop @section('content')

{{ trans_choice('payroll::general.payroll',2) }}

{{number_format($data->total())}} {{ trans_choice('payroll::general.payroll',2) }} {{ trans_choice('core::general.found',1) }}

@foreach($data as $key)
{{$key->date}}
{{number_format($key->gross_amount,2)}}
@if($key->payments >= $key->gross_amount) {{trans_choice('payroll::general.paid', 1)}} @elseif($key->payments < $key->gross_amount && $key->payments > 0) {{trans_choice('payroll::general.partially_paid', 1)}} @else {{trans_choice('payroll::general.unpaid', 1)}} @endif
@endforeach
{{$data->links()}}
{{ trans_choice('core::general.page',1) }} {{$data->currentPage()}} {{ trans_choice('core::general.of',1) }} {{$data->lastPage()}}
@endsection @section('scripts') @endsection