@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' => 'needs-validation', 'method' => 'post', 'autocomplete' => 'off', 'files' => true, ]) !!}
{{-- ======================================== SECTION 1: VOUCHER DETAILS ======================================== --}}
Voucher Details
{{ $errors->first('voucher_no') }}
{{ $errors->first('voucher_date') }}
{{-- ======================================== PARTY DETAILS CARD ======================================== --}}
Party Details
-
-
-
-
-
-
-
{{-- ======================================== INFORMATION PANEL CARD ======================================== --}}
Information Panel
{!! Form::select( 'party_account_ledger_id', ['' => '--Select--'] + $partyLedger, old('party_account_ledger_id'), ['class' => 'form-control select2', 'id' => 'party_account_ledger_id', 'required'], ) !!} Balance:
{{ $errors->first('party_account_ledger_id') }}
{{ $errors->first('created_by') }}
{{ $errors->first('doc') }}
{{-- ======================================== SECTION 3: SELECTED ITEM DETAILS ======================================== --}}
Selected Item Details
Name of Item * Qty * Unit * Rate/Unit * Amount * Tax Rate (%) Tax Amount Total Amount *
{!! Form::select('product_id[]', ['' => '--Select--'] + $product, old('product_id.0'), [ 'class' => 'form-control select2', 'id' => 'product_id_10', 'required', ]) !!} {!! Form::select('tax_group_id[]', ['' => '--Select--'] + $taxGroup, old('tax_group_id.0'), [ 'class' => 'form-control select2 taxGroupIds', 'id' => 'tax_group_id_10', 'required', ]) !!}
Total Amount
{{-- Calculation Section --}}
{{-- OTHER CHARGES BEFORE GST --}}
{{-- GST BREAKUP --}} {{-- OTHER CHARGES AFTER GST --}}
{{-- GROSS TOTAL --}}
{{-- ROUND OFF --}}
{{-- NET TOTAL --}}
{{-- PAID AMOUNT --}}
{{-- REMAINING BALANCE --}}
{{ $errors->first('remark') }}
{!! Form::close() !!}
@include('common.modal.common_party') @include('common.modal.product') @include('common.modal.ledger') @endsection @push('footer_script') {{-- ═══════════════════════════════════════════ PRODUCT MODAL SCRIPT ═══════════════════════════════════════════ --}} {{-- LEDGER MODAL SCRIPT --}} {{-- ═══════════════════════════════════════════ COMMON PARTY MODAL SCRIPT ═══════════════════════════════════════════ --}} @endpush