- Email Ordine da template HTML
- Corretto altro
This commit is contained in:
@@ -47,4 +47,9 @@
|
||||
.product_code {
|
||||
font-size: 0.75rem;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.label-qta{
|
||||
font-size: 1.15rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -181,8 +181,6 @@
|
||||
{{ products.getQtyAvailable(myproduct) }}
|
||||
</span>
|
||||
<div class="prod_qtywarn">
|
||||
{{ getQtyWarn() }}
|
||||
|
||||
<div
|
||||
v-if="
|
||||
tools.isManager() && !!myproduct.QuantitaOrdinateInAttesa
|
||||
@@ -217,10 +215,6 @@
|
||||
{{ products.getQtyBookableAvailable(myproduct) }}
|
||||
</span>
|
||||
<div class="prod_qtywarn">
|
||||
<span v-if="getQtyWarnPreOrdered()">{{
|
||||
getQtyWarnPreOrdered()
|
||||
}}</span>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
tools.isManager() && !!myproduct.QuantitaPrenotateInAttesa
|
||||
@@ -281,11 +275,10 @@
|
||||
<q-field
|
||||
outlined
|
||||
dense
|
||||
style="width: 40px; height: 30px"
|
||||
class="q-mx-xs"
|
||||
>
|
||||
<template v-slot:control>
|
||||
<div class="self-center no-outline" tabindex="0">
|
||||
<div class="no-outline label-qta text-center" tabindex="0">
|
||||
{{ myorder.quantity + myorder.quantitypreordered }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -42,4 +42,9 @@
|
||||
|
||||
.q-item__section--thumbnail img{
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.qta{
|
||||
font-size: 1.15rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -41,19 +41,10 @@
|
||||
})
|
||||
"
|
||||
></q-btn>
|
||||
<div v-if="showall" :class="`q-mx-sm text-blue-14`">
|
||||
{{ order.quantity }}
|
||||
</div>
|
||||
<div v-if="order.quantity > 0 && order.quantitypreordered > 0">
|
||||
+ {{ t('ecomm.preord') }}:
|
||||
<div v-if="showall" :class="`q-mx-sm text-blue-14 qta` ">
|
||||
{{ order.quantity + order.quantitypreordered }}
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="order.quantitypreordered > 0"
|
||||
:class="`q-mx-sm text-blue-14`"
|
||||
>
|
||||
{{ order.quantitypreordered }}
|
||||
</div>
|
||||
<q-btn
|
||||
v-if="showall && !nomodif"
|
||||
icon-right="fas fa-cart-plus"
|
||||
|
||||
@@ -2738,19 +2738,19 @@ export const tools = {
|
||||
})
|
||||
},
|
||||
|
||||
showPositiveNotif(q: any, msg: string, time?: number) {
|
||||
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time)
|
||||
showPositiveNotif(q: any, msg: string, time?: number, group?: any) {
|
||||
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time, group)
|
||||
},
|
||||
|
||||
showNegativeNotif(q: any, msg: string, time = 5000) {
|
||||
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time)
|
||||
showNegativeNotif(q: any, msg: string, time = 5000, group?: any) {
|
||||
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time, group)
|
||||
},
|
||||
|
||||
showNeutralNotif(q: any, msg: string, time = 10000) {
|
||||
this.showNotif(q, msg, { color: 'info', icon: 'notifications' }, time)
|
||||
},
|
||||
|
||||
showNotif(q: any, msg: string, data?: INotify | null, time?: number) {
|
||||
showNotif(q: any, msg: string, data?: INotify | null, time?: number, group?: any) {
|
||||
let myicon = data ? data.icon : 'ion-add'
|
||||
if (!myicon) {
|
||||
myicon = 'ion-add'
|
||||
@@ -2760,7 +2760,7 @@ export const tools = {
|
||||
mycolor = 'primary'
|
||||
}
|
||||
q.notify({
|
||||
// group: '',
|
||||
group: group ?? '',
|
||||
message: msg,
|
||||
icon: myicon,
|
||||
classes: 'my-notif-class',
|
||||
|
||||
@@ -718,7 +718,7 @@ export const useProducts = defineStore('Products', {
|
||||
if (qta > 1 || qta === 0)
|
||||
strprod = t('ecomm.prodotti')
|
||||
|
||||
if (qta > 0) {
|
||||
if (qta >= 0) {
|
||||
msg = t('ecomm.prod_sul_carrello', { strprod, qty: qta })
|
||||
}
|
||||
|
||||
@@ -726,7 +726,7 @@ export const useProducts = defineStore('Products', {
|
||||
if (ris === null || ris.myord.quantity === 0)
|
||||
tools.showNotif($q, msg)
|
||||
else
|
||||
tools.showPositiveNotif($q, msg)
|
||||
tools.showPositiveNotif($q, msg, undefined, 'prodotto')
|
||||
|
||||
|
||||
}
|
||||
|
||||
BIN
upload/products/8017977000669.jpg
Normal file
BIN
upload/products/8017977000669.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
upload/products/8017977004544.jpg
Normal file
BIN
upload/products/8017977004544.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
upload/products/8017977043307.jpg
Normal file
BIN
upload/products/8017977043307.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 496 KiB |
BIN
upload/products/8017977043536.jpg
Normal file
BIN
upload/products/8017977043536.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
BIN
upload/products/8056734461442.jpg
Normal file
BIN
upload/products/8056734461442.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
Reference in New Issue
Block a user