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

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

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.id',1) }} {{ trans_choice('savings::general.account_number',1) }} {{ trans_choice('core::general.branch',1) }} {{ trans_choice('savings::general.savings_officer',1) }} {{ trans_choice('client::general.client',1) }} {{ trans_choice('savings::general.interest_rate',1) }} {{ trans_choice('savings::general.balance',1) }} {{ trans_choice('savings::general.status',1) }} {{ trans_choice('savings::general.product',1) }} {{ trans_choice('core::general.action',1) }}
{{$key->id}} {{$key->account_number}} {{$key->branch}} {{$key->savings_officer}} {{$key->client}} {{number_format($key->interest_rate,2)}} {{number_format($key->balance_derived,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}}
@endsection @section('scripts') @endsection