@extends('template.desktop.app') @section('content')
# | No TRX | Nominal | Status | Tanggal |
---|---|---|---|---|
{{ $loop->iteration }} | {{ $trx->trx_no }} | Rp {{ number_format($trx->amount, 0, ',', '.') }} | {{ ucfirst($trx->status) }} | {{ \Carbon\Carbon::parse($trx->transaction_date)->format('d M Y') }} |
Tidak ada transaksi. |
# | No TRX | Nomor Resi | Nominal | Status Order | Tanggal |
---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $orderTrx->trx_no }} | {{ $orderTrx->orderEverpro->awb_number }} | Rp {{ number_format($orderTrx->amount, 0, ',', '.') }} | @php $statusMap = [ 'COMPLETED' => ['label' => 'Selesai', 'color' => 'success'], 'RETURN' => ['label' => 'Dikembalikan', 'color' => 'danger'], ]; $status = $orderTrx->orderEverpro->status; $badge = $statusMap[$status] ?? [ 'label' => ucfirst($status), 'color' => 'secondary', ]; @endphp{{ $badge['label'] }} | {{ \Carbon\Carbon::parse($orderTrx->transaction_date)->format('d M Y H:i') }} |
Tidak ada transaksi. |