@extends('layouts.list-layout') @section('list-title')
{{ __('Transactions') }}
@endsection @section('list-form-content')
{{ __('Total Cash in (Debit)') }}
@if (count($debit) > 0 ) @foreach ($debit as $data) {{ formatCurrencyAmount($data->total, $currencies[$data->currency_id]) }}
@endforeach @else {{ formatCurrencyAmount(0) }} @endif
{{ __('Total Cash out (Credit)') }}
@if (count($credit) > 0 ) @foreach ($credit as $data) {{ formatCurrencyAmount(abs($data->total), $currencies[$data->currency_id]) }}
@endforeach @else {{ formatCurrencyAmount(0) }} @endif
@endsection @section('list-js') @endsection