@if(($showCategory ?? false) || ($showBudget ?? false)) @else @endif @if(get_app_configuration('use_running_balance', true)) @endif @if(($showCategory ?? false)) @endif @if($showBudget ?? false) @endif @foreach($groups as $group) @if($group['count'] > 1) @if(($showCategory ?? false) || $showBudget ?? false) @else @endif @endif @foreach($group['transactions'] as $index => $transaction) @php $className = ''; @endphp @if(count($group['transactions']) === $loop->index && $group['count'] > 1) @php $className = 'bottom-light-border'; @endphp @endif @if(get_app_configuration('use_running_balance', true)) @endif @if($showCategory ?? false) @endif @if($showBudget ?? false) @endif @if(1 === $group['count']) @endif @if(1 !== $group['count']) @endif @endforeach @endforeach @if(($showCategory ?? false) || ($showBudget ?? false)) @else @endif
@if(method_exists($groups, 'links')) {{ $groups->links('pagination.bootstrap-4') }} @endif @if(method_exists($groups, 'links')) {{ $groups->links('pagination.bootstrap-4') }} @endif
  {{ trans('list.description') }} {{ trans('list.amount') }}{{ trans('list.running_balance') }}{{ trans('list.date') }} {{ trans('list.source_account') }} {{ trans('list.destination_account') }}{{ trans('list.category') }}{{ trans('list.budget') }}   
{{ $group['title'] }} {{-- Total amount of all journals in the group. --}} @foreach($group['sums'] as $sum) @if('Deposit' === $group['transaction_type']) {!! format_amount_by_symbol($sum['amount']*-1, $sum['currency_symbol'], $sum['currency_decimal_places']) !!} @if($convertToPrimary && 0 !== $sum['pc_amount']) (~ {!! format_amount_by_symbol($sum['pc_amount']*-1, $primaryCurrency->symbol, $primaryCurrency->decimal_places) !!}) @endif @if($loop->index !== count($group['sums'])-1),@endif @elseif('Transfer' === $group['transaction_type']) {!! format_amount_by_symbol($sum['amount']*-1, $sum['currency_symbol'], $sum['currency_decimal_places'], false) !!} @if($convertToPrimary && 0 !== $sum['pc_amount']) (~ {!! format_amount_by_symbol($sum['pc_amount']*-1, $primaryCurrency->symbol, $primaryCurrency->decimal_places) !!}) @endif @if($loop->index !== count($group['sums'])-1),@endif @else {!! format_amount_by_symbol($sum['amount'], $sum['currency_symbol'], $sum['currency_decimal_places']) !!} @if($convertToPrimary && 0 !== $sum['pc_amount']) (~ {!! format_amount_by_symbol($sum['pc_amount'], $primaryCurrency->symbol, $primaryCurrency->decimal_places) !!}) @endif @if($loop->index !== count($group['sums'])-1),@endif @endif @endforeach   b
 
@if($transaction['reconciled']) @endif @if(count($transaction['attachments']) > 0) @endif @if(1 === $group['count']) @endif {{ $transaction['description'] }} @if(1 === $group['count']) @endif {{ $transaction['date']->isoFormat($monthAndDayFormat) }} @if('Cash account' === $transaction['source_account_type']) ({{ __('firefly.cash') }}) @else {{ $transaction['source_account_name'] }} @endif @if('Cash account' == $transaction['destination_account_type']) ({{ __('firefly.cash') }}) @else {{ $transaction['destination_account_name'] }} @endif @if(null !== $transaction['category_id']) {{ $transaction['category_name'] }} @endif @if(null !== $transaction['budget_id']) {{ $transaction['budget_name'] }} @endif   @if($transaction['transaction_type_type'] !== 'Reconciliation' and $transaction['transaction_type_type'] !== 'Opening balance' and $transaction['transaction_type_type'] !== 'Liability credit')
@endif
   
@if(method_exists($groups, 'links')) {{ $groups->links('pagination.bootstrap-4') }} @endif @if(method_exists($groups, 'links')) {{ $groups->links('pagination.bootstrap-4') }} @endif