@extends('layouts.accountingapp') @section('css') @stop @section('content')
DMMC INSTITUTE OF HEALTH SCIENCES
#143 Narra St., Mountainview Subd. Brgy 3, Tanauan City, Batangas
Tel. Nos. :(043) 778-6352 * Telefax (043) 778-6352

@if($journal_entry->is_reverse == 1)CANCELLED @endif @foreach($accountings as $accounting)
Notice: Undefined variable: accounting in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\view_voucher.blade.php on line 63

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

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

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\journal_entry\view_voucher.blade.php on line 64
@endforeach
JOURNAL VOUCHER
Date: {{date_format(date_create($journal_entry->transaction_date),"F d, Y")}}
J.V. No. : {{str_pad($journal_entry->voucher_no,5,"0",STR_PAD_LEFT)}}
Particulars:
{{$journal_entry->particular}}
Account No. Account Title Subsidiary Debit Credit
{{$accounting->accounting_code}} {{$accounting->category}} {{$accounting->description}} @if($accounting->debit != 0){{number_format($accounting->debit,2)}} @endif @if($accounting->credit != 0){{number_format($accounting->credit,2)}} @endif
    TOTAL {{number_format($debit,2)}} {{number_format($credit,2)}}

Posted by: {{\App\User::where('idno',$journal_entry->processed_by)->first()->firstname}} {{\App\User::where('idno',$journal_entry->processed_by)->first()->lastname}}

@if($journal_entry->transaction_date == date("Y-m-d")) @if($journal_entry->is_reverse == 1) Restore @else Reverse @endif @endif
@if($journal_entry->transaction_date == date("Y-m-d")) Update @endif

@stop