@extends('admin.layout.app') @section('title','Edit Receipt Voucher') @push('headerscript') @endpush @section('content')

Edit Receipt Voucher

{!! Form::open(['route'=>array('receipt-voucher.update', $receipt_voucher->id), 'onsubmit'=>'BtnSubmit.disabled = true', 'method' => 'put']) !!}
{{$errors->first('voucher_no')}}
{{$errors->first('receipt_date')}}
{!! Form::select("receipt_type", ['cash'=>'Cash','bank'=>'Bank'], old("receipt_type", $receipt_voucher->receipt_type), ['class'=>'form-control', 'required', 'id'=>'receipt_type'] ) !!}
{{$errors->first('receipt_type')}}
{!! Form::select("account_ledger_id", [''=>'Select']+$account_groups, old("account_ledger_id",$receipt_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", ['sales receipt'=>'Sales Receipt'], old("voucher_type"), ['class'=>'form-control select2', 'disabled', 'id'=>'voucher_type'] ) !!}
{{$errors->first('voucher_type')}}
{!! Form::select("receipt_to_id", [''=>'Select'], old("receipt_to_id"), ['class'=>'form-control select2', 'disabled', 'id'=>'receipt_to_id'] ) !!}
{{$errors->first('receipt_to_id')}}
{{$errors->first('total_amount')}}
{!! Form::select("branch_ids", \App\Http\Helpers\Helper::getBranchData(), old("branch_ids", $receipt_voucher->branch_id), ['class'=>'form-control select2','disabled' ,'id' => 'branch_ids'] ) !!}
{{$errors->first('created_by')}}
{{$errors->first('remarks')}}
@foreach($receipt_voucher->receiptVoucherDetails as $receipt_voucher_detail) @endforeach
S. No. Bill No.* Bill Date* Job Card No. Claim No. LPO No. Accident No. Pending Amount* Received Amount*
{!! Form::close() !!}
@include('admin.advisor.models.sendMail') @include('admin.advisor.models.whatsapp') @endsection @push('footerscript') @endpush