forked from verdnatura/hedera-web
65 lines
1.7 KiB
XML
Executable File
65 lines
1.7 KiB
XML
Executable File
<vn>
|
|
<vn-group>
|
|
<db-form id="user-form">
|
|
<db-model property="model" id="user-model" updatable="true">
|
|
<custom>
|
|
SELECT id, u.name, email, mail, c.user_id, c.default_address
|
|
FROM user_view u
|
|
LEFT JOIN customer_view c
|
|
ON u.id = c.user_id
|
|
</custom>
|
|
</db-model>
|
|
</db-form>
|
|
<db-model id="addresses" updatable="true">
|
|
<custom>
|
|
SELECT a.id, a.consignee, p.name province, a.zip_code, a.city, a.name, a.active, c.Pais country
|
|
FROM address_view a
|
|
LEFT JOIN vn2008.province p ON a.province_id = p.province_id
|
|
JOIN vn2008.Paises c ON c.Id = p.Paises_Id
|
|
WHERE active != FALSE
|
|
</custom>
|
|
</db-model>
|
|
</vn-group>
|
|
<div id="title">
|
|
<h1><t>Configuration</t></h1>
|
|
</div>
|
|
<div id="actions">
|
|
<htk-button
|
|
image="image/dark/shipping.svg"
|
|
tip="_Addresses"
|
|
on-click="onAddressesClick"
|
|
showText="true"/>
|
|
</div>
|
|
<div id="form" class="conf">
|
|
<div class="box">
|
|
<div class="form">
|
|
<div class="form-group">
|
|
<label for="user-name"><t>UserName</t></label>
|
|
<htk-text column="name" form="user-form"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="user-pass"><t>Password</t></label>
|
|
<input
|
|
id="new-password"
|
|
type="password"
|
|
placeholder="_NewPassword"
|
|
on-change="onPasswordChange"/>
|
|
<input
|
|
id="repeat-password"
|
|
type="password"
|
|
placeholder="_RepeatPassword"
|
|
on-change="onPasswordChange"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email"><t>Email</t></label>
|
|
<htk-entry column="email" form="user-form"></htk-entry>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="mail"><t>ReceiveInvoicesByEmail</t></label>
|
|
<htk-check column="mail" form="user-form"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</vn>
|