SN |
Item |
Type |
Control# |
Mobile |
Channel |
Status |
Code |
Credit |
Debit |
Reference |
Receipt |
Response |
Request |
Company |
Updated |
Action |
@if(count($transactions) > 0)
@foreach($transactions as $index => $txn)
{{$index + $transactions->firstItem()}} |
{{$txn->full_name}} |
@if($txn->item_type == 1)
Ticket
@elseif($txn->item_type == 2)
Parcel
@endif
|
{{$txn->ref_code}} |
{{!empty($txn->msisdn) ? $txn->msisdn:'N/A'}} |
@if($txn->channel == "POS")
POS
@elseif($txn->channel == "WEB")
WEB
@else
{{ $txn->channel }}
@endif
|
@if($txn->txn_status == "NOT PAID YET")
NOT PAID YET
@elseif($txn->txn_status == "PAID CASH" || $txn->txn_status == "CASH")
PAID CASH
@elseif($txn->txn_status == "PAID ONLINE")
PAID ONLINE
@elseif($txn->txn_status == "Ticket Cancelled" || $txn->txn_status == "CANCELLED")
CANCELLED
@elseif($txn->txn_status == "INVOICE")
INVOICE
@else
PENDING
@endif
|
{{$txn->resp_code}} |
{{!empty($txn->amount_in) ? $txn->amount_in:'0'}} |
{{!empty($txn->amount_out) ? $txn->amount_out:'0'}} |
{{$txn->txn_token}} |
@if($txn->receipt != NULL)
{{$txn->receipt}}
@else
{{$txn->transactionID}}
@endif
|
{{!empty($txn->response) ? $txn->response:''}} |
{{!empty($txn->request) ? $txn->request:''}} |
{{!empty($txn->company) ? $txn->company:\App\Models\Company::where(['id' => $txn->company_id])->first()->name }} |
{{$txn->updated_at}} |
|
@endforeach
@else
|
No Transaction record(s) to display for Now !!! |
@endif
{{ $transactions->links() }}