2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2015-07-23 15:58:48 +00:00
|
|
|
<db-form id="user-form">
|
2015-11-17 10:34:33 +00:00
|
|
|
<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>
|
2015-03-06 23:33:54 +00:00
|
|
|
</db-model>
|
|
|
|
</db-form>
|
2015-03-27 19:10:49 +00:00
|
|
|
<db-model id="addresses" updatable="true">
|
2015-11-17 10:34:33 +00:00
|
|
|
<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>
|
2015-03-19 19:36:11 +00:00
|
|
|
</db-model>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Configuration</t></h1>
|
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="actions">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="place"
|
2015-09-16 16:11:15 +00:00
|
|
|
tip="_Addresses"
|
2016-09-19 06:40:18 +00:00
|
|
|
on-click="onAddressesClick"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-03-19 19:36:11 +00:00
|
|
|
<div id="form" class="conf">
|
2015-03-06 23:33:54 +00:00
|
|
|
<div class="box">
|
|
|
|
<div class="form">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="user-name"><t>UserName</t></label>
|
2015-07-23 15:58:48 +00:00
|
|
|
<htk-text column="name" form="user-form"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="user-pass"><t>Password</t></label>
|
2015-03-27 19:10:49 +00:00
|
|
|
<input
|
|
|
|
id="new-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_NewPassword"
|
|
|
|
on-change="onPasswordChange"/>
|
|
|
|
<input
|
|
|
|
id="repeat-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_RepeatPassword"
|
|
|
|
on-change="onPasswordChange"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</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">
|
2015-07-23 15:58:48 +00:00
|
|
|
<label for="mail"><t>ReceiveInvoicesByEmail</t></label>
|
2015-03-06 23:33:54 +00:00
|
|
|
<htk-check column="mail" form="user-form"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|