|
#{{ $transcation->transcation_id }} |
@if ($transcation->transcation_type == 1)
{{ 'Equipment Booking' }}
@elseif ($transcation->transcation_type == 2)
{{ 'Withdraw' }}
@elseif ($transcation->transcation_type == 3)
{{ 'Balance Added' }}
@elseif ($transcation->transcation_type == 4)
{{ 'Balance Subtracted' }}
@endif
|
@if ($transcation->transcation_type == 2)
@php
$method = $transcation->method()->first();
@endphp
@if ($method)
{{ $method->name }}
@else
{{ '-' }}
@endif
@else
{{ $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 == 2 || $transcation->transcation_type == 4)
{{ '(-)' }}
@else
{{ '(+)' }}
@endif
{{ $transcation->currency_symbol_position == 'left' ? $transcation->currency_symbol : '' }}
{{ $transcation->grand_total }}
{{ $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->transcation_type == 2)
@if ($transcation->payment_status == 0)
Pending
@elseif ($transcation->payment_status == 1)
Approved
@elseif ($transcation->payment_status == 2)
Rejected
@endif
@else
@if ($transcation->payment_status == 1)
Paid
@else
Unpaid
@endif
@endif
|
@if ($transcation->transcation_type == 1)
@php
$booking = $transcation->booking()->first();
@endphp
@if ($booking)
@endif
@endif
|
@endforeach