- sistemato "Pare che selezionando una condizione, non sempre viene aggiornato il record !"
- Aggiunto filtro "Escludi Editoriale"
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user