2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2016-10-11 14:45:10 +00:00
|
|
|
<db-form id="password-form">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT length, nAlpha, nUpper, nDigits, nPunct
|
|
|
|
FROM account.userPassword
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
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>
|
2016-10-14 10:58:35 +00:00
|
|
|
SELECT u.id, u.name, u.recoverPass,
|
|
|
|
c.email, c.mail, c.user_id
|
2016-10-11 14:45:10 +00:00
|
|
|
FROM account.userView u
|
2016-10-14 10:58:35 +00:00
|
|
|
LEFT JOIN customer_view c
|
|
|
|
ON u.id = c.user_id
|
2015-11-17 10:34:33 +00:00
|
|
|
</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>
|
2016-10-14 10:58:35 +00:00
|
|
|
SELECT a.id, a.consignee, p.name province,
|
|
|
|
a.zip_code, a.city, a.name, a.active, c.Pais country
|
2015-11-17 10:34:33 +00:00
|
|
|
FROM address_view a
|
2016-10-14 10:58:35 +00:00
|
|
|
LEFT JOIN vn2008.province p ON a.province_id = p.province_id
|
|
|
|
JOIN vn2008.Paises c ON c.Id = p.Paises_Id
|
|
|
|
WHERE active
|
2015-11-17 10:34:33 +00:00
|
|
|
</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"/>
|
2016-10-11 14:45:10 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="preferences"
|
|
|
|
tip="_Change password"
|
|
|
|
on-click="onPassChangeClick"/>
|
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="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>
|
2016-10-11 14:45:10 +00:00
|
|
|
<htk-popup
|
|
|
|
id="change-password"
|
|
|
|
modal="true">
|
|
|
|
<div property="child-node" class="dialog pass-change">
|
|
|
|
<div>
|
|
|
|
<input
|
|
|
|
id="old-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_Old password"/>
|
|
|
|
<input
|
|
|
|
id="new-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_New password"/>
|
|
|
|
<input
|
|
|
|
id="repeat-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_Repeat password"/>
|
|
|
|
</div>
|
|
|
|
<button class="thin" on-click="onPassModifyClick">
|
|
|
|
<t>Modify</t>
|
|
|
|
</button>
|
|
|
|
<button class="thin" on-click="onPassInfoClick">
|
|
|
|
<t>Info</t>
|
|
|
|
</button>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
|
|
|
</htk-popup>
|
|
|
|
<htk-popup
|
|
|
|
id="password-info"
|
|
|
|
modal="true">
|
|
|
|
<div property="child-node" class="dialog pass-info">
|
|
|
|
<h3>
|
|
|
|
<t>Password requirements</t>
|
|
|
|
</h3>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="length"/>
|
|
|
|
<t>characters long</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nAlpha"/>
|
|
|
|
<t>alphabetic characters</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nUpper"/>
|
|
|
|
<t>capital letters</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nDigits"/>
|
|
|
|
<t>digits</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nPunct"/>
|
|
|
|
<t>symbols</t>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</htk-popup>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn>
|