Can now create transfers with different currencies.

This commit is contained in:
James Cole
2017-04-14 22:25:48 +02:00
parent e2fe8cfb75
commit a27f5d2474
6 changed files with 165 additions and 29 deletions

View File

@@ -52,6 +52,10 @@
{{ ExpandedForm.nonSelectableAmount('native_amount') }}
{{ ExpandedForm.nonSelectableAmount('source_amount') }}
{{ ExpandedForm.nonSelectableAmount('destination_amount') }}
{# ALWAYS SHOW DATE #}
{{ ExpandedForm.date('date', preFilled.date|default(phpdate('Y-m-d'))) }}
</div>
@@ -215,6 +219,8 @@
var middleCrumbUrl = [];
var button = [];
var exchangeRateInstructions = "{{ 'exchange_rate_instructions'|_|escape('js') }}";
var transferInstructions = "{{ 'transfer_exchange_rate_instructions'|_|escape('js') }}";
{% for type in {0:'withdrawal',1:'deposit',2:'transfer'} %}
txt['{{ type }}'] = '{{ type|_ }}';