@extends('layouts.main') @push('styles') @endpush @section('content')
| Transaction ID | {{ __('banking.transaction_date') }} | {{ __('banking.record_date') }} | {{ __('banking.staff_in_charge') }} | {{ __('banking.type') }} | {{ __('banking.account') }} | {{ __('banking.memo') }} | {{ __('banking.decrease') }} | {{ __('banking.increase') }} | {{ __('banking.balance') }} | {{-- @if(Auth::user()->can('banking-reverse')){{ __('banking.action') }} | @endif --}}||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $record->trans_id }} | {{ streamline_date($record->trans_date) }} | {{ streamline_date_time_short($record->created_at) }} | {{ get_full_name($record->created_by, 'id', 'first_name', 'last_name', 'users') }} | {{ $record->trans_type }} | @php $banks = explode(',',$record->bank); $other_accounts = explode(',',$record->other_accounts); @endphp
@for($x = 0; $x < count($other_accounts); $x++)
{{ get_name($other_accounts[$x], 'id', 'name', 'chart_of_accounts') }} @endfor |
{{ $record->memo }} | @if($record->debit != 0){{ ugandan_shillings($record->debit) }} | @else- | @endif @if($record->credit != 0){{ ugandan_shillings($record->credit) }} | @else- | @endif{{ ugandan_shillings($record->account_balance) }} | @if($loop->last) @php $sum_balance = $record->account_balance; @endphp @endif {{-- @if(Auth::user()->can('banking-reverse'))Reverse | @endif --}}
| {{ __('banking.current_running_balance') }} | {{ ugandan_shillings($sum_balance) }} | {{-- @if(Auth::user()->can('banking-reverse'))@endif --}} | ||||||||||