@extends('member-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
@if (isset($status))
@foreach ($status['messages'] as $m)
@endforeach
@endif

@if($loan->loan_status!='Pending') @endif
Employee : {{ (!is_null($loan->user_id)) ? ucwords($loan->user->name) : '-' }}
Loan Type : {{ (!is_null($loan->loan_type_id)) ? ucwords($loan->loanType->name) : '-' }}
Loan Status : {{ (!is_null($loan->loan_status)) ? ucwords($loan->loan_status) : '-' }}
Loan Reason : {{ (!is_null($loan->loan_reason)) ? ucwords($loan->loan_reason) : '-' }}
Loan Apply Date & Time : {{ (!is_null($loan->created_at)) ? ucwords($loan->created_at) : '-' }}
Approved By : {{ (!is_null($loan->action_by)) ? ucwords($loan->action_by) : '-' }}
Approved Date&Time : {{ (!is_null($loan->action_datetime)) ? ucwords($loan->action_datetime) : '-' }}
{{$loan->loan_status}} Reason : {{ (!is_null($loan->reason)) ? $loan->reason : '-' }}
Loan Amount : {{ (!is_null($loan->loan_amount)) ? ucwords($loan->loan_amount) : '-' }}
No Of EMI: {{ (!is_null($loan->no_of_emi)) ? $loan->no_of_emi : '-' }}
EMI Start Month : {{ date('M', strtotime('0000-'.$loan->emi_start_month.'-9')) }}
EMI Start Year : {{ (!is_null($loan->emi_start_year)) ? $loan->emi_start_year : '-' }}
@if($loan->loan_status=='Pending')
{{ csrf_field() }}
{!! $errors->first('reason', '')!!}
@endif
@foreach($loanLogs as $logs) @endforeach
@endsection @push('footer-script') @endpush