@extends('layouts/acc_layout') @section('title', '| FDR Register') @section('content')
FDR Interest
{!! Form::open(array('url' => 'storeFdrInterest','role' => 'form', 'class'=>'form-horizontal form-groups')) !!} {{--
--}}
{!! Form::label('interestId', 'Interest ID:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('interestId',$interestId, ['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', '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('interestAmount', 'Interest Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('interestAmount', null ,['class'=>'form-control', 'id' => 'interestAmount']) !!}

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

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

{!! Form::hidden('receivableIds',null,['id'=>'receivableIds']) !!}
{!! Form::label('receivableAmount', 'Receivable Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('receivableAmount', null ,['class'=>'form-control', 'id' => 'receivableAmount','amount'=>'0','readonly']) !!}
{!! Form::label('netInterestAmount', 'Net Interest Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('netInterestAmount', null ,['class'=>'form-control', 'id' => 'netInterestAmount','readonly']) !!}
{!! Form::label('date', 'Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('receiveDate', null ,['class'=>'form-control', 'id' => 'receiveDate','readonly','style'=>'cursor:pointer']) !!}

{{--
--}}
{!! Form::submit('Submit', ['id'=>'submitButton','class' => 'btn btn-info submitButton']) !!} Close
{!! Form::close() !!}
@endsection