@extends('layouts/acc_layout') @section('title', '| FDR Register') @section('content')
FDR Encashment
{{-- {!! Form::open(array('url' => 'storeOtsPayment','id'=>'entryForm', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!} --}}
{!! Form::label('project', 'project:', ['class' => 'col-sm-4 control-label']) !!}
@php $projects = DB::table('gnr_project')->select('id','name','projectCode')->get(); @endphp
{!! Form::label('projectType', 'Project Type:', ['class' => 'col-sm-4 control-label']) !!}
@php $projectTypes = DB::table('gnr_project_type')->select('id','name','projectTypeCode')->get(); @endphp
{!! Form::label('branch', 'Branch:', ['class' => 'col-sm-4 control-label']) !!}
@php $branches = DB::table('gnr_branch')->select('id','name','branchCode')->get(); @endphp
{{-- 2nd col-6 --}}
{!! 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:', ['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
{{-- End 2nd col-6 --}} {{--
--}}
{{--End Col 12 --}}

{!! Form::label('accId','Account No:',['class'=>'control-label col-sm-2','style'=>'padding-top:5px;']) !!}
@php $accounts = array(''=>'Select Account') + DB::table('acc_fdr_account')->where('status',1)->pluck('accNo','id')->toArray(); @endphp {!! Form::select('accId',$accounts,null,['id'=>'accId','class'=>'form-control']) !!}
{!! Form::button('Select', ['id'=>'selectButton','class' => 'btn btn-info pull-left','type'=>'button']) !!}
{!! Form::label('closingDate', 'Closing Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('closingDate', null ,['class'=>'form-control', 'id' => 'closingDate','readonly','style'=>'cursor:pointer']) !!}


Date Account No Account Name Bank Name Bank Branch Location Principal Amount (Tk) Net Interest Amount (Tk) Total Amount (Tk)

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