@extends('layouts/microfin_layout') @section('title', '| Account Closing Form') @section('content') @include('microfin.savings.stack') @stack('formStyleScript')
OTS Account Closing Form
{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups', 'id' => 'rootwizard']) !!} {!! Form::hidden('applicationId', $application->id) !!}
{!! Form::label('member', 'Member:', ['class' => 'col-sm-4 control-label required']) !!}
{!! Form::text('member', $application->memberName, [ 'class' => 'form-control', 'type' => 'text', $application->id > 0 ? 'disabled' : null ]) !!}
{!! Form::label('accountId', 'Savings Code:', ['class' => 'col-sm-4 control-label required']) !!}
{!! Form::text('accountId', $application->savingsCode, [ 'class' => 'form-control', 'type' => 'text', 'disabled' => 'disabled' ]) !!}
{!! Form::label('totalSavingInterestAmount', 'Total Savings Interest:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('totalSavingInterestAmount', number_format($accountBalance['totalInterestAmount'], 2), [ 'class' => 'form-control', 'readonly' => 'readonly' ]) !!}
{!! Form::label('totalRefundAmount', 'Total Refund Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text( 'totalRefundAmount', number_format( $accountBalance['totalInterestAmount'] + $accountBalance['balance'] + $accountBalance['balanceInterest'], 2 ), [ 'class' => 'form-control', 'readonly' => 'readonly' ] ) !!}
{!! Form::label('applicationDate', 'Application Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('applicationDate', $application->applicationDate, [ 'class' => 'form-control', 'readonly' => 'readonly' ]) !!}
{!! Form::label('closingDate', 'Closing Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('closingDate', $softwareDate, [ 'class' => 'form-control', 'readonly' => 'readonly' ]) !!}
{!! Form::label('paymentMode', 'Payment Mode(ORG):', ['class' => 'col-sm-4 control-label required']) !!}
{!! Form::select('paymentMode', ['Cash' => 'Cash', 'Bank' => 'Bank'], $application->paymentMode, [ 'class' => 'form-control', // 'disabled' => 'disabled' ]) !!}
{!! Form::label('bankAccountId', 'Member Bank Account:', ['class' => 'col-sm-4 control-label required']) !!}
{!! Form::text('bankAccountId', $application->accountNumber, [ 'class' => 'form-control', 'readonly' => 'readonly' ]) !!}
{!! Form::label('bank', 'Bank/Account Head:', [ 'class' => 'col-sm-4 control-label' ]) !!}
{!! Form::label('chequeNumber', 'Cheque Number:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('chequeNumber', null, [ 'class' => 'form-control', ]) !!}
{!! Form::label('savingsCertificate', 'Upload Certificate:', ['class' => 'col-sm-4 control-label required']) !!}
@if ($application->savingsCertificate) Show Uploaded Document @else N/A @endif
{!! Html::decode( Form::label('othersDoc', "Upload Other's Document(Optional):", [ 'class' => 'col-sm-4 control-label' ]) ) !!}
@if ($application->othersDoc) Show Uploaded Document @else N/A @endif
@stack('savingsAccountBalance')
@include('gnr.tools.approvalConfig.approvalLogs')
    @if ($application->authStatus == 'approved') {!! Form::submit('Click here to Close', ['id' => 'submit', 'class' => 'btn btn-info']) !!} @endif
{!! Form::close() !!}
@stack('memberSearch') @stack('formJavaScript') @endsection