@extends('layouts.app') @section('title', __('Accounting')) @section('content') @include('accounting._nav')
{{ __('Total debit') }}
{{ money($totals['debit']) }}
{{ __('Total credit') }}
{{ money($totals['credit']) }}
{{ __('Balanced') }}
{{ $totals['debit'] === $totals['credit'] ? __('Yes') : __('No') }}
| {{ __('Date') }} | {{ __('Reference') }} | {{ __('Label') }} | {{ __('Account') }} | {{ __('Debit') }} | {{ __('Credit') }} |
|---|---|---|---|---|---|
| {{ \Illuminate\Support\Carbon::parse($entry['date'])->format('d/m/Y') }} | {{ $entry['reference'] }} | {{ $entry['label'] }} | {{ $entry['account'] }} {{ $entry['account_name'] }} | {{ $entry['debit'] > 0 ? money($entry['debit']) : '' }} | {{ $entry['credit'] > 0 ? money($entry['credit']) : '' }} |
| {{ __('No entries for this period.') }} | |||||
| {{ __('Total') }} | {{ money($totals['debit']) }} | {{ money($totals['credit']) }} | |||