@extends('core::layouts.master') @section('title') {{ trans_choice('savings::general.savings',2) }} @endsection @section('styles') @stop @section('content')

{{ trans_choice('savings::general.savings',2) }}

{{number_format($data->total())}} {{ trans_choice('savings::general.savings',2) }} {{ trans_choice('core::general.found',1) }}

@foreach($data as $key)
{{number_format($key->interest_rate,2)}}
{{number_format($key->balance,2)}}
@if($key->status == 'pending') {{trans_choice('savings::general.pending_approval', 1)}} @endif @if($key->status == 'submitted') {{trans_choice('savings::general.pending_approval', 1)}} @endif @if($key->status == 'overpaid') {{trans_choice('savings::general.overpaid', 1)}} @endif @if($key->status == 'approved') {{trans_choice('savings::general.awaiting_disbursement', 1)}} @endif @if($key->status == 'active') {{trans_choice('savings::general.active', 1)}} @endif @if($key->status == 'rejected') {{trans_choice('savings::general.rejected', 1)}} @endif @if($key->status == 'withdrawn') {{trans_choice('savings::general.withdrawn', 1)}} @endif @if($key->status == 'dormant') {{trans_choice('savings::general.dormant', 1)}} @endif @if($key->status == 'closed') {{trans_choice('savings::general.closed', 1)}} @endif @if($key->status == 'inactive') {{trans_choice('savings::general.inactive', 1)}} @endif
{{$key->savings_product}}
@endforeach
{{$data->links()}}
{{ trans_choice('core::general.page',1) }} {{$data->currentPage()}} {{ trans_choice('core::general.of',1) }} {{$data->lastPage()}}
@endsection @section('scripts') @endsection