@extends('layout.app') @section('title', 'Edit Sale Voucher') @push('header_script') @endpush @section('content')
Back
{!! Form::open([ 'route' => ['sale-voucher.update', $saleVoucher->id], 'onsubmit' => 'BtnSubmit.disabled = true', 'class' => 'needs-validation', 'method' => 'post', 'autocomplete' => 'off', 'files' => true, ]) !!} @method('PUT')
Voucher Details
Voucher No. *
Voucher Date *
Customer Details
Customer Name—
GST No—
Mobile—
Address—
City/State—
GST Type—
Opening Balance—
Information Panel
Select Customer * {!! Form::select( 'party_account_ledger_id', ['' => '--Select--'] + $partyLedger, old('party_account_ledger_id', $saleVoucher->party_account_ledger_id), ['class' => 'form-control select2', 'id' => 'party_account_ledger_id', 'required'], ) !!}
Balance:
Place of Supply / Tax Type —
Created By
Document Upload @if ($saleVoucher->doc) View Doc @endif
Selected Item Details
@php $ri = 10; @endphp @foreach($saleVoucher->voucherDetails as $detail) @php $ri++; @endphp @endforeach
Item Name * HSN Qty * Rate/Unit * Taxable GST% CGST SGST IGST Total *
{!! Form::select('product_id[]', ['' => '--Select--'] + $product, old('product_id.' . $loop->index, $detail->product_id), [ 'class' => 'form-control select2 item-product-select', 'id' => 'product_id_' . $ri, 'required', ]) !!} {{ $detail->product->hsn_code ?? '—' }} {!! Form::select('tax_group_id[]', ['' => '--Select--'] + $taxGroup, old('tax_group_id.' . $loop->index, $detail->tax_group_id), [ 'class' => 'form-control select2 taxGroupIds item-tax-group', 'id' => 'tax_group_id_' . $ri, 'required', ]) !!} @if(!$loop->first) @endif
Other Charges & Discounts
@php $oeIdx = 10; @endphp {{-- Load existing Before GST expenses --}} @foreach ($saleVoucher->otherCharges as $other) @php $oeIdx++; @endphp @endforeach {{-- Load existing After GST expenses --}} @foreach ($saleVoucher->afterGstCharges as $afterGst) @php $oeIdx++; @endphp @endforeach
Description Amount Apply GST%
@if(!$loop->first) @endif
Remarks & Payments
@foreach($saleVoucher->payments as $pay)
@endforeach
Item Taxable Value₹0.00
Total Taxable Value₹0.00
Net Grand Total₹0.00
Total Paid Amount
Remaining Balance
{!! Form::close() !!}
@include('common.modal.common_party') @include('common.modal.product') @include('common.modal.ledger') @endsection @push('footer_script') @endpush