@extends('layouts/acc_layout') @section('title', '| OTS Register') @section('content')
OTS Account Closing
{{-- {!! Form::open(array('url' => 'storeOtsPayment','id'=>'entryForm', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!} --}}
{!! Form::label('paymentId', 'Payment ID:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('paymentId', $paymentId, ['class' => 'form-control', 'id' => 'paymentId','style'=>'text-align:left;', 'type' => 'text','autocomplete'=>'off','readonly']) !!}
{!! Form::label('branchLocation', 'Branch:', ['class' => 'col-sm-4 control-label']) !!}
@php $branches = DB::table('gnr_branch')->select('id','name','branchCode')->get(); @endphp
{!! Form::label('accNature', 'Account Nature:', ['class' => 'col-sm-4 control-label']) !!}
@php $accNature = array(''=>'Select Account Nature') + DB::table('acc_ots_period')->pluck('name','id')->toArray(); @endphp {!! Form::select('accNature', $accNature,null ,['class'=>'form-control', 'id' => 'accNature']) !!}
{!! Form::label('accId', 'Account No:', ['class' => 'col-sm-4 control-label']) !!}
@php $accId = array(''=>'Select Account') + DB::table('acc_ots_account')->where('status',1)->pluck('accNo','id')->toArray(); @endphp {!! Form::select('accId', $accId,null ,['class'=>'form-control', 'id' => 'accId']) !!}
{!! Form::label('closingDate', 'Closing Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('closingDate', $value = null, ['class' => 'form-control', 'id' => 'closingDate', 'type' => 'text','placeholder' => 'Enter Closing Date','autocomplete'=>'off','readonly','style'=>'cursor:pointer']) !!}
{{-- 2nd col-6 --}}
{!! Form::label('paymentMode', 'Payment Mode:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::radio('paymentMode', '1', true,['id'=>'cashChecKbox']) !!} {!! Form::label('cash', 'Cash', ['class' => 'control-label']) !!}     {!! Form::radio('paymentMode', '2', false,['id'=>'bankChecKbox']) !!} {!! Form::label('bank', 'Bank', ['class' => 'control-label']) !!}
{{--
{!! Form::label('bankName', 'Bank Name:', ['class' => 'col-sm-4 control-label']) !!}
@php $branches = DB::table('gnr_branch')->select('id','name','branchCode')->get(); @endphp
--}}
{!! Form::label('bankAccNumber', 'Account Number:', ['class' => 'col-sm-4 control-label']) !!}
@php $bankAccNumber = array(''=>'Select Account Number') + DB::table('acc_account_ledger')->where('accountTypeId',5)->where('id','!=',350)->pluck('name','id')->toArray(); @endphp {!! Form::select('bankAccNumber', $bankAccNumber,null ,['class'=>'form-control', 'id' => 'bankAccNumber','disabled']) !!}

{!! Form::label('chequeNumber', 'Cheque Number:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('chequeNumber', $value = null, ['class' => 'form-control', 'id' => 'chequeNumber', 'type' => 'text','placeholder' => 'Enter Cheque Number','autocomplete'=>'off','readonly']) !!}

{{-- End 2nd col-6 --}}
{!! Form::button('Select', ['id'=>'selectButton','class' => 'btn btn-info submitButton','type'=>'button']) !!}
{{--
--}}

Opening Date Account Name Account No Certificate Number Amount (Tk)

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