diff --git a/config/firefly.php b/config/firefly.php index 95182d0d21..9aa03c3dc0 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -1,6 +1,7 @@ '3.3.3', 'index_periods' => ['1D', '1W', '1M', '3M', '6M', '1Y', 'custom'], 'budget_periods' => ['daily', 'weekly', 'monthly', 'quarterly', 'half-year', 'yearly'], 'piggy_bank_periods' => [ diff --git a/resources/twig/accounts/create.twig b/resources/twig/accounts/create.twig index b3a23b96c2..6c2e749133 100644 --- a/resources/twig/accounts/create.twig +++ b/resources/twig/accounts/create.twig @@ -10,11 +10,11 @@
-
-
+
+
{{ 'mandatoryFields'|_ }}
-
+
{{ ExpandedForm.text('name') }}
@@ -23,11 +23,11 @@
{% if what == 'asset' %} -
-
+
+
{{ 'optionalFields'|_ }}
-
+
{{ ExpandedForm.balance('openingBalance') }} {{ ExpandedForm.date('openingBalanceDate', phpdate('Y-m-d')) }} @@ -38,11 +38,11 @@
{% endif %} -
-
+
+
{{ 'options'|_ }}
-
+
{{ ExpandedForm.optionsList('create','account') }}
diff --git a/resources/twig/accounts/delete.twig b/resources/twig/accounts/delete.twig index a45377c6b1..9f90e66ce1 100644 --- a/resources/twig/accounts/delete.twig +++ b/resources/twig/accounts/delete.twig @@ -10,11 +10,11 @@
-
+
{{ trans('form.delete_account', {'name': account.name}) }}
-
+

{{ trans('form.permDeleteWarning') }}

diff --git a/resources/twig/accounts/edit.twig b/resources/twig/accounts/edit.twig index 3df84adf79..b6818f6cdb 100644 --- a/resources/twig/accounts/edit.twig +++ b/resources/twig/accounts/edit.twig @@ -11,22 +11,22 @@
-
-
+
+
{{ 'mandatoryFields'|_ }}
-
+
{{ ExpandedForm.text('name') }}
-
-
+
+
{{ 'optionalFields'|_ }}
-
+
{% if account.accounttype.type == 'Default account' or account.accounttype.type == 'Asset account' %} {{ ExpandedForm.balance('openingBalance',null, {'currency' : openingBalance ? openingBalance.transactionCurrency : null}) }} {{ ExpandedForm.date('openingBalanceDate') }} @@ -40,11 +40,11 @@ {% if Session.get('preFilled').accountRole == 'ccAsset' %} -
-
+
+
Credit card options
-
+
{{ ExpandedForm.select('ccType',Config.get('firefly.ccTypes')) }} {{ ExpandedForm.date('ccMonthlyPaymentDate',null,{'helpText' : 'Select any year and any month, it will be ignored anway. Only the day of the month is relevant.'}) }}
@@ -52,11 +52,11 @@ {% endif %} -
-
+
+
{{ 'options'|_ }}
-
+
{{ ExpandedForm.optionsList('update','account') }}
diff --git a/resources/twig/accounts/index.twig b/resources/twig/accounts/index.twig index bed25ed3bc..e10a6457d3 100644 --- a/resources/twig/accounts/index.twig +++ b/resources/twig/accounts/index.twig @@ -15,8 +15,8 @@
-
-
+
+
{{ subTitle}} diff --git a/resources/twig/accounts/show.twig b/resources/twig/accounts/show.twig index 02477a94dc..dc7d6566c9 100644 --- a/resources/twig/accounts/show.twig +++ b/resources/twig/accounts/show.twig @@ -7,8 +7,8 @@ {% block content %}
-
-
+
+
{{ account.name }} @@ -26,7 +26,7 @@
-
+
@@ -36,11 +36,11 @@
-
-
+
+
{{ 'transactions'|_ }}
-
+
{% include 'list/journals.twig' with {sorting:true} %}
diff --git a/resources/twig/auth/login.twig b/resources/twig/auth/login.twig index 9273e51566..8cd48afb22 100644 --- a/resources/twig/auth/login.twig +++ b/resources/twig/auth/login.twig @@ -17,10 +17,10 @@