0
1
Fork 0

refs #6200 Minimal amount

This commit is contained in:
Juan Ferrer 2023-10-09 19:51:59 +02:00
parent a474f9df05
commit 6915e06c71
9 changed files with 33 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (23.30.5) stable; urgency=low
hedera-web (23.40.1) stable; urgency=low
* Initial Release.

View File

@ -46,3 +46,4 @@ NoMoreAmountAvailable: No hi ha més quantitat disponible
MinimalGrouping: Empaquetat mínim
Available: Disponible
GroupingPrice: Preu per grup
MinimalQuantity: Quantitat mínima

View File

@ -46,3 +46,4 @@ NoMoreAmountAvailable: No more amount available
MinimalGrouping: Minimal packing
Available: Available
GroupingPrice: Price per group
MinimalQuantity: Minimal quantity

View File

@ -46,3 +46,4 @@ NoMoreAmountAvailable: No hay más cantidad disponible
MinimalGrouping: Empaquetado mínimo
Available: Disponible
GroupingPrice: Precio per grupo
MinimalQuantity: Cantidad mínima

View File

@ -46,3 +46,4 @@ NoMoreAmountAvailable: Pas plus disponible
MinimalGrouping: Emballage minimal
Available: Disponible
GroupingPrice: Prix par groupe
MinimalQuantity: Quantité minimum

View File

@ -46,3 +46,4 @@ NoMoreAmountAvailable: Não há mais quantidade disponível
MinimalGrouping: Embalagem mínima
Available: Disponível
GroupingPrice: Preço por grupo
MinimalQuantity: Quantidade mínima

View File

@ -194,6 +194,17 @@
}
}
.min-quantity {
position: absolute;
bottom: 30px;
right: 0;
& > span {
font-size: 18px;
vertical-align: middle;
}
}
/* Tags */
.grid-view,
@ -351,6 +362,7 @@
& > .top {
padding: 14px;
position: relative;
& > .item-info {
margin-left: 126px;

View File

@ -117,7 +117,7 @@
SELECT i.id, i.longName item, i.subName,
i.tag5, i.value5, i.tag6, i.value6,
i.tag7, i.value7, i.tag8, i.value8,
i.relevancy, i.size, i.category,
i.relevancy, i.size, i.category, i.minQuantity,
k.name ink, p.name producer, o.name origin,
b.available, b.price, b.`grouping`,
i.image, im.updated
@ -203,6 +203,12 @@
{{Vn.Value.format(item.price, '%.02d€')}}
</span>
</div>
<div class="min-quantity" title="_MinimalQuantity">
<span class="htk-icon material-symbols-rounded">
production_quantity_limits
</span>
{{item.minQuantity}}
</div>
</div>
</div>
</custom>
@ -461,6 +467,12 @@
</tr>
</custom>
</htk-repeater>
<div class="min-quantity" title="_MinimalQuantity">
{{card.minQuantity}}
<span class="htk-icon material-symbols-rounded">
production_quantity_limits
</span>
</div>
</div>
<htk-grid class="lots-grid" show-header="false">
<db-model

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "23.30.5",
"version": "23.40.1",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {
@ -42,6 +42,7 @@
"scripts": {
"front": "webpack serve --open",
"back": "cd ../salix && gulp backOnly",
"php": "php -S 127.0.0.1:3001 -t . index.php",
"db": "cd ../vn-database && myt run",
"build": "rm -rf build/ ; webpack",
"clean": "rm -rf build/"