@extends('layout.app') @section('title', 'Create Sale Voucher') @push('header_script') @endpush @section('content')
{!! Form::open([ 'route' => ['sale-voucher.store'], 'onsubmit' => 'BtnSubmit.disabled = true', 'class' => 'row g-3 needs-validation', 'method' => 'post', 'autocomplete' => 'off', 'files' => true, ]) !!}
{{ $errors->first('voucher_no') }}
{!! Form::select( 'party_account_ledger_id', ['' => '--Select--'] + $partyLedger, old('party_account_ledger_id'), ['class' => 'form-control select2', 'id' => 'party_account_ledger_id', 'required'], ) !!}
{{ $errors->first('party_account_ledger_id') }}
{{-- hidden inputs --}}
{{ $errors->first('voucher_date') }}
{{ $errors->first('created_by') }}
{{ $errors->first('doc') }}
{{ $errors->first('discount_before_gst') }}
{{-- --}}
Name of Item * Qty * Unit * Rate/Unit * Amount * Discount Tax Rate (%) Tax Amount Total Amount *
{!! Form::select('product_id[]', ['' => '--Select--'] + $product, old('product'), [ 'class' => 'form-control select2', 'id' => 'product_id_10', 'required', ]) !!} {!! Form::select( 'unit[]', ['' => '--Select--', 'liter' => 'Liter', 'kg' => 'KG', 'piece' => 'Piece', 'other' => 'Other'], old('unit'), ['class' => 'form-control', 'id' => 'units', 'required'], ) !!} {!! Form::select('tax_group_id[]', ['' => '--Select--'] + $taxGroup, old('tax_group_id'), [ 'class' => 'form-control select2 taxGroupIds', 'id' => 'tax_group_id_10', 'required', ]) !!}
Total Amount
{{-- Show Calculation --}}
{{-- Discount --}}
Discount (In/Ex):       
{{-- Other Charges --}}
Other Charges:   

{{-- here we are adding other expense --}}
{{-- GST SHOW --}}
SGST Input :  
CGST Input :  
IGST Input :  
{{-- Gross Total --}}
Gross Total :           
{{-- Other Deductions --}}
Other Deduction:   

{{-- here we are adding other deduction --}}
{{-- Round Off --}}
Round Off :           
{{-- TCS --}}
TCS Amount :           
{{-- Net Total --}}
Net Total :           
{{-- Total Paid Amount --}}
Paid Amount :             

{{-- payemnt content will be here --}}
{{-- Remaining Amount --}}
Remaining Bal :             
{{ $errors->first('remark') }}
{!! Form::close() !!}
@endsection @push('footer_script') @endpush