Skip to content

Firefly III: a personal finances manager

Some new help text for bills. #207

James Coleef97c3b42d62
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php
index f8c12fb411..b1089f3a13 100644
--- a/resources/lang/en_US/firefly.php
+++ b/resources/lang/en_US/firefly.php
@@ -465,6 +465,7 @@ return [
'stored_new_bill' => 'Stored new bill ":name"',
'cannot_scan_inactive_bill' => 'Inactive bills cannot be scanned.',
'rescanned_bill' => 'Rescanned everything.',
+ 'bill_date_little_relevance' => 'The only part of this date used by Firefly is the day. It is only useful when your bill arrives at exactly the same date every month. If the payment date of your bills varies, simply use the first of the month.',
// accounts:
'details_for_asset' => 'Details for asset account ":name"',
diff --git a/resources/views/bills/create.twig b/resources/views/bills/create.twig
index fd888c257d..2cbc1f455c 100644
--- a/resources/views/bills/create.twig
+++ b/resources/views/bills/create.twig
@@ -19,7 +19,7 @@
{{ ExpandedForm.tags('match') }}
{{ ExpandedForm.amount('amount_min') }}
{{ ExpandedForm.amount('amount_max') }}
- {{ ExpandedForm.date('date',phpdate('Y-m-d')) }}
+ {{ ExpandedForm.date('date',phpdate('Y-m-d'), {helpText: trans('firefly.bill_date_little_relevance')}) }}
{{ ExpandedForm.select('repeat_freq',periods,'monthly') }}
</div>
</div>
diff --git a/resources/views/bills/edit.twig b/resources/views/bills/edit.twig
index 94c4add246..408f97ff27 100644
--- a/resources/views/bills/edit.twig
+++ b/resources/views/bills/edit.twig
@@ -21,7 +21,7 @@
{{ ExpandedForm.tags('match') }}
{{ ExpandedForm.amount('amount_min') }}
{{ ExpandedForm.amount('amount_max') }}
- {{ ExpandedForm.date('date',bill.date.format('Y-m-d')) }}
+ {{ ExpandedForm.date('date',bill.date.format('Y-m-d'), {helpText: trans('firefly.bill_date_little_relevance')}) }}
{{ ExpandedForm.select('repeat_freq',periods) }}
</div>
</div>