Order# ET{{ $order->id }}
Sender Details
@if (isset($order->user))
Name: {{ $order->user->name }}
Phone: {{ $order->user->phone }}
Email: {{ $order->user->email }}
Country: {{ $order->user->country->name }}
Address: {{ $order->user->address }}
@endif Paid Via: {{ App\Models\BankAccount::where('id', $order->payment_bank_id)->value('bank_name') }}, {{ number_format($order->total) }} {{ $order->currency }}
@if (isset($order->user_wallet)) Paid Via: User Wallet, {{ $order->user_wallet }}
@endif Trx ID: {{ $order->trx_id }}
Phone: {{ $order->user->phone }}
Email: {{ $order->user->email }}
Country: {{ $order->user->country->name }}
Address: {{ $order->user->address }}
@endif Paid Via: {{ App\Models\BankAccount::where('id', $order->payment_bank_id)->value('bank_name') }}, {{ number_format($order->total) }} {{ $order->currency }}
@if (isset($order->user_wallet)) Paid Via: User Wallet, {{ $order->user_wallet }}
@endif Trx ID: {{ $order->trx_id }}
Detail
@php
$institution = App\Models\EducationInstitution::where('id', $order->institution_id)->first();
$country = App\Models\Country::where('id', $order->country_id)->first();
@endphp
Institution: {{ $institution->name }}
Country: {{ $country->name }}
Currency: {{ $order->receiver_currency }}
Amount: {{ number_format($order->fee_amount) }}, Tax: {{ $order->receiver_tax }}
Total: {{ number_format($order->fee_amount + $order->receiver_tax) }} {{ $order->receiver_currency }}
Due Date: {{ $order->due_date }}
Reference#: {{ $order->reference }}
Account#: {{ $order->account_number }} , Receiver: {{ $order->receiver_name }}
Country: {{ $country->name }}
Currency: {{ $order->receiver_currency }}
Amount: {{ number_format($order->fee_amount) }}, Tax: {{ $order->receiver_tax }}
Total: {{ number_format($order->fee_amount + $order->receiver_tax) }} {{ $order->receiver_currency }}
Due Date: {{ $order->due_date }}
Reference#: {{ $order->reference }}
Account#: {{ $order->account_number }} , Receiver: {{ $order->receiver_name }}