{{-- resources/views/generalvouchers/show.blade.php --}} @extends('admin.admin_dashboard') @section('admin')
Date: {{ $voucher->entry_date->format('F j, Y') }}
Bank Account: {{ $voucher->lines()->where('debit',0)->first()->account->full_name }}
@foreach($voucher->lines as $line) @endforeach
Account Debit Credit Description
{{ $line->account->full_name }} {{ number_format($line->debit,0) }} {{ number_format($line->credit,0) }} {{ $line->memo }}
@endsection