Edit Payment Voucher
{!! Form::open(['route'=>array('payment-voucher.update', $payment_voucher->id), 'onsubmit'=>'BtnSubmit.disabled = true', 'method' => 'put']) !!}
{!! Form::close() !!}
{{$errors->first('voucher_no')}}
{{$errors->first('voucher_date')}}
{!! Form::select("payment_type", ['cash'=>'Cash','bank'=>'Bank'], old("payment_type",$payment_voucher->payment_type), ['class'=>'form-control', 'required', 'id'=>'payment_type'] ) !!}
{{$errors->first('payment_type')}}
{!! Form::select("account_ledger_id", [''=>'Select']+$account_groups, old("account_ledger_id", $payment_voucher->account_ledger_id), ['class'=>'form-control select2', 'required', 'id'=>'account_ledger_id'] ) !!}
{{$errors->first('account_ledger_id')}}
{{$errors->first('cheque_no')}}
{{$errors->first('cheque_date')}}
{!! Form::select("voucher_type", ['supplier_payment'=>'Supplier Payment'], old("voucher_type", $payment_voucher->voucher_type), ['class'=>'form-control select2', 'disabled', 'id'=>'voucher_type'] ) !!}
{{$errors->first('voucher_type')}}
{!! Form::select("paid_to_id", [''=>'Select'], old("paid_to_id"), ['class'=>'form-control select2', 'required','disabled', 'id'=>'paid_to_id'] ) !!}
{{$errors->first('paid_to_id')}}
{{$errors->first('paid_amount')}}
{!! Form::select("branch_ids", \App\Http\Helpers\Helper::getBranchData(), old("branch_ids", $payment_voucher->branch_id), ['class'=>'form-control','disabled' ,'id' => 'branch_ids'] ) !!}
{{$errors->first('created_by')}}
{{$errors->first('remarks')}}
| S. No. | Invoice No.* | Amount Due* | Amount* | Supplier Invoice No.* | ||
|---|---|---|---|---|---|---|