Poter inserire un Ordine anche per un altra persona... (Modalità Cassa)
This commit is contained in:
@@ -2036,6 +2036,7 @@ export const colTableOrdersCart = [
|
||||
AddCol({ name: 'totalQty', label_trans: 'orderscart.totalQty', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'totalQtyPreordered', label_trans: 'orderscart.totalQtyPreordered', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'totalPrice', label_trans: 'orderscart.totalPrice', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'totalPriceCalc', label_trans: 'orderscart.totalPriceCalc', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'status', label_trans: 'orderscart.status', fieldtype: costanti.FieldType.number }),
|
||||
]
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ export const tools = {
|
||||
FILTER_MYFOLLOW: 2,
|
||||
|
||||
COOK_SEARCH: 'SEARCH_',
|
||||
COOK_SELCART: 'SELCART_',
|
||||
COOK_TAB_CIRCUIT: 'TAB_CIRC',
|
||||
COOK_COSA_PRODOTTI: 'PROD',
|
||||
|
||||
@@ -3005,6 +3006,11 @@ export const tools = {
|
||||
return userStore.isManager || userStore.isAdmin
|
||||
},
|
||||
|
||||
isSeller() {
|
||||
const userStore = useUserStore()
|
||||
return userStore.isManager || userStore.isAdmin
|
||||
},
|
||||
|
||||
isSocioResidente() {
|
||||
const userStore = useUserStore()
|
||||
return !!userStore.my.profile ? userStore.my.profile.socioresidente : false
|
||||
|
||||
Reference in New Issue
Block a user