{% extends './layout/default' %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName, recurrence) }} {% endblock %} {% block content %} {{ Form.model(recurrence, {'class' : 'form-horizontal','enctype': 'multipart/form-data','id' : 'update','url' : route('recurring.update', recurrence.id)}) }} {# row with recurrence information #}
{{ 'mandatory_fields_for_tranaction'|_ }}
{# three buttons to distinguish type of transaction#} {# end of three buttons#} {{ ExpandedForm.text('transaction_description', array.transactions[0].description) }} {# transaction information (mandatory) #} {{ CurrencyForm.currencyList('transaction_currency_id', array.transactions[0].currency_id) }} {{ ExpandedForm.amountNoCurrency('amount', array.transactions[0].amount) }} {# source account if withdrawal, or if transfer: #} {{ AccountForm.longAccountList('source_id', array.transactions[0].source_id, {label: trans('form.asset_source_account')}) }} {# NEW for deposits, a drop down with revenue accounts, loan debt cash and mortgage #} {{ AccountForm.activeDepositDestinations('deposit_source_id', preFilled.deposit_source_id, {label: trans('form.deposit_source_id')}) }} {# destination if deposit or transfer: #} {{ AccountForm.longAccountList('destination_id', array.transactions[0].destination_id, {label: trans('form.asset_destination_account')} ) }} {# NEW for withdrawals, also a drop down with expense accounts, loans, debts, mortgages or (cash). #} {{ AccountForm.activeWithdrawalDestinations('withdrawal_destination_id', preFilled.withdrawal_destination_id, {label: trans('form.withdrawal_destination_id')}) }}