@extends('admin_dashboard') @section('admin')
{{-- Page Title --}}

Journal Entry

Cash in Hand: {{ $cash_total }} All Vouchers
@if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- ══ ENTRY FORM ══ --}}
New Journal Entry
@csrf
@foreach($heads as $head) @endforeach
@foreach($projects as $project) @endforeach
{{-- Staged Entries Preview Table --}}
{{-- ══ TRANSACTIONS TABLE ══ --}}
Journal Transactions
@foreach($all_trans as $key => $item) @endforeach
# Date Tran. No. Ledger Name Description Dr. Amount Cr. Amount Delete
{{ $key + 1 }} {{ $item->date }} {{ $item->invoice_no }} {{ $item->ledger_name }} {{ $item->description }} {{ $item->dr_amount ? number_format($item->dr_amount, 2) : '—' }} {{ $item->cr_amount ? number_format($item->cr_amount, 2) : '—' }}
@csrf @method('DELETE')
@endsection