@extends('layouts.app') @section('title', __('accounting.chart')) @section('content')
{{ __('accounting.chart') }}
{{ __('accounting.journal') }} {{ __('accounting.trial_balance') }}
@foreach($accounts as $account) @endforeach
{{ __('accounting.code') }}{{ __('app.name') }}{{ __('app.type') }}{{ __('accounting.debit') }}{{ __('accounting.credit') }}
{{ $account->code }} {{ $account->parent_id ? '— ' : '' }}{{ $account->name }} {{ __('accounting.' . $account->type) }} {{ money($account->debit_total) }} {{ money($account->credit_total) }}
@endsection