- sistemato "Pare che selezionando una condizione, non sempre viene aggiornato il record !"

- Aggiunto filtro "Escludi Editoriale"
This commit is contained in:
Surya Paolo
2025-06-04 15:46:29 +02:00
parent 12f816b738
commit 06fe6eb861
13 changed files with 209 additions and 29 deletions

View File

@@ -336,16 +336,16 @@ export const useGlobalStore = defineStore('GlobalStore', {
return false;
},
getSchedeOpt: (state: IGlobalState) => (tag?: string) => {
getSchedeOptByTag: (state: IGlobalState) => (tag?: string) => {
const Products = useProducts();
return Products.getSchedeOpt(state.myschedas, tag);
return Products.getSchedeOptByArrSchede(state.myschedas, tag);
},
getOptCatalogoTemplate: (state: IGlobalState) => (tag?: string) => {
const Products = useProducts();
return Products.getSchedeOpt(state.myschedas, tag);
return Products.getSchedeOptByArrSchede(state.myschedas, tag);
},
getLinkIdTemplateByName: (state: IGlobalState) => (name: string) => {
@@ -556,7 +556,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
else if (table === toolsext.TABSECTORS) return state.sectors;
else if (table === 'sectorgoods') return state.sectorgoods;
else if (table === 'catgrps') return state.catgrps;
else if (table === 'schedeopt') return Products.getSchedeOpt(state.myschedas);
else if (table === 'schedeopt') return Products.getSchedeOptByArrSchede(state.myschedas);
else if (table === 'provinces')
return state.provinces.filter(
(rec: IProvince) => !rec.card && rec.prov !== 'ITA' && rec.prov !== 'EST'