@if ($getInfo != null)
{!! Form::open(array('url' => './mfn/branchOpeningSavingsInformationUpdate', 'role' => 'forl', 'id' => 'branchOpeningInfoForm', 'class' => 'form-horizontal form-groups', 'method'=>'get')) !!}
@php
$branchName = DB::table('gnr_branch')
->where('id', $getInfo->branchIdFk)
->pluck('name')
->toArray();
$primaryProductName = DB::table('mfn_loans_product')
->where('id', $getInfo->productIdFk)
->pluck('shortName')
->toArray();
$savingsPRoductName = DB::table('mfn_saving_product')
->where('id', $getInfo->savingProductIdFk)
->pluck('shortName')
->toArray();
if ($getInfo->genderTypeId == 1) {
$gender = ['male'];
}
else {
$gender = ['female'];
}
@endphp
@if ($userBranchId==1)
{!! createForm::select('branch', $branchName,null,'Branch:',['id'=>'branch','required'=>'required', 'disabled'=>'true']) !!}
@endif
{!! createForm::select('primaryProduct', $primaryProductList, $getInfo->productIdFk,'Loan Product:',['id'=>'primaryProduct','required'=>'required']) !!}
{!! createForm::select('savingsProduct', $savingsProductList, $getInfo->savingProductIdFk,'Savings Product:',['id'=>'savingsProduct','required'=>'required']) !!}
{!! createForm::select('gender', $genderList, $getInfo->genderTypeId,'Gender:',['required'=>'required']) !!}
{!! createForm::text('depositCollection',$getInfo->depositCollection,'Deposit Amount:',['id'=>'depositCollection','required'=>'required']) !!}
{!! createForm::text('thisMonthDepositCollection',$getInfo->thisMonthDepositCollection,'This Month Deposit Amount:',['id'=>'thisMonthDepositCollection','required'=>'required']) !!}
{!! createForm::text('interestAmount',$getInfo->interestAmount,'Interest Amount:',['id'=>'interestAmount','required'=>'required']) !!}
{!! createForm::text('thisMonthInterestAmount',$getInfo->thisMonthInterestAmount,'This Month Interest Amount:',['id'=>'thisMonthInterestAmount','required'=>'required']) !!}
{!! createForm::text('savingRefund',$getInfo->savingRefund,'Savings Refund:',['id'=>'savingRefund','required'=>'required']) !!}
{!! createForm::text('thisMontSavingRefund',$getInfo->thisMontSavingRefund,'This Month Savings Refund:',['id'=>'thisMontSavingRefund','required'=>'required']) !!}
{!! createForm::text('closingBalance',$getInfo->closingBalance,'Closing Balance:',['id'=>'closingBalance','readonly'=>'readonly']) !!}
{!! Form::close() !!}
@else
NO DATA FOUND !
@endif