@extends('layouts.admin') @section('page-title') {{__('Journal Detail')}} @endsection @section('breadcrumb')
# | {{__('Account')}} | {{__('Description')}} | {{__('Debit')}} | {{__('Credit')}} | {{__('Amount')}} |
---|---|---|---|---|---|
{{$key+1}} | {{!empty($account->accounts)?$account->accounts->code.' - '.$account->accounts->name:''}} | {{!empty($account->description)?$account->description:'-'}} | {{\Auth::user()->priceFormat($account->debit)}} | {{\Auth::user()->priceFormat($account->credit)}} | @if($account->debit!=0) {{\Auth::user()->priceFormat($account->debit)}} @else {{\Auth::user()->priceFormat($account->credit)}} @endif |
{{__('Total Credit')}} | {{\Auth::user()->priceFormat($journalEntry->totalCredit())}} | ||||
{{__('Total Debit')}} | {{\Auth::user()->priceFormat($journalEntry->totalDebit())}} |