fixed carrello che scompariva...
This commit is contained in:
@@ -36,17 +36,6 @@
|
||||
>
|
||||
</q-input>
|
||||
</div>
|
||||
<div class="center-text">
|
||||
<br />
|
||||
|
||||
<div
|
||||
class="q-ma-sm q-pa-sm text-h7"
|
||||
v-if="globalStore && globalStore.site.ecomm.NoteExtraOnCart"
|
||||
>
|
||||
{{ globalStore.site.ecomm.NoteExtraOnCart }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center">
|
||||
<q-btn
|
||||
v-if="
|
||||
@@ -62,6 +51,16 @@
|
||||
@click="completeOrder()"
|
||||
></q-btn>
|
||||
</div>
|
||||
<div class="center-text">
|
||||
<br />
|
||||
|
||||
<div
|
||||
class="q-ma-sm q-pa-sm text-h7"
|
||||
v-if="globalStore && globalStore.site.ecomm.NoteExtraOnCart"
|
||||
>
|
||||
{{ globalStore.site.ecomm.NoteExtraOnCart }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else style="text-align: center" class="text-grey">
|
||||
{{ $t('ecomm.carrello_vuoto') }}
|
||||
|
||||
@@ -146,6 +146,7 @@
|
||||
|
||||
<div v-if="!!myuser.profile">
|
||||
<CKeyAndValue mykey="Email:" :myvalue="myuser.email"></CKeyAndValue>
|
||||
<CKeyAndValue mykey="versione:" :myvalue="myuser.profile.version"></CKeyAndValue>
|
||||
<div class="q-ml-xs bg-blue text-white text-h6">
|
||||
<q-banner
|
||||
dense
|
||||
|
||||
@@ -501,6 +501,7 @@ const msg_it = {
|
||||
ritessitura: 'RITESSITURA',
|
||||
},
|
||||
reg: {
|
||||
version: 'Versione',
|
||||
socio: 'Socio',
|
||||
socioresidente: 'Residente',
|
||||
consiglio: 'Consiglio',
|
||||
|
||||
@@ -3033,6 +3033,8 @@ export const colTableUsersISP = [
|
||||
subfield: 'email_paypal',
|
||||
label_trans: 'reg.email_paypal',
|
||||
}),
|
||||
AddCol({ name: 'profile.version', label_trans: 'reg.version', fieldtype: costanti.FieldType.number }),
|
||||
|
||||
/* AddCol({
|
||||
name: 'profile.payeer_id',
|
||||
field: 'profile',
|
||||
|
||||
@@ -427,6 +427,7 @@ export const useProducts = defineStore('Products', {
|
||||
else
|
||||
this.userActive = userStore.my
|
||||
|
||||
console.log('userActive', this.userActive)
|
||||
|
||||
ris = await Api.SendReq('/products', 'POST', { userId: this.userActive._id })
|
||||
.then((res) => {
|
||||
|
||||
@@ -24,9 +24,11 @@ export default defineComponent({
|
||||
const userStore = useUserStore()
|
||||
const products = useProducts()
|
||||
const { t } = useI18n();
|
||||
const productStore = useProducts()
|
||||
|
||||
function mounted() {
|
||||
async function mounted() {
|
||||
// Inizializza
|
||||
await productStore.loadProducts()
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
@@ -81,7 +81,7 @@ export default defineComponent({
|
||||
})
|
||||
|
||||
function calcArrProducts() {
|
||||
console.log('calcArrProducts')
|
||||
// console.log('calcArrProducts')
|
||||
|
||||
refreshpage.value = true
|
||||
let arrprod = productStore.getProducts(cosa.value)
|
||||
|
||||
Reference in New Issue
Block a user