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

{{ trans_choice('loan::general.loan',1) }} {{ trans_choice('core::general.detail',2) }} {{ trans_choice('core::general.back',1) }}

{{$loan->loan_product->name}}(#{{$loan->id}})
@if($loan->status=='submitted' ||$loan->status=='pending') @endif @if($loan->status=='active') {{ trans_choice('loan::general.make',1) }} {{ trans_choice('loan::general.repayment',1) }} @endif
@if($loan->status=='submitted' ||$loan->status=='pending'||$loan->status=='withdrawn'||$loan->status=='approved'||$loan->status=='rejected') @if($loan->status=='submitted') {{ trans_choice('loan::general.pending_approval',1) }} @endif @if($loan->status=='approved') {{ trans_choice('loan::general.awaiting_disbursement',1) }} @endif @if($loan->status=='withdrawn') {{ trans_choice('loan::general.withdrawn',1) }} @endif @if($loan->status=='rejected') {{ trans_choice('loan::general.rejected',1) }} @endif @endif @if($loan->status=='active' ||$loan->status=='closed'||$loan->status=='written_off'||$loan->status=='overpaid'||$loan->status=='rescheduled')