bdpformulas 1.0.31 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,7 +163,7 @@ const trasponer = (data) => {
163
163
  Descripcion: item.Descripcion,
164
164
  IndicadorABM: item.IndicadorABM,
165
165
  Clasificador: item.Clasificador,
166
- Borrable: esBorrable(item.RubroId),
166
+ Borrable: (item.Clasificador == 'HABM'),
167
167
  Editable: item.Editable,
168
168
  Secuencia: item.Secuencia,
169
169
  UUID: item.UUID,
@@ -186,9 +186,11 @@ const trasponer = (data) => {
186
186
  result = result.sort((a, b) => a.RubroId.localeCompare(b.RubroId));
187
187
  return result;
188
188
  };
189
- const esBorrable = (rubroId) => {
190
- const rubrosBorrables = ['ACT_CN_11004', 'ACT_CN_12005',
191
- 'ACT_CN_21003', 'ACT_CN_22003', 'ACT_CN_30002',
192
- 'ACT_CN_40002', 'ACT_CN_41003', 'ACT_CN_43004', 'ACT_CN_45001'];
193
- return (rubrosBorrables.includes(rubroId));
194
- };
189
+ // const esBorrable=(rubroId: string )=>{
190
+ //
191
+ // // const rubrosBorrables = ['ACT_CN_11004','ACT_CN_12005',
192
+ // // 'ACT_CN_21003','ACT_CN_22003','ACT_CN_30002',
193
+ // // 'ACT_CN_40002','ACT_CN_41003','ACT_CN_43004','ACT_CN_45001']
194
+ // return (rubrosBorrables.includes(rubroId))
195
+ // }
196
+ //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bdpformulas",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",