@extends('layouts.app') @section('title', __('Chart of Accounts')) @section('content')
| {{ __('Group') }} | {{ __('Account Name') }} | {{ __('Type') }} | {{ __('Debit') }} | {{ __('Credit') }} |
|---|---|---|---|---|
| {{ $account['group'] }} | {{ $account['name'] }} | {{ $account['type'] }} | {{ $account['debit'] ? number_format($account['debit'], 2).' '.$moneyCode : '-' }} | {{ $account['credit'] ? number_format($account['credit'], 2).' '.$moneyCode : '-' }} |
| {{ __('Total') }} | {{ number_format($accounts->sum('debit'), 2) }} {{ $moneyCode }} | {{ number_format($accounts->sum('credit'), 2) }} {{ $moneyCode }} | ||
{{ $appSettings['report_footer'] }}
@endif @endsection