@extends('dashboard.layouts.app') @section('content') @include('components.alert') @php $money = function ($value, bool $dashZero = false) { $value = round((float) $value, 2); if (abs($value) < 0.00001) { return $dashZero ? '-' : '0.00'; } if ($value < 0) { return number_format(abs($value), 2) . '-'; } return number_format($value, 2); }; $amountClass = function ($value) { $value = round((float) $value, 2); if ($value > 0.00001) { return 'fr-money--positive'; } if ($value < -0.00001) { return 'fr-money--negative'; } return 'fr-money--muted'; }; $tabs = [ 'balance_sheet' => ['label' => 'Balance Sheet', 'icon' => 'ri:scale-3-line'], 'profit_loss' => ['label' => 'Profit & Loss', 'icon' => 'ri:line-chart-line'], 'cash_flow' => ['label' => 'Cash Position', 'icon' => 'ri:money-dollar-circle-line'], 'trial_balance' => ['label' => 'Trial Balance', 'icon' => 'ri:balance-line'], 'combined_report' => ['label' => 'Combined Report', 'icon' => 'ri:dashboard-line'], // 'financial_indicators' => ['label' => 'Financial Indicators', 'icon' => 'ri:funds-line', 'route' => 'financial_indicators.index'], 'custom_statement' => ['label' => 'Custom Statement', 'icon' => 'ri:edit-2-line'], ]; $queryFor = function ($report) { $query = request()->query(); unset($query['page']); return array_filter([ ...$query, 'report' => $report, ], fn($value) => $value !== null && $value !== ''); }; $queryWithoutReport = array_filter( request()->except(['report', 'page']), fn($value) => $value !== null && $value !== '' ); @endphp
{{ $cashFlow['operatingRows']->count() }} movement(s)
| Movement | Amount | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $row['description'] }}
{{ $row['reference'] }}
|
{{ $row['amount'] >= 0 ? '+' : '' }}{{ $money($row['amount']) }} | ||||||||||||
|
Payment details
|
|||||||||||||
| No cash movements found. | |||||||||||||
| Net Cash From Operating Activities | {{ $money($cashFlow['operatingTotal']) }} | ||||||||||||
| Ending Cash | {{ $money($cashFlow['endingCash']) }} | ||||||||||||
Revenue, expenses, and net result during the selected period.
| Revenue | {{ $money($combinedReport['totalRevenue']) }} |
| Expenses | ({{ $money($combinedReport['totalExpenses']) }}) |
| {{ $combinedReport['netResult'] >= 0 ? 'Net Profit' : 'Net Loss' }} | {{ $money($combinedReport['netResult']) }} |
Totals from the balance sheet.
| Total Assets | {{ $money($combinedReport['totalAssets']) }} |
| Total Liabilities | {{ $money($combinedReport['totalLiabilities']) }} |
| Equity | {{ $money($combinedReport['totalEquity']) }} |
| Net Assets | {{ $money($combinedReport['netAssets']) }} |
|
{{ $movement['description'] }}
{{ $movement['entry_reference'] }}
|
{{ $money(($movement['debit'] ?? 0) - ($movement['credit'] ?? 0)) }} |
| No movements | {{ $money($entityRow['amount']) }} |
| Total | {{ $money($entityRow['amount']) }} |
Try changing filters or date range.
Revenue, direct cost, and result by cost center.
| Date | Entry | Account | Section | Description | Amount |
|---|---|---|---|---|---|
| {{ optional($movement['date'])->format('Y-m-d') ?: '-' }} | #{{ $movement['journal_entry_id'] }} | {{ $movement['account_title'] }} {{ $movement['account_code'] }} | {{ $movement['section'] }} | {{ $movement['description'] }} | {{ $money($movement['amount'], true) }} |
| No movements found. | |||||
Try changing filters or date range.
@if($customStatement['basis'] === 'period') Period movement from {{ $filters['from_date'] }} to {{ $filters['to_date'] }}. @else Period movement. @endif
|
{{ $row['title'] }}
|
{{ $money($row['amount']) }} |
|
No selected accounts.
Choose at least one account and apply the statement. |
|
| Net Balance Debit positive / Credit negative | {{ $money($customStatement['total']) }} |
Try changing filters or search keyword.