@extends('layout.app') @section('title', 'Edit Journal Voucher') @push('header_script') @endpush @section('content')
{!! Form::open([ 'route' => ['journal-voucher.update', $journalVoucher->id], 'onsubmit' => 'BtnSubmit.disabled = true', 'class' => 'row g-3 needs-validation', 'method' => 'put', 'autocomplete' => 'off', ]) !!}
{{ $errors->first('voucher_no') }}
{{ $errors->first('voucher_date') }}
{{ $errors->first('created_by') }}
{{ $errors->first('description') }}
@foreach ($journalVoucher->journalVoucherDetails as $journal_voucher_detail) @endforeach
S. No. Account Name* Remark Debit Credit Invoice No.
{{ $i - 9 }} {!! Form::select( 'account_ledger_id[]', ['' => 'Select '] + $accountLedger, old('account_ledger_id', $journal_voucher_detail->account_ledger_id), ['class' => 'form-control', 'required', 'id' => 'account_ledger_id' . $i], ) !!}
Totals:
{!! Form::close() !!}
@endsection @push('footer_script') @endpush