2015-03-19 19:36:11 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2022-05-30 01:30:33 +00:00
|
|
|
<vn-lot-query id="params">
|
|
|
|
<vn-spec name="address" type="Number"/>
|
|
|
|
</vn-lot-query>
|
2022-05-24 21:11:12 +00:00
|
|
|
<db-form id="iter" on-status-changed="this.onStatusChange()">
|
2015-12-10 13:48:43 +00:00
|
|
|
<db-model
|
|
|
|
id="model"
|
|
|
|
property="model"
|
|
|
|
updatable="true"
|
|
|
|
mode="ON_DEMAND"
|
2022-05-30 01:30:33 +00:00
|
|
|
lot="params"
|
2022-05-24 21:11:12 +00:00
|
|
|
on-operations-done="this.onOperationsDone()">
|
2018-05-16 15:21:15 +00:00
|
|
|
SELECT a.id, a.street, a.nickname, a.city,
|
2018-09-13 11:23:50 +00:00
|
|
|
a.postalCode, a.provinceFk, p.countryFk
|
2018-05-16 15:21:15 +00:00
|
|
|
FROM myAddress a
|
|
|
|
LEFT JOIN vn.province p ON p.id = a.provinceFk
|
|
|
|
WHERE a.id = #address
|
2015-03-19 19:36:11 +00:00
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
2022-05-21 21:31:56 +00:00
|
|
|
<h1><t>Configuration</t></h1>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="actions">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="close"
|
2016-01-07 12:58:29 +00:00
|
|
|
tip="_Return"
|
2022-05-30 01:30:33 +00:00
|
|
|
on-click="window.history.back()"/>
|
2022-05-21 21:31:56 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="check"
|
|
|
|
tip="_Accept"
|
2022-06-18 21:04:34 +00:00
|
|
|
on-click="iter.performOperations()"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2022-11-24 13:49:48 +00:00
|
|
|
<div id="form" class="hedera-address">
|
2022-05-26 06:08:31 +00:00
|
|
|
<div class="form box vn-w-sm vn-pa-lg">
|
|
|
|
<h5 class="vn-mb-md">
|
|
|
|
<t>AddEditAddress</t>
|
|
|
|
</h5>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_Name"
|
2022-10-03 12:49:41 +00:00
|
|
|
form="iter" column="nickname"/>
|
2022-05-26 06:08:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_Address"
|
2022-10-03 12:49:41 +00:00
|
|
|
form="iter" column="street"/>
|
2022-05-26 06:08:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_City"
|
2022-10-03 12:49:41 +00:00
|
|
|
form="iter" column="city"/>
|
2022-05-26 06:08:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_ZipCode"
|
2022-10-03 12:49:41 +00:00
|
|
|
form="iter" column="postalCode"/>
|
2022-05-26 06:08:31 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-combo
|
2022-06-06 12:49:18 +00:00
|
|
|
placeholder="_Country"
|
2022-10-03 12:49:41 +00:00
|
|
|
form="iter" column="countryFk"
|
2022-06-06 12:49:18 +00:00
|
|
|
id="country"
|
2022-10-03 12:49:41 +00:00
|
|
|
one-way="true"
|
|
|
|
one-time="true">
|
2022-05-26 06:08:31 +00:00
|
|
|
<db-model property="model">
|
2024-05-07 05:29:00 +00:00
|
|
|
SELECT id, name FROM vn.country
|
2024-05-07 12:05:44 +00:00
|
|
|
ORDER BY name
|
2022-05-26 06:08:31 +00:00
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-combo
|
|
|
|
placeholder="_Province"
|
|
|
|
column="provinceFk"
|
|
|
|
form="iter">
|
2022-06-06 12:49:18 +00:00
|
|
|
<db-model property="model" lot="country">
|
2022-05-26 06:08:31 +00:00
|
|
|
SELECT id, name FROM vn.province
|
2022-06-06 12:49:18 +00:00
|
|
|
WHERE countryFk = #id
|
2022-05-26 06:08:31 +00:00
|
|
|
ORDER BY name
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
2015-03-19 19:36:11 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|