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

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

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.id',1) }} {{ trans_choice('core::general.user',1) }} {{ trans_choice('core::general.date',1) }} {{ trans_choice('payroll::general.amount',1) }} {{ trans_choice('payroll::general.payment',1) }} {{ trans_choice('payroll::general.status',1) }} {{ trans_choice('core::general.action',1) }}
{{$key->id}} {{$key->user}} {{$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
@endsection @section('scripts') @endsection