- ordinamento aggiornare la pagina "templates" per Fatturati ultimo anno

- bestseller
This commit is contained in:
Surya Paolo
2025-05-02 10:10:04 +02:00
parent 721d2ac38c
commit 8a20186e59
21 changed files with 131 additions and 62 deletions

View File

@@ -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)