2022-01-29 07:15:34 -06:00
|
|
|
{% set VUE_SCRIPT_NAME = 'create_transaction' %}
|
2022-01-29 07:19:01 -06:00
|
|
|
{% extends './layout/default' %}
|
2022-01-29 07:15:34 -06:00
|
|
|
{% block breadcrumbs %}
|
|
|
|
{{ Breadcrumbs.render(Route.getCurrentRoute.getName, objectType) }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="create_transaction"></div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
|
|
<script type="text/javascript" nonce="{{ JS_NONCE }}">
|
|
|
|
var allowedOpposingTypes = {{ allowedOpposingTypes|json_encode|raw }};
|
|
|
|
var accountToTypes = {{ accountToTypes|json_encode|raw }};
|
|
|
|
var defaultCurrency = {{ defaultCurrency.toArray()|json_encode|raw }};
|
|
|
|
var cashAccountId = {{ cash.id }};
|
|
|
|
var previousUrl = '{{ previousUrl }}';
|
|
|
|
window.sourceId = {{ sourceId }};
|
|
|
|
window.destinationId = {{ destinationId }};
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|