#{{ $transcation->transcation_id }} |
@if ($transcation->transcation_type == 1)
{{ 'Event Booking' }}
@elseif ($transcation->transcation_type == 2)
{{ 'Product Order' }}
@elseif ($transcation->transcation_type == 3)
{{ 'Withdraw' }}
@elseif ($transcation->transcation_type == 4)
{{ 'Balance Add' }}
@elseif ($transcation->transcation_type == 5)
{{ 'Balance Subtract' }}
@endif
|
@if ($transcation->transcation_type == 3)
@php
$method = $transcation->method()->first();
@endphp
@if ($method)
{{ $method->name }}
@else
{{ '-' }}
@endif
@else
{{ $transcation->payment_method != null ? $transcation->payment_method : '-' }}
@endif
|
{{ $transcation->currency_symbol_position == 'left' ? $transcation->currency_symbol : '' }}
{{ $transcation->pre_balance }}
{{ $transcation->currency_symbol_position == 'right' ? $transcation->currency_symbol : '' }}
|
@if ($transcation->transcation_type == 3 || $transcation->transcation_type == 5)
{{ '(-) ' }}
@else
{{ '(+) ' }}
@endif
{{ $transcation->currency_symbol_position == 'left' ? $transcation->currency_symbol : '' }}
{{ $transcation->grand_total - $transcation->commission }}
{{ $transcation->currency_symbol_position == 'right' ? $transcation->currency_symbol : '' }}
|
{{ $transcation->currency_symbol_position == 'left' ? $transcation->currency_symbol : '' }}
{{ $transcation->after_balance }}
{{ $transcation->currency_symbol_position == 'right' ? $transcation->currency_symbol : '' }}
|
@if ($transcation->payment_status == 1)
{{ __('Paid') }}
@elseif ($transcation->payment_status == 2)
{{ __('Decline') }}
@else
{{ __('Unpaid') }}
@endif
|
@if ($transcation->transcation_type == 1)
@php
$t_invoice = $transcation->event_booking()->first();
@endphp
@if ($t_invoice)
@endif
@elseif ($transcation->transcation_type == 2)
@php
$t_invoice = $transcation->product_order()->first();
@endphp
@if ($t_invoice)
@endif
@endif
|
@endforeach