mdz-enum 1.2.14 → 1.2.15
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.
- package/dist/reports/index.d.ts +3 -1
- package/dist/reports/index.js +6 -0
- package/package.json +1 -1
package/dist/reports/index.d.ts
CHANGED
|
@@ -12,5 +12,7 @@ export declare const AgrupamentoRelatorio: {
|
|
|
12
12
|
Categoria: string;
|
|
13
13
|
Marca: string;
|
|
14
14
|
Filial: string;
|
|
15
|
-
|
|
15
|
+
PlanoConta: string;
|
|
16
|
+
CentroCusto: string;
|
|
17
|
+
description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo";
|
|
16
18
|
};
|
package/dist/reports/index.js
CHANGED
|
@@ -24,6 +24,8 @@ exports.AgrupamentoRelatorio = {
|
|
|
24
24
|
Categoria: '6',
|
|
25
25
|
Marca: '7',
|
|
26
26
|
Filial: '8',
|
|
27
|
+
PlanoConta: '9',
|
|
28
|
+
CentroCusto: '10',
|
|
27
29
|
description(val) {
|
|
28
30
|
switch (val) {
|
|
29
31
|
case this.Cliente:
|
|
@@ -42,6 +44,10 @@ exports.AgrupamentoRelatorio = {
|
|
|
42
44
|
return 'Marca';
|
|
43
45
|
case this.Filial:
|
|
44
46
|
return 'Filial';
|
|
47
|
+
case this.PlanoConta:
|
|
48
|
+
return 'Plano de Contas';
|
|
49
|
+
case this.CentroCusto:
|
|
50
|
+
return 'Centro de Custo';
|
|
45
51
|
default:
|
|
46
52
|
return 'enum not found';
|
|
47
53
|
}
|