hedera-web/forms/ecomerce/basket/ui.xml

74 lines
1.8 KiB
XML
Raw Normal View History

2015-03-06 23:33:54 +00:00
<vn>
2017-03-17 12:42:10 +00:00
<h1 id="title">
<t>ShoppingBasket</t>
</h1>
2015-09-16 16:11:15 +00:00
<div id="actions">
2016-09-19 06:40:18 +00:00
<htk-bar-button
icon="ok"
tip="_Checkout"
2016-09-19 06:40:18 +00:00
on-click="onCheckoutClick"/>
<htk-bar-button
icon="view-dual"
2015-09-16 16:11:15 +00:00
tip="_Catalog"
2016-09-19 06:40:18 +00:00
on-click="onCatalogClick"/>
<htk-bar-button
icon="preferences"
tip="_ConfigureOrder"
2016-09-19 06:40:18 +00:00
on-click="onConfigureClick"/>
</div>
2015-03-06 23:33:54 +00:00
<div id="form" class="basket">
2017-01-18 11:50:07 +00:00
<div class="card form">
<div class="head">
2015-07-07 15:27:47 +00:00
<p>
<t>Total</t>
2015-07-07 15:27:47 +00:00
<htk-text format="%.2d€">
<db-calc-sum property="param" func="subtotal" model="items"/>
2015-07-07 15:27:47 +00:00
</htk-text>
</p>
</div>
2017-03-09 12:30:39 +00:00
<htk-repeater form-id="iter" renderer="repeaterFunc">
<db-model id="items" property="model" updatable="true">
<custom>
2017-03-09 12:30:39 +00:00
SELECT i.id, i.amount, i.price, a.Article, a.Categoria,
2017-03-17 12:42:10 +00:00
a.Medida, a.Tallos, a.Color, o.Abreviatura, a.Foto
2017-03-09 12:30:39 +00:00
FROM basket_item i
JOIN vn2008.Articles a ON a.Id_Article = i.item_id
LEFT JOIN vn2008.Origen o ON a.id_origen = o.id
</custom>
2017-03-09 12:30:39 +00:00
</db-model>
<custom>
<div class="line">
<htk-button
form="iter"
column="ticket_id"
class="delete"
tip="_Remove"
icon="delete"
on-click="onDeleteClick"/>
<htk-image
form="iter"
column="Foto"
class="photo"
directory="catalog"
subdir="200x200"
full-dir="900x900"/>
<p class="concept">
<htk-text form="iter" column="Article"/>
<htk-text form="iter" column="Medida"/>
<htk-text form="iter" column="Categoria"/>
</p>
<p class="amount">
<htk-text form="iter" column="amount"/> x
<htk-text form="iter" column="price" format="%.2d€"/>
<span class="subtotal">
<htk-text id="subtotal" format="%.2d€"/>
</span>
</p>
<div class="clear"/>
</div>
</custom>
</htk-repeater>
2015-09-16 16:11:15 +00:00
</div>
</div>
2015-03-06 23:33:54 +00:00
</vn>