@extends('core::layouts.master') @section('title') {{ trans_choice('loan::general.loan',1) }} {{ trans_choice('loan::general.application',1) }} #{{$loan_application->id}} @endsection @section('styles') @stop @section('content')

{{ trans_choice('loan::general.loan',1) }} {{ trans_choice('loan::general.application',1) }} #{{$loan_application->id}} {{ trans_choice('core::general.back',1) }}

{{ trans_choice('core::general.id',1) }} {{$loan_application->id}}
{{ trans_choice('core::general.branch',1) }} @if(!empty($loan_application->branch)) {{$loan_application->branch->name}} @endif
{{ trans_choice('client::general.client',1) }} @if(!empty($loan_application->client)) {{$loan_application->client->first_name}} {{$loan_application->client->last_name}} @endif
{{ trans_choice('loan::general.product',1) }} @if(!empty($loan_application->loan_product)) {{$loan_application->loan_product->name}} @endif
{{ trans_choice('loan::general.amount',1) }} {{number_format($loan_application->amount,2)}}
{{ trans_choice('loan::general.status',1) }} @if($loan_application->status=='pending') {{ trans_choice('loan::general.pending_approval',1) }} {{ trans_choice('loan::general.approve',1) }} {{ trans_choice('loan::general.reject',1) }} @endif @if($loan_application->status=='approved') {{ trans_choice('loan::general.approved',1) }} @endif @if($loan_application->status=='rejected') {{ trans_choice('loan::general.rejected',1) }} {{ trans_choice('loan::general.undo',1) }} {{ trans_choice('loan::general.reject',1) }} @endif
{{ trans_choice('core::general.date',1) }} {{$loan_application->created_at}}
@endsection @section('scripts') @endsection