Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
First start of new report.
James Cole07f4995c8ff6
diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.phpindex 6fa0f87b63..8f48f151f5 100644--- a/app/Http/Controllers/ReportController.php+++ b/app/Http/Controllers/ReportController.php@@ -96,6 +96,7 @@ class ReportController extends Controllerswitch ($reportType) {default:+ throw new FireflyException('Unfortunately, reports of the type "' . e($reportType) . '" are not yet available. ');case 'default':View::share(@@ -119,6 +120,21 @@ class ReportController extends Controller}return $this->defaultMonth($reportType, $start, $end, $accounts);+ case 'audit':++ View::share(+ 'subTitle', trans(+ 'firefly.report_audit',+ [+ 'start' => $start->formatLocalized($this->monthFormat),+ 'end' => $end->formatLocalized($this->monthFormat),+ ]+ )+ );+ View::share('subTitleIcon', 'fa-calendar');++ throw new FireflyException('Unfortunately, reports of the type "' . e($reportType) . '" are not yet available. ');+ break;}diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex b2553b041a..81dc74a139 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -543,6 +543,7 @@ return [// reports:'report_default' => 'Default financial report for :start until :end',+ 'report_audit' => 'Transaction history overview for :start until :end','quick_link_reports' => 'Quick links','quick_link_default_report' => 'Default financial report','report_this_month_quick' => 'Current month, all accounts',@@ -585,6 +586,7 @@ return ['categories_spent_in_year' => 'Categories (by spendings)','report_type' => 'Report type','report_type_default' => 'Default financial report',+ 'report_type_audit' => 'Transaction history overview (audit)','report_included_accounts' => 'Included accounts','report_date_range' => 'Date range','report_include_help' => 'In all cases, transfers to shared accounts count as expenses, and transfers from shared accounts count as income.',diff --git a/resources/views/reports/index.twig b/resources/views/reports/index.twigindex ced17b4e58..a539b67fa4 100644--- a/resources/views/reports/index.twig+++ b/resources/views/reports/index.twig@@ -21,6 +21,7 @@<div class="col-sm-9"><select name="report_type" class="form-control" id="inputReportType"><option label="{{ 'report_type_default'|_ }}" value="default">{{ 'report_type_default'|_ }}</option>+ <option label="{{ 'report_type_audit'|_ }}" value="audit">{{ 'report_type_audit'|_ }}</option></select></div></div>