2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2016-05-04 14:36:51 +00:00
|
|
|
<vn-param id="card-item"/>
|
2016-01-07 12:58:29 +00:00
|
|
|
<vn-param id="realm" on-changed="onRealmChange"/>
|
2015-11-09 08:14:33 +00:00
|
|
|
<vn-param id="type" on-changed="onTypeChange"/>
|
2016-01-10 13:10:51 +00:00
|
|
|
<vn-param id="search" on-changed="onFilterChange"/>
|
|
|
|
<vn-param id="color" on-changed="onFilterChange"/>
|
|
|
|
<vn-param id="origin" on-changed="onFilterChange"/>
|
|
|
|
<vn-param id="category" on-changed="onFilterChange"/>
|
|
|
|
<vn-param id="producer" on-changed="onFilterChange"/>
|
2016-01-07 12:58:29 +00:00
|
|
|
<vn-hash-param key="realm" param="realm"/>
|
|
|
|
<vn-hash-param key="type" param="type"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
<sql-filter type="AND" id="filter">
|
2015-11-19 13:57:23 +00:00
|
|
|
<sql-filter-item type="EQUAL" primary="false" id="op-realm">
|
|
|
|
<sql-field name="reino_id" target="t"/>
|
2016-01-07 12:58:29 +00:00
|
|
|
<sql-value id="realm-value"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</sql-filter-item>
|
2016-01-07 12:58:29 +00:00
|
|
|
<sql-filter-item type="EQUAL" id="op-type">
|
|
|
|
<sql-field name="tipo_id" target="a"/>
|
|
|
|
<sql-value id="type-value"/>
|
2015-11-19 13:57:23 +00:00
|
|
|
</sql-filter-item>
|
2015-11-17 10:34:33 +00:00
|
|
|
<sql-filter-item type="LIKE" id="op-name">
|
2015-03-06 23:33:54 +00:00
|
|
|
<sql-field name="Article"/>
|
|
|
|
<sql-search-tags param="search"/>
|
|
|
|
</sql-filter-item>
|
2015-11-17 10:34:33 +00:00
|
|
|
<sql-filter-item type="EQUAL" id="op-color">
|
|
|
|
<sql-field name="Color"/>
|
|
|
|
<sql-value param="color"/>
|
|
|
|
</sql-filter-item>
|
|
|
|
<sql-filter-item type="EQUAL" id="op-origin">
|
|
|
|
<sql-field name="id_origen"/>
|
|
|
|
<sql-value param="origin"/>
|
|
|
|
</sql-filter-item>
|
|
|
|
<sql-filter-item type="EQUAL" id="op-category">
|
|
|
|
<sql-field name="Categoria"/>
|
|
|
|
<sql-value param="category"/>
|
|
|
|
</sql-filter-item>
|
|
|
|
<sql-filter-item type="EQUAL" id="op-producer">
|
|
|
|
<sql-field name="producer_id"/>
|
|
|
|
<sql-value param="producer"/>
|
|
|
|
</sql-filter-item>
|
2015-03-06 23:33:54 +00:00
|
|
|
</sql-filter>
|
2016-05-04 14:36:51 +00:00
|
|
|
<db-form id="basket" on-ready="onBasketReady">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT o.id, o.date_send, ag.description agency, v.code method
|
|
|
|
FROM basket o
|
|
|
|
JOIN vn2008.Agencias ag ON ag.Id_Agencia = o.agency_id
|
|
|
|
JOIN vn2008.Vistas v ON v.vista_id = o.delivery_method_id
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
2015-07-30 17:31:09 +00:00
|
|
|
<db-query id="basket-lines">
|
2015-11-09 17:11:51 +00:00
|
|
|
<custom>
|
|
|
|
SELECT item_id, warehouse_id, SUM(amount) amount
|
|
|
|
FROM basket_item
|
|
|
|
GROUP BY warehouse_id
|
|
|
|
</custom>
|
2015-07-30 17:31:09 +00:00
|
|
|
</db-query>
|
2016-05-04 14:36:51 +00:00
|
|
|
<db-model
|
|
|
|
id="items-model"
|
|
|
|
result-index="2"
|
|
|
|
on-status-changed="onItemsChange">
|
2015-11-09 08:14:33 +00:00
|
|
|
<custom>
|
|
|
|
CREATE TEMPORARY TABLE tmp.bionic_calc
|
|
|
|
(INDEX (item_id))
|
|
|
|
ENGINE=MEMORY
|
2015-11-19 13:57:23 +00:00
|
|
|
SELECT a.Id_Article item_id FROM vn2008.Articles a
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
2015-11-09 08:14:33 +00:00
|
|
|
WHERE #filter;
|
|
|
|
CALL bionic_calc ();
|
2015-11-19 13:57:23 +00:00
|
|
|
SELECT a.Id_Article item_id, a.description, b.available, b.price,
|
2016-05-04 14:36:51 +00:00
|
|
|
b.producer, a.Foto, a.Article, a.Categoria, a.Medida,
|
|
|
|
IF(a.Tallos > 1, a.Tallos, NULL) Tallos, c.str color
|
2015-11-19 13:57:23 +00:00
|
|
|
FROM tmp.bionic_item b
|
|
|
|
JOIN vn2008.Articles a ON a.Id_Article = b.item_id
|
2015-11-09 17:11:51 +00:00
|
|
|
LEFT JOIN vn2008.producer p ON p.producer_id = a.producer_id
|
2015-11-19 13:57:23 +00:00
|
|
|
LEFT JOIN vn_locale.color_view c ON c.color_id = a.Color
|
|
|
|
LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen
|
|
|
|
WHERE b.available > 0
|
2015-11-09 08:14:33 +00:00
|
|
|
ORDER BY a.Article, a.Medida
|
|
|
|
LIMIT 400;
|
|
|
|
</custom>
|
2015-11-19 13:57:23 +00:00
|
|
|
<sql-batch property="batch" id="filter-batch">
|
|
|
|
<custom>
|
|
|
|
<item name="filter" object="filter"/>
|
|
|
|
</custom>
|
2015-07-07 15:27:47 +00:00
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
2016-05-04 14:36:51 +00:00
|
|
|
<db-form id="card" model="items-model"/>
|
|
|
|
<sql-batch id="card-batch">
|
|
|
|
<custom>
|
|
|
|
<item name="item" param="card-item"/>
|
|
|
|
</custom>
|
|
|
|
</sql-batch>
|
|
|
|
<db-form id="card-extend">
|
|
|
|
<db-model
|
|
|
|
property="model"
|
|
|
|
batch="card-batch"
|
|
|
|
on-status-changed-after="onStatusChange">
|
|
|
|
<custom>
|
|
|
|
SELECT a.description, o.str origin
|
|
|
|
FROM vn2008.Articles a
|
|
|
|
LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen
|
|
|
|
WHERE a.Id_Article = #item
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
<db-model
|
|
|
|
id="item-lots"
|
|
|
|
result-index="1"
|
|
|
|
on-status-changed-after="onStatusChange"
|
|
|
|
batch="card-batch">
|
2015-11-09 08:14:33 +00:00
|
|
|
<custom>
|
|
|
|
CALL bionic_from_item (#item);
|
2015-11-17 10:34:33 +00:00
|
|
|
SELECT p.warehouse_id, w.name warehouse, p.grouping, p.price, p.rate, l.available
|
2015-11-09 08:14:33 +00:00
|
|
|
FROM tmp.bionic_lot l
|
2015-11-17 10:34:33 +00:00
|
|
|
JOIN tmp.bionic_price p ON p.warehouse_id = l.warehouse_id
|
|
|
|
JOIN vn2008.warehouse w ON w.id = p.warehouse_id
|
2015-11-09 08:14:33 +00:00
|
|
|
ORDER BY warehouse_id, grouping;
|
|
|
|
</custom>
|
2015-03-09 08:36:54 +00:00
|
|
|
</db-model>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn-group>
|
2017-03-17 12:42:10 +00:00
|
|
|
<h1 id="title">
|
|
|
|
<t>Catalog</t>
|
|
|
|
</h1>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="actions" class="catalog-actions">
|
2016-01-07 12:58:29 +00:00
|
|
|
<button class="menu" on-click="onShowMenuClick">
|
2016-09-19 06:40:18 +00:00
|
|
|
<img src="image/icon/dark/menu.svg" alt="_Menu"/>
|
2016-01-07 12:58:29 +00:00
|
|
|
</button>
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="basket"
|
2015-09-16 16:11:15 +00:00
|
|
|
tip="_ShoppingBasket"
|
2016-09-19 06:40:18 +00:00
|
|
|
on-click="onBasketClick"/>
|
|
|
|
<htk-bar-button
|
2016-01-07 12:58:29 +00:00
|
|
|
id="view-button"
|
|
|
|
tip="_Switch view"
|
2016-09-19 06:40:18 +00:00
|
|
|
on-click="onSwitchViewClick"/>
|
2016-01-07 12:58:29 +00:00
|
|
|
<htk-search-entry
|
|
|
|
param="search"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="catalog">
|
2016-01-08 21:00:02 +00:00
|
|
|
<div id="main" class="main">
|
|
|
|
<htk-repeater
|
|
|
|
id="grid-view"
|
|
|
|
empty-message="_Choose filter from right menu"
|
|
|
|
form-id="item"
|
|
|
|
model="items-model">
|
|
|
|
<custom>
|
2016-12-23 08:57:49 +00:00
|
|
|
<div class="card item-box">
|
2016-05-02 13:05:49 +00:00
|
|
|
<htk-image
|
|
|
|
directory="catalog"
|
|
|
|
subdir="200x200"
|
|
|
|
form="item"
|
|
|
|
column="Foto"
|
2016-05-04 14:36:51 +00:00
|
|
|
full-dir="900x900"/>
|
2016-01-08 21:00:02 +00:00
|
|
|
<div class="item-info">
|
|
|
|
<htk-button
|
|
|
|
form="item"
|
2015-07-07 15:27:47 +00:00
|
|
|
column="id"
|
|
|
|
tip="_AddToBasket"
|
2016-09-19 06:40:18 +00:00
|
|
|
icon="add"
|
2016-05-04 14:36:51 +00:00
|
|
|
on-click="onAddItemClick"
|
2016-01-08 21:00:02 +00:00
|
|
|
class="add-button"/>
|
|
|
|
<h2>
|
|
|
|
<htk-text form="item" column="Article"/>
|
|
|
|
</h2>
|
|
|
|
<p class="producer">
|
|
|
|
<htk-text form="item" column="producer"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<t>Size</t> <htk-text form="item" column="Medida"/>,
|
|
|
|
<t>Category</t> <htk-text form="item" column="Categoria"/>
|
|
|
|
</p>
|
|
|
|
<p class="color">
|
|
|
|
<t>Color</t> <htk-text form="item" column="color"/>
|
|
|
|
<htk-text form="item" column="Tallos" format="_, %.0d Units"/>
|
|
|
|
</p>
|
2016-05-04 14:36:51 +00:00
|
|
|
<div class="aval-price">
|
|
|
|
<htk-text form="item" column="available"/>
|
|
|
|
<span class="from">
|
|
|
|
<t>from</t>
|
|
|
|
</span>
|
|
|
|
<span class="price">
|
|
|
|
<htk-text form="item" column="price" format="%.2d€"/>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-01-08 21:00:02 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
2016-01-08 21:00:02 +00:00
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="right-panel" class="right-panel" on-click="onRightPanelClick">
|
2016-01-07 12:58:29 +00:00
|
|
|
<div class="basket-info">
|
2015-03-27 19:10:49 +00:00
|
|
|
<p>
|
2016-10-20 08:37:08 +00:00
|
|
|
<htk-text form="basket" column="date_send" format="%D"/>
|
2015-03-27 19:10:49 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2015-12-10 13:48:43 +00:00
|
|
|
<span id="method"/>
|
|
|
|
<htk-text form="basket" column="agency"/>
|
2015-03-27 19:10:49 +00:00
|
|
|
</p>
|
2015-12-10 13:48:43 +00:00
|
|
|
<button class="thin" on-click="onConfigureClick">
|
2015-12-10 23:24:14 +00:00
|
|
|
<t>Change</t>
|
2015-12-10 13:48:43 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
2016-01-07 12:58:29 +00:00
|
|
|
<div class="filter">
|
|
|
|
<div class="categories">
|
|
|
|
<div class="realms">
|
|
|
|
<htk-repeater
|
|
|
|
model="realms-model"
|
|
|
|
form-id="realm-form"
|
|
|
|
renderer="realmRenderer"
|
|
|
|
class="realms-box">
|
|
|
|
<db-model
|
|
|
|
id="realms-model"
|
|
|
|
property="model"
|
|
|
|
on-status-changed="refreshTitleColor">
|
|
|
|
<custom>
|
|
|
|
SELECT r.id, l.str name, r.color
|
|
|
|
FROM vn2008.reinos r
|
|
|
|
LEFT JOIN vn_locale.realm_view l ON l.realm_id = r.id
|
|
|
|
WHERE r.display != FALSE
|
|
|
|
ORDER BY name
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<custom>
|
|
|
|
<a id="link">
|
|
|
|
<img id="image"/>
|
|
|
|
</a>
|
|
|
|
</custom>
|
|
|
|
</htk-repeater>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="realm-msg" class="realm-msg">
|
|
|
|
<h1><t>Choose a realm</t></h1>
|
|
|
|
</div>
|
|
|
|
<div id="filters" class="filters">
|
|
|
|
<h2><t>Filter by</t></h2>
|
|
|
|
<vn-filter
|
|
|
|
placeholder="_Family"
|
|
|
|
param="type">
|
|
|
|
<db-model
|
|
|
|
id="types-model"
|
|
|
|
property="model"
|
|
|
|
conn="conn"
|
|
|
|
result-index="1"
|
|
|
|
on-status-changed="refreshTitle">
|
|
|
|
<custom>
|
|
|
|
CALL item_available ();
|
|
|
|
SELECT DISTINCT t.tipo_id, l.str name
|
|
|
|
FROM vn2008.Tipos t
|
|
|
|
JOIN vn2008.Articles a ON a.tipo_id = t.tipo_id
|
|
|
|
LEFT JOIN vn_locale.family_view l ON l.family_id = t.tipo_id
|
|
|
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
|
|
|
WHERE #filter
|
|
|
|
ORDER BY name
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<sql-filter property="filter" type="AND">
|
|
|
|
<sql-filter-item type="EQUAL">
|
|
|
|
<sql-field name="reino_id" target="t"/>
|
|
|
|
<sql-value param="realm"/>
|
|
|
|
</sql-filter-item>
|
|
|
|
</sql-filter>
|
|
|
|
</vn-filter>
|
|
|
|
<vn-filter
|
|
|
|
placeholder="_Color"
|
|
|
|
param="color">
|
|
|
|
<db-model property="model" auto-load="false" result-index="1">
|
|
|
|
<custom>
|
|
|
|
CALL item_available ();
|
|
|
|
SELECT DISTINCT c.Id_Tinta, l.str name
|
|
|
|
FROM vn2008.Tintas c
|
|
|
|
JOIN vn2008.Articles a ON a.Color = c.Id_Tinta
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
|
|
|
LEFT JOIN vn_locale.color_view l ON l.color_id = c.Id_Tinta
|
|
|
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
|
|
|
WHERE #filter
|
|
|
|
ORDER BY name
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<sql-filter property="filter" always-ready="true" type="AND">
|
|
|
|
<pointer object="op-realm"/>
|
|
|
|
<pointer object="op-type"/>
|
|
|
|
<pointer object="op-name"/>
|
|
|
|
<pointer object="op-origin"/>
|
|
|
|
<pointer object="op-category"/>
|
|
|
|
<pointer object="op-producer"/>
|
|
|
|
</sql-filter>
|
|
|
|
</vn-filter>
|
|
|
|
<vn-filter
|
|
|
|
placeholder="_Producer"
|
|
|
|
param="producer">
|
|
|
|
<db-model property="model" auto-load="false" result-index="1">
|
|
|
|
<custom>
|
|
|
|
CALL item_available ();
|
|
|
|
SELECT DISTINCT p.producer_id, p.name
|
|
|
|
FROM vn2008.producer p
|
|
|
|
JOIN vn2008.Articles a ON a.producer_id = p.producer_id
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
|
|
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
|
|
|
WHERE #filter
|
|
|
|
ORDER BY name
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<sql-filter property="filter" always-ready="true" type="AND">
|
|
|
|
<pointer object="op-realm"/>
|
|
|
|
<pointer object="op-type"/>
|
|
|
|
<pointer object="op-name"/>
|
|
|
|
<pointer object="op-origin"/>
|
|
|
|
<pointer object="op-color"/>
|
|
|
|
<pointer object="op-category"/>
|
|
|
|
</sql-filter>
|
|
|
|
</vn-filter>
|
|
|
|
<vn-filter
|
|
|
|
placeholder="_Origin"
|
|
|
|
param="origin">
|
|
|
|
<db-model property="model" auto-load="false" result-index="1">
|
|
|
|
<custom>
|
|
|
|
CALL item_available ();
|
|
|
|
SELECT DISTINCT o.id, l.str name, o.Abreviatura
|
|
|
|
FROM vn2008.Origen o
|
|
|
|
JOIN vn2008.Articles a ON a.id_origen = o.id
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
|
|
|
LEFT JOIN vn_locale.origin_view l ON l.origin_id = o.id
|
|
|
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
|
|
|
WHERE #filter
|
|
|
|
ORDER BY name
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<sql-filter property="filter" always-ready="true" type="AND">
|
|
|
|
<pointer object="op-realm"/>
|
|
|
|
<pointer object="op-type"/>
|
|
|
|
<pointer object="op-name"/>
|
|
|
|
<pointer object="op-color"/>
|
|
|
|
<pointer object="op-category"/>
|
|
|
|
<pointer object="op-producer"/>
|
|
|
|
</sql-filter>
|
|
|
|
</vn-filter>
|
|
|
|
<vn-filter
|
|
|
|
placeholder="_Category"
|
|
|
|
param="category">
|
|
|
|
<db-model property="model" auto-load="false" result-index="1">
|
|
|
|
<custom>
|
|
|
|
CALL item_available ();
|
|
|
|
SELECT DISTINCT a.Categoria, a.Categoria category
|
|
|
|
FROM vn2008.Articles a
|
|
|
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
|
|
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
|
|
|
WHERE #filter
|
|
|
|
ORDER BY a.Categoria
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
<sql-filter property="filter" always-ready="true" type="AND">
|
|
|
|
<pointer object="op-realm"/>
|
|
|
|
<pointer object="op-type"/>
|
|
|
|
<pointer object="op-name"/>
|
|
|
|
<pointer object="op-color"/>
|
|
|
|
<pointer object="op-origin"/>
|
|
|
|
<pointer object="op-producer"/>
|
|
|
|
</sql-filter>
|
|
|
|
</vn-filter>
|
|
|
|
</div>
|
|
|
|
<div id="order" class="order">
|
|
|
|
<h2><t>Order by</t></h2>
|
|
|
|
<select on-change="onOrderChange">
|
|
|
|
<option value="A|Article" selected="true">
|
|
|
|
<t>Name</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|price">
|
|
|
|
<t>Lower price</t>
|
|
|
|
</option>
|
|
|
|
<option value="D|price">
|
|
|
|
<t>Higher price</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|available">
|
|
|
|
<t>Available</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|Medida">
|
|
|
|
<t>Lower size</t>
|
|
|
|
</option>
|
|
|
|
<option value="D|Medida">
|
|
|
|
<t>Higher size</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|color">
|
|
|
|
<t>Color</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|producer">
|
|
|
|
<t>Producer</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|Abreviatura">
|
|
|
|
<t>Origin</t>
|
|
|
|
</option>
|
|
|
|
<option value="A|Categoria">
|
|
|
|
<t>Category</t>
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2015-10-14 11:51:43 +00:00
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
2016-01-07 12:58:29 +00:00
|
|
|
<htk-popup id="desc-popup">
|
|
|
|
<div
|
|
|
|
property="child-node"
|
|
|
|
class="desc-popup"
|
|
|
|
id="description"/>
|
|
|
|
</htk-popup>
|
2016-05-04 14:36:51 +00:00
|
|
|
<htk-popup
|
|
|
|
id="card-popup"
|
|
|
|
class="card-popup"
|
|
|
|
modal="true"
|
|
|
|
on-closed="onPopupClose">
|
|
|
|
<div property="child-node" class="item-card">
|
|
|
|
<div class="top">
|
|
|
|
<htk-image
|
|
|
|
directory="catalog"
|
|
|
|
subdir="200x200"
|
|
|
|
form="card"
|
|
|
|
column="Foto"
|
|
|
|
full-dir="900x900"
|
2016-10-11 14:45:10 +00:00
|
|
|
conn="conn"
|
2016-05-04 14:36:51 +00:00
|
|
|
editable="true"/>
|
|
|
|
<div class="item-info">
|
|
|
|
<h2>
|
|
|
|
<htk-text form="card" column="Article"/>
|
|
|
|
</h2>
|
|
|
|
<p class="producer">
|
|
|
|
<htk-text form="card" column="producer"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<t>Size</t> <htk-text form="card" column="Medida"/>,
|
|
|
|
<t>Category</t> <htk-text form="card" column="Categoria"/>
|
|
|
|
</p>
|
|
|
|
<p class="color">
|
|
|
|
<t>Color</t> <htk-text form="card" column="color"/>
|
|
|
|
<htk-text form="card" column="Tallos" format="_, %.0d Units"/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<t>Origin</t> <htk-text form="card-extend" column="origin"/>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<p class="desc">
|
|
|
|
<htk-text form="card-extend" column="description" id="desc"/>
|
|
|
|
</p>
|
|
|
|
</div>
|
2016-01-07 12:58:29 +00:00
|
|
|
<htk-grid class="lots-grid" model="item-lots" show-header="false">
|
|
|
|
<htk-column-text title="_Store" column="warehouse"/>
|
|
|
|
<htk-column-spin title="_Price" column="price" unit="€" digits="2"/>
|
|
|
|
<htk-column-text title="_Pack" column="grouping" format="x%.0d"/>
|
|
|
|
<htk-column-button
|
|
|
|
column="id"
|
2016-09-26 09:28:47 +00:00
|
|
|
icon="add"
|
2016-01-07 12:58:29 +00:00
|
|
|
tip="_Add"
|
|
|
|
on-clicked="onAddLotClick"/>
|
|
|
|
</htk-grid>
|
2016-01-15 12:31:08 +00:00
|
|
|
<div class="footer">
|
2016-01-07 12:58:29 +00:00
|
|
|
<button on-click="onEraseClick" title="_Erase" class="erase">
|
2016-09-26 09:28:47 +00:00
|
|
|
<htk-icon
|
|
|
|
icon="delete"
|
|
|
|
theme="dark"
|
2016-01-07 12:58:29 +00:00
|
|
|
alt="_Erase"/>
|
|
|
|
</button>
|
|
|
|
<htk-text id="amount"/>
|
|
|
|
<button on-click="onConfirmClick" title="_Confirm" class="confirm">
|
2016-09-26 09:28:47 +00:00
|
|
|
<htk-icon
|
|
|
|
icon="ok"
|
|
|
|
theme="dark"
|
2016-01-07 12:58:29 +00:00
|
|
|
alt="_Confirm"/>
|
|
|
|
</button>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
2015-03-27 19:10:49 +00:00
|
|
|
</div>
|
2016-01-07 12:58:29 +00:00
|
|
|
</htk-popup>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn>
|