aggiornato prodotti e scontistica

This commit is contained in:
Surya Paolo
2023-12-29 15:19:21 +01:00
parent 2083655e99
commit 6758c6e00f
38 changed files with 49 additions and 9 deletions

View File

@@ -420,6 +420,8 @@ export const colTablecategories = [
export const colTableCatProd = [
AddCol({ name: 'name', label_trans: 'categories.name' }),
AddCol({ name: 'img', label_trans: 'categories.img' }),
AddCol({ name: 'icon', label_trans: 'categories.icon' }),
AddCol({ name: 'color', label_trans: 'categories.color' }),
AddCol(DeleteRec),
AddCol(DuplicateRec),
]
@@ -2597,6 +2599,13 @@ export const colTableUsers = [
label_trans: 'reg.manage_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.admin_telegram',
field: 'profile',
subfield: 'admin_telegram',
label_trans: 'reg.admin_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.myshares',
field: 'profile',
@@ -2706,6 +2715,13 @@ export const colTableUsersCNM = [
label_trans: 'reg.manage_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.admin_telegram',
field: 'profile',
subfield: 'admin_telegram',
label_trans: 'reg.admin_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.socio',
field: 'profile',
@@ -2946,6 +2962,13 @@ export const colTableUsersISP = [
label_trans: 'reg.manage_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.admin_telegram',
field: 'profile',
subfield: 'admin_telegram',
label_trans: 'reg.admin_telegram',
fieldtype: costanti.FieldType.boolean,
}),
AddCol({
name: 'profile.username_telegram',
field: 'profile',

View File

@@ -304,6 +304,7 @@ export const useProducts = defineStore('Products', {
bookableAvailableQty: 0,
stockQty: 0,
minBuyQty: 1,
minStepQty: 1,
maxBookableQty: 0,
bookableQty: 0,
canBeShipped: false,

View File

@@ -140,6 +140,7 @@ export const DefaultProfile: IUserProfile = {
teleg_checkcode: 0,
my_dream: '',
manage_telegram: false,
admin_telegram: false,
saw_zoom_presentation: false,
ask_zoom_partecipato: false,
saw_and_accepted: false,