Payer
@php
$paid_by_accounts = \App\Models\Transaction::select('paid_by_account')->distinct()->orderBy('paid_by_account', 'asc')->get();
if($paid_by_accounts->count()){
@endphp
@php
}
@endphp
@error('paid_by_account')
{{ $message }}
@enderror
@php
$paid_currencies = ['USD', 'AED', 'EUR', 'IRR'];
if(!empty($paid_currencies)){
@endphp
@php
}
@endphp
@error('paid_currency')
{{ $message }}
@enderror
@error('paid_amount')
{{ $message }}
@enderror
@error('paid_description')
{{ $message }}
@enderror
Receiver
@php
$received_by_accounts = \App\Models\Transaction::select('received_by_account')->distinct()->orderBy('received_by_account', 'asc')->get();
if($received_by_accounts->count()){
@endphp
@php
}
@endphp
@error('received_by_account')
{{ $message }}
@enderror
@php
$received_currencies = ['USD', 'AED', 'EUR', 'IRR'];
if(!empty($received_currencies)){
@endphp
@php
}
@endphp
@error('received_currency')
{{ $message }}
@enderror
@error('received_amount')
{{ $message }}
@enderror
@error('received_description')
{{ $message }}
@enderror