@extends('layouts.app') @section('content')
No wallet found for this company.
@endif| Document Type | File | Last Updated | Action |
|---|---|---|---|
|
{{ $files->desc }}
{{ $files->code }}
|
{{ $files->filename }}
|
{{ $files->updated_at }}
|
View |
| No files found. | |||
| Rep ID | Rep Name | Rep Email | Status | Status Date | Action |
|---|---|---|---|---|---|
|
{{ $rep->rep_id }}
|
{{ $rep->rep_name }}
|
{{ $rep->rep_email }}
|
{{ $rep->status ? 'Active' : 'Inactive' }}
|
{{ $rep->status_datetime }}
|
@if ($rep->status != 1)
@else
Approved
@endif
|
| No company reps found. | |||||
| Trx Ref | Type | Amount (RM) | Weight (g) | Payment Method | Status | Date |
|---|---|---|---|---|---|---|
|
{{ $trx->trx_ref }}
|
{{ $trx->transaction_type ?: '-' }}
|
{{ number_format((float) $trx->trx_amount, 2) }}
|
{{ number_format((float) $trx->total_weight_gram, 4) }}
|
{{ $trx->payment_method ?: '-' }}
|
@php
$trxStatusKey = strtolower($trx->transaction_status ?? '');
$trxStatusVariant = in_array($trxStatusKey, [
'success',
'completed',
'approved',
])
? 'success'
: (in_array($trxStatusKey, [
'failed',
'rejected',
'cancelled',
])
? 'danger'
: (in_array($trxStatusKey, [
'pending',
'processing',
])
? 'warning'
: 'neutral'));
@endphp
{{ $trx->transaction_status ?? '-' }}
|
{{ $trx->created_at ? \Carbon\Carbon::parse($trx->created_at)->format('d M Y, h:i A') : '-' }}
|
| No transactions found for this company. | ||||||