@extends('layouts/acc_layout') @section('title', '| FDR Register') @section('content')
FDR Receivable
{!! Form::open(array('url' => 'storeFdrReceivable','role' => 'form', 'class'=>'form-horizontal form-groups')) !!} {{--
--}}
{!! Form::label('receivableId', 'Receivable ID:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('interestId',$receivableId, ['class'=>'form-control','readonly']) !!}
{!! Form::label('fdrType', 'FDR Type:', ['class' => 'col-sm-4 control-label']) !!}
@php $fdrTypeList = array(''=>'Select FDR Type') + DB::table('acc_fdr_type')->pluck('name','id')->toArray(); @endphp {!! Form::select('fdrType',$fdrTypeList ,null, ['class'=>'form-control', 'id' => 'fdrType']) !!}
{!! Form::label('bank', 'Bank Name:', ['class' => 'col-sm-4 control-label']) !!}
@php $bankList = array(''=>'Select Bank') + DB::table('gnr_bank')->pluck('name','id')->toArray(); @endphp {!! Form::select('bank',$bankList ,null, ['class'=>'form-control custom-select2', 'id' => 'bank']) !!}

{!! Form::label('bankBranch', 'Bank Branch Location:', ['class' => 'col-sm-4 control-label']) !!}
@php $bankBranchList = DB::table('gnr_bank_branch')->select('name','id','bankId_fk')->get(); @endphp

{!! Form::label('accId', 'Account No:', ['class' => 'col-sm-4 control-label']) !!}
@php $accId = array(''=>'Select Account') + DB::table('acc_fdr_account')->where('status',1)->pluck('accNo','id')->toArray(); @endphp {!! Form::select('accId', $accId,null ,['class'=>'form-control', 'id' => 'accId']) !!}

{!! Form::label('principalAmount', 'Principal Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('principalAmount', null ,['class'=>'form-control', 'id' => 'principalAmount','readonly']) !!}
{!! Form::label('totalAmount', 'Total Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('totalAmount', null ,['class'=>'form-control', 'id' => 'totalAmount','readonly']) !!}
{!! Form::label('interestRate', 'Interest Rate:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('interestRate', null ,['class'=>'form-control', 'id' => 'interestRate']) !!}

{!! Form::label('receivableAmount', 'Receivable Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('receivableAmount', null ,['class'=>'form-control', 'id' => 'receivableAmount']) !!}

{!! Form::label('dateFrom', 'Date From:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('dateFrom', null ,['class'=>'form-control', 'id' => 'dateFrom','readonly','style'=>'cursor:pointer']) !!}

{!! Form::label('receivableDate', 'Receivable Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('receivableDate', null ,['class'=>'form-control', 'id' => 'receivableDate','readonly','style'=>'cursor:pointer']) !!}

{!! Form::label('days', 'Days:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('days', null ,['class'=>'form-control', 'id' => 'days','readonly']) !!}
{{--
--}}
{!! Form::submit('Submit', ['id'=>'submitButton','class' => 'btn btn-info submitButton']) !!} Close
{!! Form::close() !!}
@endsection