@php
$subtype = '';
@endphp
@if(!empty($transaction_sub_type))
@php
$subtype = '?sub_type='.$transaction_sub_type;
@endphp
@endif
@if(!empty($transactions))
@foreach ($transactions as $transaction)
{{ $loop->iteration}}.
|
{{ $transaction->invoice_no }} ({{$transaction->contact?->name}})
@if(!empty($transaction->table))
- {{$transaction->table->name}}
@endif
|
{{ $transaction->final_total }}
|
@if(auth()->user()->can('sell.update') || auth()->user()->can('direct_sell.update'))
@endif
@if(auth()->user()->can('sell.delete') || auth()->user()->can('direct_sell.delete'))
@endif
@if(!auth()->user()->can('sell.update') && auth()->user()->can('edit_pos_payment'))
@endif
|
@endforeach
@else
@lang('sale.no_recent_transactions')
@endif