@extends('layouts/microfin_layout') @section('title', '| Add Loan Writeoff Collection') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; @endphp
New Loan Writeoff Collection
{!! Form::open(array('url' => '', 'role' => 'forl', 'id' => 'rootwizard', 'class' => 'form-horizontal form-groups', 'novalidate' => '')) !!}
{!! Form::hidden('loanId',$encryptLoanId,['id'=>'loanId']) !!} {!! Form::hidden('writeOffId',$encryptWriteOffId,['id'=>'writeOffId']) !!} {!! createForm::text('member',$member,'Member:',['id'=>'member','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('loanCode',$loan->loanCode,'Loan Id:',['id'=>'loanCode','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('writeOffDate',$writeOffDate,'Write Off Date:',['id'=>'writeOffDate','autocomplete'=>'off','readonly'=>'readonly','style'=>'cursor:pointer']) !!} {!! createForm::select('paymentType',['Cash'=>'Cash','Bank'=>'Bank'],null,'Payment Type:',['id'=>'paymentType','autocomplete'=>'off']) !!}
{!! Form::label('bank', 'Bank:', ['class' => 'col-sm-4 control-label']) !!}
{!! createForm::text('chequeNumber','','Cheque Number:',['id'=>'chequeNumber','autocomplete'=>'off']) !!}
{!! createForm::text('writeOffAmount',number_format($writeOffEligibleAmount,2),'Total Outstanding Amount:',['id'=>'writeOffAmount','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('writeOffCollectionAmount','','Write Off Collection Amount:',['id'=>'writeOffCollectionAmount','autocomplete'=>'off','amountLimit'=>$writeOffEligibleAmount, 'required'=>'required']) !!} {!! createForm::text('collectionDate',$collectionDate,'Write Off Collection Date:',['id'=>'collectionDate','autocomplete'=>'off','readonly'=>'readonly','style'=>'cursor:pointer']) !!}
{!! Form::label('notes', 'Notes:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::textarea('notes','',['class'=>'form-control','rows'=>4]) !!}
{{-- End First Column --}} {{-- Second Coloum --}}
@php $tableRows = ['Payable','Transaction','Outstanding','Installment','Wtiteoff Collection']; @endphp

Loan Information

@foreach ($tableRows as $tableRow) @endforeach
Loan Total Principal Interest
{{$tableRow}}
{{-- End Second Coloum --}}
    {!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!}
{!! Form::close() !!}
@endsection