@extends('layout.app') @section('title', 'Create Payment Voucher') @push('header_script') @endpush @section('content')
{!! Form::open([ 'route' => ['payment-voucher.store'], 'onsubmit' => 'BtnSubmit.disabled = true', 'class' => 'row g-3 needs-validation', 'method' => 'post', 'autocomplete' => 'off', 'files' => true, ]) !!}
{!! Form::select( 'party_account_ledger_id', ['' => '--Select--'] + $accountLedger, old('party_account_ledger_id'), ['class' => 'form-control select2', 'id' => 'party_account_ledger_id', 'required'], ) !!}
{{ $errors->first('party_account_ledger_id') }}
{{ $errors->first('voucher_no') }}
{{ $errors->first('voucher_date') }}
{!! Form::select('payment_type', ['' => '--Select--', 'cash' => 'Cash', 'bank' => 'Bank'], old('payment_type'), [ 'class' => 'form-control select2', 'id' => 'payment_type', 'required', ]) !!}
{{ $errors->first('payment_type') }}
{!! Form::select('account_ledger_id', ['' => '--Select--'], old('account_ledger_id'), [ 'class' => 'form-control select2', 'id' => 'account_ledger_id', 'required', ]) !!}
{{ $errors->first('account_ledger_id') }}
{{ $errors->first('created_by') }}
{{ $errors->first('doc') }}
{{ $errors->first('received_amount') }}
{{ $errors->first('discount_amount') }}
{{ $errors->first('remark') }}
{!! Form::close() !!}
@endsection @push('footer_script') ss @endpush