@extends('core::layouts.master') @section('title') {{trans_choice('savings::general.account_statement',2)}} @endsection @section('content')
@error('client_id') {{ $message }} @enderror
@error('savings_id') {{ $message }} @enderror
@error('branch_id') {{ $message }} @enderror
{{trans_choice('general.reset',1)}}!
@if(!empty($start_date))
@foreach($data as $key) @endforeach
{{trans_choice('core::general.branch',1)}}: @if(!empty($data->first())) {{$data->first()->branch}} @endif {{trans_choice('client::general.client',1)}}: @if(!empty($data->first())) {{$data->first()->client}} @endif {{trans_choice('savings::general.savings',1)}}#: @if(!empty($data->first())) {{$data->first()->savings_account_number}} @endif {{trans_choice('core::general.start_date',1)}}: {{$start_date}} {{trans_choice('core::general.end_date',1)}}: {{$end_date}}
{{trans_choice('core::general.id',1)}} {{trans_choice('core::general.branch',1)}} {{trans_choice('core::general.type',1)}} {{trans_choice('accounting::general.debit',1)}} {{trans_choice('accounting::general.credit',1)}} {{trans_choice('savings::general.balance',1)}} {{trans_choice('core::general.date',1)}} {{trans_choice('core::general.receipt',1)}} {{trans_choice('core::general.payment',1)}} {{trans_choice('core::general.type',1)}}
{{ $key->id }} {{ $key->branch }} {{ $key->transaction_type }} {{ number_format($key->debit,2) }} {{ number_format( $key->credit,2) }} {{ number_format( $key->balance,2) }} {{ $key->submitted_on }} {{ $key->receipt }} {{ $key->payment_type }}
{{trans_choice('core::general.total',1)}} {{number_format($debit_total,2)}} {{number_format($credit_total,2)}}
@endif
@endsection @section('scripts') @endsection