ultimatepos/resources/views/user/profile_professional/tabs/payroll.blade.php

34 lines
1.3 KiB
PHP

<div class="up-card">
<div class="up-card__header">
<h4>@lang('lang_v1.profile_tab_payroll')</h4>
</div>
<div class="up-card__body">
@if($profile['payroll_rows']->isEmpty())
<div class="up-empty-state"><p>@lang('lang_v1.profile_not_enough_data')</p></div>
@else
<div class="table-responsive">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>@lang('lang_v1.date')</th>
<th>@lang('purchase.ref_no')</th>
<th>@lang('sale.total')</th>
<th>@lang('lang_v1.payment_status')</th>
</tr>
</thead>
<tbody>
@foreach($profile['payroll_rows'] as $payroll)
<tr>
<td>{{ format_date($payroll->transaction_date) }}</td>
<td>{{ $payroll->ref_no }}</td>
<td>@format_currency($payroll->final_total)</td>
<td>{{ __('lang_v1.'.$payroll->payment_status) }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endif
</div>
</div>