@lang('modules.bankaccount.bankTransaction') @lang('app.details')

@if($bankTransaction->bankAccount->type == 'bank') @endif @if($bankTransaction->bankAccount->type == 'bank') @endif @if ($bankTransaction->type == 'Cr') @else @endif

@lang('modules.bankaccount.relation')

@if(!is_null($bankTransaction->payment_id)) @lang('app.view') @lang('modules.bankaccount.related') @lang('app.payment')
@elseif ($type == 'payment') @lang('app.payment')
@endif @if (!is_null($bankTransaction->invoice_id)) @lang('app.view') @lang('modules.bankaccount.related') @lang('app.invoice')
@endif @if (!is_null($bankTransaction->expense_id)) @lang('app.view') @lang('modules.bankaccount.related') @lang('app.expense') @elseif ($type == 'expense') @lang('app.expense') @endif @if(is_null($bankTransaction->payment_id) && is_null($bankTransaction->invoice_id) && is_null($bankTransaction->expense_id) && $type == 'bank') -- @endif