@extends('core::layouts.master') @section('title') {{trans_choice('savings::general.savings',2)}} {{trans_choice('savings::general.account',2)}} @endsection @section('content')
{{trans_choice('general.reset',1)}}!
@if(!empty($start_date))
@foreach($data as $key) @endforeach
@if(!empty($data->first()) && !empty($branch_id)) {{trans_choice('core::general.branch',1)}}: {{$data->first()->branch}} @endif @if(!empty($data->first()) && !empty($savings_product_id)) {{trans_choice('savings::general.product',1)}}: {{$data->first()->savings_product}} @endif @if(!empty($data->first()) && !empty($savings_officer_id)) {{trans_choice('savings::general.officer',1)}}: {{$data->first()->savings_officer}} @endif {{trans_choice('core::general.start_date',1)}}: {{$start_date}} {{trans_choice('core::general.end_date',1)}}: {{$end_date}}
{{trans_choice('client::general.client',1)}} {{trans_choice('savings::general.savings',1)}}# {{trans_choice('core::general.branch',1)}} {{trans_choice('savings::general.savings',1)}} {{trans_choice('savings::general.officer',1)}} {{trans_choice('savings::general.product',1)}} {{trans_choice('savings::general.deposit',2)}} {{trans_choice('savings::general.withdrawal',2)}} {{trans_choice('savings::general.balance',1)}} {{trans_choice('core::general.date',1)}}
{{$key->client}} {{ $key->id }} {{ $key->branch }} {{ $key->savings_officer }} {{ $key->savings_product }} {{ number_format( $key->credit,2) }} {{ number_format($key->debit,2) }} {{ number_format( $key->balance,2) }} {{ $key->submitted_on_date }}
{{trans_choice('core::general.total',1)}} {{number_format($credit_total,2)}} {{number_format($debit_total,2)}}
@endif
@endsection @section('scripts') @endsection