@extends('layouts/acc_layout') @section('title', '| Edit Daily Cash & Bank Balance Register') @section('content') @include('successMsg')

Daily Cash & Bank Balance Register
{!! Form::open(['url' => '#', 'role' => 'form', 'class' => 'form-horizontal form-groups']) !!}
{!! Form::label('branch', 'Branch:', ['class' => 'col-sm-1 control-label']) !!}
{!! Form::text('', $branchIdwithName, ['class' => 'form-control', 'id' => 'viewBranchName', 'readonly' => 'readonly']) !!}
{!! Form::label('currency', 'Collection Date:', ['class' => 'col-sm-1 control-label']) !!}
{!! Form::text('', date('d-m-Y', strtotime($VaultRegister->collectionDate)) , ['class' => 'form-control', 'id' => 'viewCollectionDate','readonly' => 'readonly']) !!}
{!! Form::hidden('id', $VaultRegister->id) !!}

Cash in Hand:
@foreach ($takas as $taka) @endforeach @foreach($takas as $i=> $taka) @endforeach @foreach($takas as $i=> $taka) @endforeach
Particulars
Number of Banknotes (TK.) Total Amount
{{ $taka }}
Cash Book
(প্রকৃত হাতে নগদ)
{!! Form::text('noOfCashBookNotes[]', $value = $noOfCashBookNotes[$i], ['class' => 'form-control text-center noOfCashBookNotes', 'id' => 'noOfCashBookNotes', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off', 'data-note' => $taka ]) !!}{!! Form::text('cashBookSum', $value = $cashBookSum, ['class' => 'form-control text-right', 'id' => 'cashBookSum', 'readonly', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off']) !!}
After Closing
(বিকালের আদায়)
{!! Form::text('noOfAfterClosingNotes[]', $value = $noOfAfterClosingNotes[$i], ['class' => 'form-control text-center noOfAfterClosingNotes', 'id' => 'noOfAfterClosingNotes', 'readonly', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off', 'data-note' => $taka ]) !!}{!! Form::text('afterClosingSum', $value = $afterClosingSum, ['class' => 'form-control text-right', 'id' => 'afterClosingSum', 'readonly', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off']) !!}
Cash Deficit
(ক্যাশ ঘাটতি)
{!! Form::text('cashDeficitReason', $value = $cashDeficitReason, ['class' => 'form-control text-left', 'id' => 'cashDeficitReason', 'type' => 'text', 'placeholder' => 'ক্যাশ ঘাটতির কারন ?','autocomplete'=>'off']) !!} {!! Form::text('cashDeficitAmount', $value = $cashDeficitAmount, ['class' => 'form-control text-right', 'id' => 'cashDeficitAmount', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off']) !!}
Total Amount
(মোট)
{!! Form::text('totalInWords', $value = $totalInWords, ['class' => 'form-control', 'readonly', 'id' => 'totalInWords', 'type' => 'text', 'placeholder' => 'In Words', 'autocomplete' => 'off']) !!} {!! Form::text('totalSum', $value = $totalSum, ['class' => 'form-control text-right', 'id' => 'totalSum', 'readonly', 'type' => 'text', 'placeholder' => '0', 'autocomplete' => 'off']) !!}
@if(!$BankAcRegisters->isEmpty())

Cash at Bank:
@foreach ($BankAcRegisters as $BankAcRegister) {!! Form::hidden('cashAtBankAcIds[]', $BankAcRegister->id) !!} @endforeach
SL# Bank Account Information Amount
Bank Name A/C Number Routing Number Branch Name
{{ ++$no }} {{ $BankAcRegister->bankName }} {{ $BankAcRegister->bankAcNumber }} {{ $BankAcRegister->acRoutingNumber }} {{ $BankAcRegister->bankBranchName }}, {{ $BankAcRegister->district }} {!! Form::text('cashAtBank[]', $cashAtBankAmounts[$BankAcRegister->id] ?? null, ['class' => 'form-control text-right amount cash-At-Bank', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off']) !!}
Total Amount {!! Form::text('cashAtBAnkAmountInWords', $cashAtBankAmountInWords, ['class' => 'form-control', 'readonly', 'id' => 'cashAtBAnkAmountInWords', 'type' => 'text', 'placeholder' => 'In Words', 'autocomplete' => 'off']) !!} {!! Form::text('cashAtBankTotal', $totalCashAtBankAmount, ['class' => 'form-control text-right amount cash-At-Bank-Total', 'style' => 'font-weight: bold', 'readonly', 'type' => 'text', 'placeholder' => '-', 'autocomplete' => 'off']) !!}
@endif


{!! Form::label('submit', ' ', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection