@extends('layouts/microfin_layout') @section('title', '| Add Loan Write Off') @section('content') @php use \App\Http\Controllers\microfin\savings\MfnSavingsDepositTypeController as createForm; @endphp
New Loan Write Off
{!! Form::open(array('url' => '', 'role' => 'forl', 'id' => 'rootwizard', 'class' => 'form-horizontal form-groups', 'novalidate' => '')) !!}
{!! Form::hidden('loanId',$encryptLoanId,['id'=>'loanId']) !!} {!! Form::hidden('outstandingamountfield','',['id'=>'outstandingamountfield']) !!} {!! 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',$softwareDate,'Write Off Date:',['id'=>'writeOffDate','autocomplete'=>'off','readonly'=>'readonly','style'=>'cursor:pointer']) !!} {!! createForm::text('principalAmount','','Principal Amount:',['id'=>'principalAmount','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('interestAmount','','Interest Amount:',['id'=>'interestAmount','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('writeOffAmount','','Write Off Amount:',['id'=>'writeOffAmount','autocomplete'=>'off','readonly'=>'readonly']) !!} {!! createForm::text('rebateAmount',null,'Rebate Amount:',['id'=>'rebateamount','autocomplete'=>'off','readonly'=>'readonly']) !!} {{-- Modify for one time loan --}} {!! createForm::select('isDeath',['1'=>'Yes',''=>'No'],1,'Is Death?:',['id'=>'isDeath','autocomplete'=>'off']) !!}
{!! 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','Advance','Due']; @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() !!}
{{-- write off confirm modal --}} @endsection