Customer Wallet Transaction
| ID | @if ($request['sort_type'])Customer | @endifKode Trx. Wallet | Tipe Trx. | Nominal | Saldo Akhir | Status | Wkt. Approval | Wkt. Transaksi | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $v->id }} | @if ($request['sort_type'])
{{ $v->wallet->customer->name }}
{{ $v->wallet->customer->handphone }}
|
@endif
{{ $v->code }} | @if(array_key_exists($v->type, \App\Models\Wallet_transaction_model::TYPE)) {{ App\Models\Wallet_transaction_model::TYPE[$v->type] }} @endif @if($v->type==1) {{ @$v->metode_pembayaran->label }} @elseif($v->type==2 && $v->status == '1') {{ $v->customer_bank . ' / '.preg_replace('/^\d{6}/', 'xxxxxx', $v->customer_bank_nomor_rekening) }} @elseif(in_array($v->type, [3, 4, 5, 7])) @if(in_array($v->type, [3, 4])) {{ @$v->parent_trx->code }} @elseif(in_array($v->type, [5, 7])) {{ @$v->transaksi->code }} @endif @endif | @if ($request['sort_type']){{ number_format($v->nominal) }} | {{ number_format(is_numeric($v->saldo_akhir) ? $v->saldo_akhir : 0) }} | @else{{ number_format($v->nominal) }} | {{ number_format(is_numeric($v->saldo_akhir) ? $v->saldo_akhir : 0) }} | @endif{{ App\Models\Wallet_transaction_model::STATUS[$v->status] }} | @if(empty($v->date_approved)) - @else {{ date('d-m-Y H:i:s', strtotime($v->date_approved)) }} @endif | {{ date('d-m-Y H:i:s', strtotime($v->created_at)) }} |
| {{ $wallet_trx->appends(['sdate' => @$_GET['sdate'], 'edate' => @$_GET['edate'], 'sort_type' => @$_GET['sort_type'], 'find' => @$_GET['find']])->links() }} | ||||||||||