@extends('layouts.master') @section('title', 'Journal Voucher') @section('page-header') Edit Journal Voucher @stop @push('style') @endpush @section('content')
@include('partials._alert_message')

@yield('page-header')

@csrf @method('PUT')
Reference @error('reference') {{ $message }} @enderror
Date @error('date') {{ $message }} @enderror
@foreach($voucher->details as $detail) @endforeach
SL. Account Name Debit Credit
@error('account_ids') {{ $message }} @enderror
@if($detail->balance_type == 'Debit') @error('debit') {{ $message }} @enderror @else @endif @if($detail->balance_type == 'Credit') @error('credit') {{ $message }} @enderror @else @endif
Total
@error('description') {{ $message }} @enderror
@if($voucher->attachment) @else
@endsection @section('js') @endsection