@push('memberInformation')
{!! Form::label('spouseName', 'Spouse Name:', ['class' => 'control-label']) !!} {!! Form::text('spouseName', @$member->spouseName, [ 'class' => 'form-control', 'id' => 'spouseName', 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('mobileNo', 'Mobile Number:', ['class' => 'control-label']) !!} {!! Form::text('mobileNo', @$member->mobileNo, [ 'class' => 'form-control', 'id' => 'mobileNo', 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('samityName', 'Samity Name:', ['class' => 'control-label']) !!} {!! Form::text('samityName', @$member->samityName, [ 'class' => 'form-control', 'id' => 'samityName', 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('branchName', 'Branch Name:', ['class' => 'control-label']) !!} {!! Form::text('branchName', @$member->branchName, [ 'class' => 'form-control', 'id' => 'branchName', 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('areaName', 'Area Name:', ['class' => 'control-label']) !!} {!! Form::text('areaName', @$area->areaName, [ 'class' => 'form-control', 'id' => 'areaName', 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('zoneName', 'Zone Name:', ['class' => 'control-label']) !!} {!! Form::text('zoneName', @$zone->zoneName, [ 'class' => 'form-control', 'id' => 'zoneName', 'type' => 'text', 'disabled' => true, ]) !!}
@endpush @push('savingsInformation')

Savings Information
@if (isset($member)) @foreach ($savingsTypes as $type => $savingsType)
{!! Form::label($type, $savingsType . ':', ['class' => 'control-label']) !!} {!! Form::text('savingsType[]', $savingsBalance[$type], [ 'class' => 'form-control', 'id' => $type, 'type' => 'text', 'disabled' => true, ]) !!}
@endforeach @else

No Data Found!
@endif
@endpush @push('prevLoanInformation')

Previous Loan Information
@if (isset($member)) @foreach ($prevLoans as $prevLoan)
last()->id != $prevLoan->id) style="border-bottom: 1px solid #cfcfcf; border-bottom-style:dashed; padding-bottom:14px" @endif>
{!! Form::label('totalRepayAmount_' . $prevLoan->id, 'Loan Amount:', ['class' => 'control-label']) !!} {!! Form::text('loans[]', $prevLoan->loanAmount, [ 'class' => 'form-control', 'id' => 'totalRepayAmount_' . $prevLoan->id, 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('disbursementDate_' . $prevLoan->id, 'Disbursement Date:', ['class' => 'control-label']) !!} {!! Form::text('disbursementDate[]', date('d-m-Y', strtotime($prevLoan->disbursementDate)), [ 'class' => 'form-control', 'id' => 'disbursementDate_' . $prevLoan->id, 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('lastInstallmentDate_' . $prevLoan->id, 'Last Repay Date:', ['class' => 'control-label']) !!} {!! Form::text('lastInstallmentDate[]', date('d-m-Y', strtotime($prevLoan->lastInstallmentDate)), [ 'class' => 'form-control', 'id' => 'lastInstallmentDate_' . $prevLoan->id, 'type' => 'text', 'disabled' => true, ]) !!}
{!! Form::label('outstanding_' . $prevLoan->id, 'Outstanding(Balance):', ['class' => 'control-label']) !!} {!! Form::text('outstanding[]', isset($loanOutstanding[$prevLoan->id]) ? $loanOutstanding[$prevLoan->id] : 0, [ 'class' => 'form-control', 'id' => 'outstanding_' . $prevLoan->id, 'type' => 'text', 'disabled' => true, ]) !!}

@endforeach @else

No Data Found!
@endif
@endpush @push('newLoanInformation') @if (isset($loanProductTypes) && isset($eligibleProduct))

New Loan Requirement
{!! Form::label('loanTypeId', 'Loan Type:', ['class' => 'col-md-2 control-label required']) !!}
@foreach ($loanProductTypes as $loanProductType) @endforeach
{!! Form::label('productIdFk', 'Loan Product:', ['class' => 'control-label']) !!} {!! Form::select( 'productIdFk', ['' => 'Select Product'] + $eligibleProduct, $loanApplication->productIdFk > 0 ? $loanApplication->productIdFk : $member->primaryProductId, [ 'class' => 'form-control', 'id' => 'productIdFk', 'id' => 'productIdFk', 'disabled' => true, ]) !!}
{!! Form::label('loanAmount', 'Loan Amount:', ['class' => 'control-label required']) !!} min: {{ $minLoanAmount }}/-, max: {{ $maxLoanAmount }}/- {!! Form::number('loanAmount', $loanApplication->loanAmount, [ 'class' => 'form-control', 'id' => 'loanAmount', 'autocomplete' => 'off', 'disabled' => true, ]) !!} Proposed: {{ number_format($loanApplication->proposalLoanAmount, 2) }}/-
{!! Form::label('loanPeriod', 'Loan Period:', ['class' => 'control-label required']) !!} {!! Form::select('loanPeriod', ['' => 'Select Period'] + $periods, $loanApplication->loanPeriod, [ 'class' => 'form-control', 'id' => 'loanPeriod', 'disabled' => true, ]) !!} @if (!$loanApplication->productIdFk) Propost: {{ $loanApplication->period }} @endif
{!! Form::label('purposeId', 'Loan Perpose:', ['class' => 'control-label required']) !!} {!! Form::select('purposeId', ['' => 'Select Perpose'] + $getEconomicPurposes, $loanApplication->purposeId, [ 'class' => 'form-control', 'id' => 'purposeId', 'disabled' => true, ]) !!}
@endif @endpush @push('formStyleScript') @endpush