{{ $voucher->code }} |
@if (Auth::user()->hasRole('SuperAdmin')
|| Auth::user()->hasRole('FullFinancial')
|| Auth::user()->hasRole('AffiliateManager')
|| Auth::user()->hasRole('OperatorPersonnel')
|| Auth::user()->hasRole('OperatorAdmin')
)
@if ($voucher->status == config('constants.VOUCHER_STATUS_USED'))
@if (isset($voucher->parent_id))
{{ $voucher->parent_code }}
@endif
@endif
@endif
@if(Auth::user()->hasRole('SuperAdmin') || Auth::user()->hasRole('FullFinancial') || Auth::user()->hasRole('OperatorPersonnel') || Auth::user()->hasRole('OperatorAdmin'))
@if($voucher->status == config('constants.VOUCHER_STATUS_CREATED'))
@if (isset($voucher->parent_id))
{{ $voucher->parent_code }}
@endif
@endif
@endif
|
{{ GetVoucherTypes()[$voucher->type]['method'] }}
|
{{ GetVoucherTypes()[$voucher->type]['type'] }} |
{!! GetMoneyStr3($voucher->amount, true, getenv('PLATFORM_CURRENCY_ID')) !!} |
@if($voucher->curid != getenv('PLATFORM_CURRENCY_ID'))
{!! GetMoneyStr3(abs($voucher->converted_amount), true, $voucher->curid) !!}
@endif
|
{{ $voucher->affiliate_name }} |
{{ $voucher->approved_by_username }} |
{{-- {{ $voucher->firstname . ' ' . $voucher->lastname }} | --}}
@if($voucher->user_id)
{{ $voucher->firstname . ' ' . $voucher->lastname }}
@else
{{ $voucher->firstname . ' ' . $voucher->lastname }}
@endif
|
{{ $voucher->createtime }} |
{{-- {{ $voucher->expiration }} | --}}
{{ GetVoucherStatuses()[$voucher->status] }} |
@if (Auth::user()->hasRole('SuperAdmin')
|| Auth::user()->hasRole('FullFinancial')
|| Auth::user()->hasRole('AffiliateManager')
|| Auth::user()->hasRole('OperatorPersonnel')
|| Auth::user()->hasRole('OperatorAdmin')
)
@if ($voucher->status == config('constants.VOUCHER_STATUS_USED') || $voucher->type == config('constants.VOUCHER_TYPE_DEPOSIT') )
@endif
@endif
@if(Auth::user()->hasRole('SuperAdmin') || Auth::user()->hasRole('FullFinancial') || Auth::user()->hasRole('OperatorPersonnel') || Auth::user()->hasRole('OperatorAdmin'))
@if($voucher->status == config('constants.VOUCHER_STATUS_CREATED') && $voucher->type != config('constants.VOUCHER_TYPE_DEPOSIT'))
@endif
@endif
|
@endforeach
@foreach($payments as $payment)
{{ $payment->thirdparty_trx_id }}
|
|
{{ __('direct payment') }}
|
{{ $payment->amount > 0 ? 'withdrawal' : 'deposit' }} |
{!! GetMoneyStr3(abs($payment->amount), true, getenv('PLATFORM_CURRENCY_ID')) !!} |
|
{{ $payment->affiliate_name }} |
{{ $payment->approved_by_username }} |
{{-- {{ $payment->firstname . ' ' . $payment->lastname }} | --}}
@if($payment->user_id)
{{ $payment->firstname . ' ' . $payment->lastname }}
@else
{{ $payment->firstname . ' ' . $payment->lastname }}
@endif
|
{{ $payment->ts }} |
{{-- | --}}
Processed |
|
@endforeach
@else