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

{{ trans_choice('loan::general.loan',1) }} {{ trans_choice('loan::general.application',2) }}

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

@foreach($data as $key)
{{$key->id}}
{{$key->loan_product}}
{{number_format($key->amount,2)}}
@if($key->status == 'pending') {{trans_choice('loan::general.pending_approval', 1)}} @endif @if($key->status == 'submitted') {{trans_choice('loan::general.pending_approval', 1)}} @endif @if($key->status == 'overpaid') {{trans_choice('loan::general.overpaid', 1)}} @endif @if($key->status == 'approved') {{trans_choice('loan::general.awaiting_disbursement', 1)}} @endif @if($key->status == 'active') {{trans_choice('loan::general.active', 1)}} @endif @if($key->status == 'rejected') {{trans_choice('loan::general.rejected', 1)}} @endif @if($key->status == 'withdrawn') {{trans_choice('loan::general.withdrawn', 1)}} @endif @if($key->status == 'written_off') {{trans_choice('loan::general.written_off', 1)}} @endif @if($key->status == 'closed') {{trans_choice('loan::general.closed', 1)}} @endif @if($key->status == 'pending_reschedule') {{trans_choice('loan::general.pending_reschedule', 1)}} @endif @if($key->status == 'rescheduled') {{trans_choice('loan::general.rescheduled', 1)}} @endif
{{$key->created_at}}
@endforeach
{{$data->links()}}
{{ trans_choice('core::general.page',1) }} {{$data->currentPage()}} {{ trans_choice('core::general.of',1) }} {{$data->lastPage()}}
@endsection @section('scripts') @endsection