- ordinamento aggiornare la pagina "templates" per Fatturati ultimo anno
- bestseller
This commit is contained in:
@@ -533,6 +533,11 @@ export const costanti = {
|
||||
ESAURITI: '2',
|
||||
},
|
||||
|
||||
RIGENERAMOD: {
|
||||
SOVRASCRIVI: '0',
|
||||
AGGIUNGI_SOLO: '1',
|
||||
},
|
||||
|
||||
STATO: {
|
||||
TUTTI: '0',
|
||||
IN_COMMERCIO: '1',
|
||||
|
||||
@@ -1926,7 +1926,7 @@ export const useProducts = defineStore('Products', {
|
||||
},
|
||||
bestseller: {
|
||||
show: false,
|
||||
primiNInClassifica: 20
|
||||
quantiFattRaggiunti: 50
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
|
||||
getters: {
|
||||
|
||||
sovrascriviSchedaFromTemplate: (state: IGlobalState) => (idTemplate: string, origScheda: ISchedaSingola) => {
|
||||
sovrascriviSchedaFromTemplate: (state: IGlobalState) => (idTemplate: string, origScheda: ISchedaSingola, optcatalogo: IOptCatalogo) => {
|
||||
|
||||
const arrschede: ISchedaSingola[] = state.myschedas
|
||||
const myfindscheda = arrschede.find((recscheda: ISchedaSingola) => recscheda.scheda?._id === idTemplate)
|
||||
|
||||
Reference in New Issue
Block a user