@extends('layouts.accountingapp') @section('css') @stop @section('content')

New Journal Voucher

JV NO:  {{str_pad($voucher->voucher_no,5,"0",STR_PAD_LEFT)}}
{{csrf_field()}}

Accounting Entries

@if($accountings->isEmpty())
No entries yet.
@else @foreach($accountings as $accounting)
Notice: Undefined variable: accounting in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\edit_journal_entry.blade.php on line 85

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\edit_journal_entry.blade.php on line 85

Notice: Undefined variable: accounting in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\edit_journal_entry.blade.php on line 86

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\edit_journal_entry.blade.php on line 86
@endforeach
  Amount
Account No. Account Title Subsidiary Debit Credit Remove
{{$accounting->accounting_code}} {{$accounting->category}} {{$accounting->subsidiary}} @if($accounting->debit != 0){{number_format($accounting->debit,2)}} @endif @if($accounting->credit != 0){{number_format($accounting->credit,2)}} @endif Remove
    TOTAL {{number_format($debit,2)}} {{number_format($credit,2)}}
@if($debit == $credit)
@endif @endif

@stop