This commit is contained in:
James Cole
2020-08-07 11:38:31 +02:00
parent f60bacba85
commit 7a7f1e7d97
6 changed files with 111 additions and 4 deletions

View File

@@ -87,7 +87,7 @@
{{ ExpandedForm.text('transaction_description') }}
{# transaction information (mandatory) #}
{{ CurrencyForm.currencyList('transaction_currency_id', defaultCurrency.id) }}
{{ ExpandedForm.amountNoCurrency('amount', []) }}
{{ ExpandedForm.amountNoCurrency('amount') }}
{# source account if withdrawal, or if transfer: #}
{{ AccountForm.activeLongAccountList('source_id', null, {label: trans('form.asset_source_account')}) }}
@@ -115,8 +115,8 @@
</div>
<div class="box-body">
{# transaction information (optional) #}
{{ CurrencyForm.currencyListEmpty('foreign_currency_id', 0) }}
{{ ExpandedForm.amountNoCurrency('foreign_amount', []) }}
{{ CurrencyForm.currencyListEmpty('foreign_currency_id') }}
{{ ExpandedForm.amountNoCurrency('foreign_amount') }}
{# BUDGET ONLY WHEN CREATING A WITHDRAWAL #}
{% if budgets|length > 1 %}
@@ -132,7 +132,7 @@
{{ ExpandedForm.text('tags') }}
{# RELATE THIS TRANSFER TO A PIGGY BANK #}
{{ PiggyBankForm.piggyBankList('piggy_bank_id',0) }}
{{ PiggyBankForm.piggyBankList('piggy_bank_id') }}
</div>
</div>
</div>

View File

@@ -310,6 +310,10 @@
<i class="fa fa-fw fa-random"></i>
{{ 'create_rule_from_transaction'|_ }}
</a>
<a href="{{ route('recurring.create-from-journal', [journal.transaction_journal_id]) }}" class="btn btn-default">
<i class="fa fa-fw fa-paint-brush"></i>
{{ 'create_recurring_from_transaction'|_ }}
</a>
</div>
</div>
</div>