- Esporta Lista Carrello (Totale)
- Sconto Applicato
This commit is contained in:
@@ -86,26 +86,30 @@
|
||||
<div class="row q-mb-xs no-wrap items-center centeritems">
|
||||
<q-btn
|
||||
v-if="showall && !nomodif && products.CanDeleteIfSub(order)"
|
||||
icon="fas fa-trash"
|
||||
color="negative"
|
||||
icon="fas fa-trash-alt"
|
||||
round
|
||||
size="xs"
|
||||
size="sm"
|
||||
class="elimina-btn"
|
||||
@click="removeFromCard"
|
||||
>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-else-if="showall && !nomodif"
|
||||
:disable="!products.enableSubQty(order)"
|
||||
size="sm"
|
||||
icon="fas fa-cart-arrow-down"
|
||||
:color="products.enableSubQty(order) ? 'negative' : 'grey'"
|
||||
@click="addsubqty(false, true)"
|
||||
rounded
|
||||
:label="
|
||||
<!--
|
||||
:label="
|
||||
t('products.subcart', {
|
||||
qta: products.qtaNextSub(order, order.product),
|
||||
})
|
||||
"
|
||||
-->
|
||||
<q-btn
|
||||
v-else-if="!nomodif"
|
||||
:disable="!products.enableSubQty(order)"
|
||||
size="sm"
|
||||
class="quantity-btn"
|
||||
data-gradiente="negative"
|
||||
:icon="qtyInCart() === 1 ? 'fas fa-trash': 'fas fa-minus'"
|
||||
:color="products.enableSubQty(order) ? undefined : 'grey'"
|
||||
@click="qtyInCart() === 1 ? removeFromCard(): addsubqty(false, true)"
|
||||
rounded
|
||||
></q-btn>
|
||||
<div v-if="editmode">
|
||||
<q-input
|
||||
@@ -115,6 +119,7 @@
|
||||
debounce="500"
|
||||
borderless
|
||||
rounded
|
||||
class="quantity-display"
|
||||
dense
|
||||
:label="t('products.quantity')"
|
||||
></q-input>
|
||||
@@ -124,6 +129,7 @@
|
||||
autofocus
|
||||
debounce="500"
|
||||
borderless
|
||||
class="quantity-display"
|
||||
rounded
|
||||
densep
|
||||
:label="t('ecomm.preord')"
|
||||
@@ -159,24 +165,25 @@
|
||||
</q-btn>
|
||||
</div>
|
||||
<div
|
||||
v-else-if="showall"
|
||||
v-else
|
||||
:class="`q-mx-sm text-blue-14 qta`"
|
||||
>
|
||||
{{ order.quantity + order.quantitypreordered }}
|
||||
</div>
|
||||
|
||||
<q-btn
|
||||
v-if="showall && !nomodif"
|
||||
icon-right="fas fa-cart-plus"
|
||||
color="positive"
|
||||
:disable="!products.enableAddQty(order, order.product)"
|
||||
rounded
|
||||
size="sm"
|
||||
:label="
|
||||
<!-- :label="
|
||||
t('products.addcart', {
|
||||
qta: products.qtaNextAdd(order, order.product),
|
||||
})
|
||||
"
|
||||
-->
|
||||
<q-btn
|
||||
v-if="!nomodif"
|
||||
icon-right="fas fa-plus"
|
||||
class="quantity-btn"
|
||||
:disable="!products.enableAddQty(order, order.product)"
|
||||
rounded
|
||||
size="sm"
|
||||
@click="addsubqty(true, false)"
|
||||
>
|
||||
</q-btn>
|
||||
@@ -229,7 +236,7 @@
|
||||
</div>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section side>
|
||||
<!--<q-item-section side>
|
||||
<q-item-label>
|
||||
<div class="col-2">
|
||||
<q-btn
|
||||
@@ -243,7 +250,7 @@
|
||||
</q-btn>
|
||||
</div>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item-section>-->
|
||||
|
||||
<!--<q-item-section side top>
|
||||
<q-item-label caption>meta</q-item-label>
|
||||
|
||||
Reference in New Issue
Block a user