change computer.
This commit is contained in:
1 parent
fe32c526eb
commit
358fb19076
10 files changed
+96
-12
No files matched your search
@@ -1,4 +1,9 @@
|
||||
|
||||
<input type="hidden"
|
||||
name="event.CreateWireTransfer.id"
|
||||
value="897898">
|
||||
|
||||
|
||||
<input type="hidden"
|
||||
name="event.CreateWireTransfer.drawer_user_id"
|
||||
value="{{ user.id }}">
|
||||
@@ -7,12 +12,12 @@
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label"> Drawer Account
|
||||
<select class="uk-select"
|
||||
name="event.CreateWireTransfer.emitter_account"
|
||||
id="event.CreateWireTransfer.emitter_account"
|
||||
name="event.CreateWireTransfer.drawer_account_id"
|
||||
id="event.CreateWireTransfer.drawer_account_id"
|
||||
hx-get="/partials/actions/accounts-by-security-selectors"
|
||||
hx-trigger="change,load"
|
||||
hx-target="#onetwothree"
|
||||
hx-vals="js:{'sec-id': document.getElementById('event.CreateWireTransfer.emitter_account').options[document.getElementById('event.CreateWireTransfer.emitter_account').selectedIndex].getAttribute('data-sec-id')}"
|
||||
hx-vals="js:{'sec-id': document.getElementById('event.CreateWireTransfer.drawer_account_id').options[document.getElementById('event.CreateWireTransfer.drawer_account_id').selectedIndex].getAttribute('data-sec-id')}"
|
||||
hx-swap="innerHtml">
|
||||
{% for account in emitter_accounts %}
|
||||
<option value="{{ account.id }}" data-sec-id="{{ account.security.id }}">
|
||||
@@ -27,7 +32,7 @@
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label"> Payee Accounts
|
||||
<select class="uk-select"
|
||||
name="event.CreateWireTransfer.payee_account"
|
||||
name="event.CreateWireTransfer.payee_account_id"
|
||||
id="onetwothree">
|
||||
</select>
|
||||
</label>
|
||||
|
||||
Reference in new issue
Block a user