{{ __('transaction Entries') }}

@foreach ($transactions as $transaction) @foreach ($entries as $entry ) @if ($entry->transaction_no == $transaction->transaction_id) @if ($count_transaction == 1) @endif @endif @endforeach @foreach ($entries as $entry ) @if ($entry->transaction_no == $transaction->transaction_id) @if ($count_transaction == 2 && $count_entry == $entry->id) @endif @endif @endforeach @endforeach
# Transaction No Date Description General Account Sub Account Debit Credit Encoded By Action
{{ $count++ }} JE-0000{{ $transaction->transaction_id }} {{ $transaction->entryDate }} {{ $transaction->description}} @foreach ($glAccounts as $glAccount) @foreach ($accounts as $account) @if ($entry->accountId == $account->id && $account->parentAccountId == $glAccount->id) {{$glAccount->name}} @endif @endforeach @endforeach @foreach ($accounts as $account) @if ($entry->accountId == $account->id) {{$account->name}} @endif @endforeach ${{$entry->debit}} ${{$entry->credit}} @foreach ($users as $user ) @if ($user->id == $transaction->userId) {{$user->username}} @endif @endforeach
@foreach ($glAccounts as $glAccount) @foreach ($accounts as $account) @if ($entry->accountId == $account->id && $account->parentAccountId == $glAccount->id) {{$glAccount->name}} @endif @endforeach @endforeach @foreach ($accounts as $account) @if ($entry->accountId == $account->id) {{$account->name}} @endif @endforeach ${{$entry->debit}} ${{$entry->credit}}