@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) }}

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.id',1) }} {{ trans_choice('core::general.branch',1) }} {{ trans_choice('client::general.client',1) }} {{ trans_choice('loan::general.product',1) }} {{ trans_choice('core::general.amount',1) }} {{ trans_choice('loan::general.status',1) }} {{ trans('core::general.date') }} {{ trans_choice('core::general.action',1) }}
{{$key->id}} {{$key->branch}} {{$key->client}} {{$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}}
@endsection @section('scripts') @endsection