Edit Journal Voucher
{!! Form::open(['route'=>array('journal-voucher.update', $journal_voucher->id), 'onsubmit'=>"return validateForm()", 'method' => 'put']) !!}
{!! Form::close() !!}
{{$errors->first('voucher_no')}}
{{$errors->first('voucher_date')}}
{!! Form::select("branch_ids", \App\Http\Helpers\Helper::getBranchData(), old("branch_ids", $journal_voucher->branch_id), ['class'=>'form-control select2' ,'id' => 'branch_ids','disabled'] ) !!}
{{$errors->first('created_by')}}
{{$errors->first('description')}}
| S. No. | Voucher Type* | Account Name* | Remark | Credit | Debit | Invoice No. | Plate No. | |
|---|---|---|---|---|---|---|---|---|
| {{$i-9}} | {!! Form::select("voucher_type[]", [''=>'Select','Expenses'=>'Expenses','Assets'=>'Assets','Income'=>'Income','Liabilities'=>'Liabilities','Equity'=>'Equity','insurance'=>'Insurance'], old("voucher_type",$journal_voucher_detail->voucher_type), ['class'=>'form-control select2', 'required', 'id'=>'voucher_type'.$i] ) !!} | {!! Form::select("account_ledger_id[]", [$journal_voucher_detail->account_ledger_id=>$journal_voucher_detail->accountLedger->account_name], old("account_ledger_id"), ['class'=>'form-control select2', 'required', 'id'=>'account_ledger_id'.$i ] ) !!} | ||||||
| Totals: | ||||||||