diff --git a/resources/views/transactions/single/create.twig b/resources/views/transactions/single/create.twig index 3ba6b8dec3..c29045d6f7 100644 --- a/resources/views/transactions/single/create.twig +++ b/resources/views/transactions/single/create.twig @@ -47,7 +47,7 @@ {# ALWAYS SHOW AMOUNT #} {{ ExpandedForm.amount('amount') }} - + {# ALWAYS SHOW DATE #} {{ ExpandedForm.date('date', preFilled.date|default(phpdate('Y-m-d'))) }}
- + {# BUDGET ONLY WHEN CREATING A WITHDRAWAL #} {% if budgets|length > 1 %} {{ ExpandedForm.select('budget_id', budgets, null) }} {% else %} {{ ExpandedForm.select('budget_id', budgets, null, {helpText: trans('firefly.no_budget_pointer')}) }} {% endif %} - + {# CATEGORY ALWAYS #} {{ ExpandedForm.text('category') }} - + {# TAGS #} {{ ExpandedForm.text('tags') }} - + {# RELATE THIS TRANSFER TO A PIGGY BANK #} {{ ExpandedForm.select('piggy_bank_id', piggies, '0') }}
- + {# explain if necessary #} {% if not optionalFields.interest_date or not optionalFields.book_date or @@ -97,7 +97,7 @@ {{ trans('firefly.hidden_fields_preferences', {link: route('preferences.index')})|raw }}

{% endif %} - + {# box for dates #} {% if optionalFields.interest_date or optionalFields.book_date or optionalFields.process_date or optionalFields.due_date or optionalFields.payment_date @@ -141,7 +141,7 @@ {% endif %} - + {# box for business fields #} {% if optionalFields.internal_reference or optionalFields.notes %}
@@ -163,7 +163,7 @@
{% endif %} - + {# box for attachments #} {% if optionalFields.attachments %}
@@ -178,7 +178,7 @@
{% endif %} - + {# panel for options #}

{{ 'options'|_ }}

@@ -201,7 +201,6 @@ + {% endblock %}