@senior-gestao-empresarial/erpx-components 4.21.1 → 4.21.2
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/bundles/senior-gestao-empresarial-erpx-components.umd.js +203 -63
- package/bundles/senior-gestao-empresarial-erpx-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js +1 -1
- package/bundles/senior-gestao-empresarial-erpx-components.umd.min.js.map +1 -1
- package/esm2015/components/tributos/erp-tributos.component.js +4 -2
- package/esm2015/components/tributos/rules/calculation/rules/tax-classification-calculation-rule.js +23 -17
- package/esm2015/components/tributos/rules/status/registries/incoming-invoice-status-rules.registry.js +61 -11
- package/esm2015/components/tributos/rules/status/registries/outgoing-invoice-status-rules.registry.js +103 -18
- package/esm2015/components/tributos/rules/status/rules/apply-net-value-to-document-status-rule.js +2 -1
- package/esm2015/components/tributos/rules/validation/rules/required/apply-net-value-to-document-required-validation-rule.js +2 -2
- package/esm5/components/tributos/erp-tributos.component.js +4 -2
- package/esm5/components/tributos/rules/calculation/rules/tax-classification-calculation-rule.js +38 -36
- package/esm5/components/tributos/rules/status/registries/incoming-invoice-status-rules.registry.js +61 -11
- package/esm5/components/tributos/rules/status/registries/outgoing-invoice-status-rules.registry.js +103 -18
- package/esm5/components/tributos/rules/status/rules/apply-net-value-to-document-status-rule.js +2 -1
- package/esm5/components/tributos/rules/validation/rules/required/apply-net-value-to-document-required-validation-rule.js +2 -2
- package/fesm2015/senior-gestao-empresarial-erpx-components.js +189 -45
- package/fesm2015/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-erpx-components.js +203 -63
- package/fesm5/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2085,23 +2085,24 @@
|
|
|
2085
2085
|
var name = _a.name;
|
|
2086
2086
|
return name === exports.EnumTipoTributo.IBS_AJUSTE;
|
|
2087
2087
|
}), ibsAjusteFormGroup = _e.formGroup, ibsAjusteFormField = _e.formField;
|
|
2088
|
-
var
|
|
2088
|
+
var classificacaoTributariaDataKey_3 = ibsAjusteFormField.find(function (_a) {
|
|
2089
2089
|
var name = _a.name;
|
|
2090
2090
|
return name === 'classificacaoTributaria';
|
|
2091
2091
|
}).dataKey;
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2092
|
+
var situacaoTributariaDataKey_3 = formField.find(function (field) { return field.name === 'situacaoTributaria'; }).dataKey;
|
|
2093
|
+
rxjs.merge(ibsAjusteFormGroup
|
|
2094
|
+
.get('classificacaoTributaria')
|
|
2095
|
+
.valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2096
|
+
return (old === null || old === void 0 ? void 0 : old[classificacaoTributariaDataKey_3]) === (current === null || current === void 0 ? void 0 : current[classificacaoTributariaDataKey_3]);
|
|
2097
|
+
})), formGroup.get('situacaoTributaria').valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2098
|
+
return (old === null || old === void 0 ? void 0 : old[situacaoTributariaDataKey_3]) === (current === null || current === void 0 ? void 0 : current[situacaoTributariaDataKey_3]);
|
|
2099
|
+
}), operators.map(function () { return null; })))
|
|
2100
|
+
.pipe(operators.filter(function (taxClassification) {
|
|
2101
|
+
var _a;
|
|
2102
|
+
return (taxClassification === null || taxClassification === void 0 ? void 0 : taxClassification.id) !== ((_a = formGroup.get('classificacaoTributaria')
|
|
2103
|
+
.value) === null || _a === void 0 ? void 0 : _a.id);
|
|
2102
2104
|
}))
|
|
2103
|
-
.subscribe(function (
|
|
2104
|
-
var _b = __read(_a, 1), taxClassification = _b[0];
|
|
2105
|
+
.subscribe(function (taxClassification) {
|
|
2105
2106
|
formGroup
|
|
2106
2107
|
.get('classificacaoTributaria')
|
|
2107
2108
|
.setValue(taxClassification);
|
|
@@ -2114,23 +2115,24 @@
|
|
|
2114
2115
|
var name = _a.name;
|
|
2115
2116
|
return name === exports.EnumTipoTributo.CBS_AJUSTE;
|
|
2116
2117
|
}), cbsAjusteFormGroup = _f.formGroup, cbsAjusteFormField = _f.formField;
|
|
2117
|
-
var
|
|
2118
|
+
var classificacaoTributariaDataKey_4 = cbsAjusteFormField.find(function (_a) {
|
|
2118
2119
|
var name = _a.name;
|
|
2119
2120
|
return name === 'classificacaoTributaria';
|
|
2120
2121
|
}).dataKey;
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2122
|
+
var situacaoTributariaDataKey_4 = formField.find(function (field) { return field.name === 'situacaoTributaria'; }).dataKey;
|
|
2123
|
+
rxjs.merge(cbsAjusteFormGroup
|
|
2124
|
+
.get('classificacaoTributaria')
|
|
2125
|
+
.valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2126
|
+
return (old === null || old === void 0 ? void 0 : old[classificacaoTributariaDataKey_4]) === (current === null || current === void 0 ? void 0 : current[classificacaoTributariaDataKey_4]);
|
|
2127
|
+
})), formGroup.get('situacaoTributaria').valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2128
|
+
return (old === null || old === void 0 ? void 0 : old[situacaoTributariaDataKey_4]) === (current === null || current === void 0 ? void 0 : current[situacaoTributariaDataKey_4]);
|
|
2129
|
+
}), operators.map(function () { return null; })))
|
|
2130
|
+
.pipe(operators.filter(function (taxClassification) {
|
|
2131
|
+
var _a;
|
|
2132
|
+
return (taxClassification === null || taxClassification === void 0 ? void 0 : taxClassification.id) !== ((_a = formGroup.get('classificacaoTributaria')
|
|
2133
|
+
.value) === null || _a === void 0 ? void 0 : _a.id);
|
|
2131
2134
|
}))
|
|
2132
|
-
.subscribe(function (
|
|
2133
|
-
var _b = __read(_a, 1), taxClassification = _b[0];
|
|
2135
|
+
.subscribe(function (taxClassification) {
|
|
2134
2136
|
formGroup
|
|
2135
2137
|
.get('classificacaoTributaria')
|
|
2136
2138
|
.setValue(taxClassification);
|
|
@@ -2143,17 +2145,17 @@
|
|
|
2143
2145
|
var name = _a.name;
|
|
2144
2146
|
return name === exports.EnumTipoTributo.IBS_TRANSFERENCIA_CREDITO;
|
|
2145
2147
|
}), ibsTransferenciaCreditoFormGroup = _g.formGroup, ibsTransferenciaCreditoFormField = _g.formField;
|
|
2146
|
-
var
|
|
2148
|
+
var classificacaoTributariaDataKey_5 = ibsTransferenciaCreditoFormField.find(function (_a) {
|
|
2147
2149
|
var name = _a.name;
|
|
2148
2150
|
return name === 'classificacaoTributaria';
|
|
2149
2151
|
}).dataKey;
|
|
2150
|
-
var
|
|
2152
|
+
var situacaoTributariaDataKey_5 = formField.find(function (field) { return field.name === 'situacaoTributaria'; }).dataKey;
|
|
2151
2153
|
rxjs.merge(ibsTransferenciaCreditoFormGroup
|
|
2152
2154
|
.get('classificacaoTributaria')
|
|
2153
2155
|
.valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2154
|
-
return (old === null || old === void 0 ? void 0 : old[
|
|
2156
|
+
return (old === null || old === void 0 ? void 0 : old[classificacaoTributariaDataKey_5]) === (current === null || current === void 0 ? void 0 : current[classificacaoTributariaDataKey_5]);
|
|
2155
2157
|
})), formGroup.get('situacaoTributaria').valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2156
|
-
return (old === null || old === void 0 ? void 0 : old[
|
|
2158
|
+
return (old === null || old === void 0 ? void 0 : old[situacaoTributariaDataKey_5]) === (current === null || current === void 0 ? void 0 : current[situacaoTributariaDataKey_5]);
|
|
2157
2159
|
}), operators.map(function () { return null; })))
|
|
2158
2160
|
.pipe(operators.filter(function (taxClassification) {
|
|
2159
2161
|
var _a;
|
|
@@ -2173,17 +2175,17 @@
|
|
|
2173
2175
|
var name = _a.name;
|
|
2174
2176
|
return name === exports.EnumTipoTributo.CBS_TRANSFERENCIA_CREDITO;
|
|
2175
2177
|
}), cbsTransferenciaCreditoFormGroup = _h.formGroup, cbsTransferenciaCreditoFormField = _h.formField;
|
|
2176
|
-
var
|
|
2178
|
+
var classificacaoTributariaDataKey_6 = cbsTransferenciaCreditoFormField.find(function (_a) {
|
|
2177
2179
|
var name = _a.name;
|
|
2178
2180
|
return name === 'classificacaoTributaria';
|
|
2179
2181
|
}).dataKey;
|
|
2180
|
-
var
|
|
2182
|
+
var situacaoTributariaDataKey_6 = formField.find(function (field) { return field.name === 'situacaoTributaria'; }).dataKey;
|
|
2181
2183
|
rxjs.merge(cbsTransferenciaCreditoFormGroup
|
|
2182
2184
|
.get('classificacaoTributaria')
|
|
2183
2185
|
.valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2184
|
-
return (old === null || old === void 0 ? void 0 : old[
|
|
2186
|
+
return (old === null || old === void 0 ? void 0 : old[classificacaoTributariaDataKey_6]) === (current === null || current === void 0 ? void 0 : current[classificacaoTributariaDataKey_6]);
|
|
2185
2187
|
})), formGroup.get('situacaoTributaria').valueChanges.pipe(operators.distinctUntilChanged(function (old, current) {
|
|
2186
|
-
return (old === null || old === void 0 ? void 0 : old[
|
|
2188
|
+
return (old === null || old === void 0 ? void 0 : old[situacaoTributariaDataKey_6]) === (current === null || current === void 0 ? void 0 : current[situacaoTributariaDataKey_6]);
|
|
2187
2189
|
}), operators.map(function () { return null; })))
|
|
2188
2190
|
.pipe(operators.filter(function (taxClassification) {
|
|
2189
2191
|
var _a;
|
|
@@ -12304,6 +12306,7 @@
|
|
|
12304
12306
|
case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
|
|
12305
12307
|
case exports.EnumTipoTributo.IBS_ESTADUAL:
|
|
12306
12308
|
case exports.EnumTipoTributo.IBS_MUNICIPAL:
|
|
12309
|
+
case exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO:
|
|
12307
12310
|
{
|
|
12308
12311
|
switch (document) {
|
|
12309
12312
|
case 'Incoming Invoice':
|
|
@@ -12646,7 +12649,12 @@
|
|
|
12646
12649
|
rule: this.taxClassificationStatusRule
|
|
12647
12650
|
}
|
|
12648
12651
|
],
|
|
12649
|
-
_a[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12652
|
+
_a[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12653
|
+
{
|
|
12654
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
12655
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
12656
|
+
}
|
|
12657
|
+
],
|
|
12650
12658
|
_a[exports.EnumTipoTributo.IS] = [
|
|
12651
12659
|
{
|
|
12652
12660
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -12751,7 +12759,12 @@
|
|
|
12751
12759
|
rule: this.taxClassificationStatusRule
|
|
12752
12760
|
}
|
|
12753
12761
|
],
|
|
12754
|
-
_b[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12762
|
+
_b[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12763
|
+
{
|
|
12764
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
12765
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
12766
|
+
}
|
|
12767
|
+
],
|
|
12755
12768
|
_b[exports.EnumTipoTributo.IS] = [
|
|
12756
12769
|
{
|
|
12757
12770
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -12856,7 +12869,12 @@
|
|
|
12856
12869
|
rule: this.taxClassificationStatusRule
|
|
12857
12870
|
}
|
|
12858
12871
|
],
|
|
12859
|
-
_c[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12872
|
+
_c[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12873
|
+
{
|
|
12874
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
12875
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
12876
|
+
}
|
|
12877
|
+
],
|
|
12860
12878
|
_c[exports.EnumTipoTributo.IS] = [
|
|
12861
12879
|
{
|
|
12862
12880
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -12961,7 +12979,12 @@
|
|
|
12961
12979
|
rule: this.taxClassificationStatusRule
|
|
12962
12980
|
}
|
|
12963
12981
|
],
|
|
12964
|
-
_d[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12982
|
+
_d[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
12983
|
+
{
|
|
12984
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
12985
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
12986
|
+
}
|
|
12987
|
+
],
|
|
12965
12988
|
_d[exports.EnumTipoTributo.IS] = [
|
|
12966
12989
|
{
|
|
12967
12990
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13066,7 +13089,12 @@
|
|
|
13066
13089
|
rule: this.taxClassificationStatusRule
|
|
13067
13090
|
}
|
|
13068
13091
|
],
|
|
13069
|
-
_e[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13092
|
+
_e[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13093
|
+
{
|
|
13094
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13095
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13096
|
+
}
|
|
13097
|
+
],
|
|
13070
13098
|
_e[exports.EnumTipoTributo.IS] = [
|
|
13071
13099
|
{
|
|
13072
13100
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13171,7 +13199,12 @@
|
|
|
13171
13199
|
rule: this.taxClassificationStatusRule
|
|
13172
13200
|
}
|
|
13173
13201
|
],
|
|
13174
|
-
_f[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13202
|
+
_f[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13203
|
+
{
|
|
13204
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13205
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13206
|
+
}
|
|
13207
|
+
],
|
|
13175
13208
|
_f[exports.EnumTipoTributo.IS] = [
|
|
13176
13209
|
{
|
|
13177
13210
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13264,7 +13297,12 @@
|
|
|
13264
13297
|
rule: this.taxClassificationStatusRule
|
|
13265
13298
|
}
|
|
13266
13299
|
],
|
|
13267
|
-
_g[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13300
|
+
_g[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13301
|
+
{
|
|
13302
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13303
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13304
|
+
}
|
|
13305
|
+
],
|
|
13268
13306
|
_g[exports.EnumTipoTributo.IS] = [
|
|
13269
13307
|
{
|
|
13270
13308
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13369,7 +13407,12 @@
|
|
|
13369
13407
|
rule: this.taxClassificationStatusRule
|
|
13370
13408
|
}
|
|
13371
13409
|
],
|
|
13372
|
-
_h[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13410
|
+
_h[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13411
|
+
{
|
|
13412
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13413
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13414
|
+
}
|
|
13415
|
+
],
|
|
13373
13416
|
_h[exports.EnumTipoTributo.IS] = [
|
|
13374
13417
|
{
|
|
13375
13418
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13474,7 +13517,12 @@
|
|
|
13474
13517
|
rule: this.taxClassificationStatusRule
|
|
13475
13518
|
}
|
|
13476
13519
|
],
|
|
13477
|
-
_j[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13520
|
+
_j[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13521
|
+
{
|
|
13522
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13523
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13524
|
+
}
|
|
13525
|
+
],
|
|
13478
13526
|
_j[exports.EnumTipoTributo.IS] = [
|
|
13479
13527
|
{
|
|
13480
13528
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13579,7 +13627,12 @@
|
|
|
13579
13627
|
rule: this.taxClassificationStatusRule
|
|
13580
13628
|
}
|
|
13581
13629
|
],
|
|
13582
|
-
_k[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13630
|
+
_k[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13631
|
+
{
|
|
13632
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13633
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13634
|
+
}
|
|
13635
|
+
],
|
|
13583
13636
|
_k[exports.EnumTipoTributo.IS] = [
|
|
13584
13637
|
{
|
|
13585
13638
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13679,7 +13732,12 @@
|
|
|
13679
13732
|
rule: this.taxClassificationStatusRule
|
|
13680
13733
|
}
|
|
13681
13734
|
],
|
|
13682
|
-
_a[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13735
|
+
_a[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13736
|
+
{
|
|
13737
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13738
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13739
|
+
}
|
|
13740
|
+
],
|
|
13683
13741
|
_a[exports.EnumTipoTributo.IS] = [
|
|
13684
13742
|
{
|
|
13685
13743
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13754,7 +13812,12 @@
|
|
|
13754
13812
|
rule: this.taxClassificationStatusRule
|
|
13755
13813
|
}
|
|
13756
13814
|
],
|
|
13757
|
-
_b[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13815
|
+
_b[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13816
|
+
{
|
|
13817
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13818
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13819
|
+
}
|
|
13820
|
+
],
|
|
13758
13821
|
_b[exports.EnumTipoTributo.IS] = [
|
|
13759
13822
|
{
|
|
13760
13823
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13829,7 +13892,12 @@
|
|
|
13829
13892
|
rule: this.taxClassificationStatusRule
|
|
13830
13893
|
}
|
|
13831
13894
|
],
|
|
13832
|
-
_c[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13895
|
+
_c[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13896
|
+
{
|
|
13897
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13898
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13899
|
+
}
|
|
13900
|
+
],
|
|
13833
13901
|
_c[exports.EnumTipoTributo.IS] = [
|
|
13834
13902
|
{
|
|
13835
13903
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13904,7 +13972,12 @@
|
|
|
13904
13972
|
rule: this.taxClassificationStatusRule
|
|
13905
13973
|
}
|
|
13906
13974
|
],
|
|
13907
|
-
_d[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13975
|
+
_d[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
13976
|
+
{
|
|
13977
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
13978
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
13979
|
+
}
|
|
13980
|
+
],
|
|
13908
13981
|
_d[exports.EnumTipoTributo.IS] = [
|
|
13909
13982
|
{
|
|
13910
13983
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -13979,7 +14052,12 @@
|
|
|
13979
14052
|
rule: this.taxClassificationStatusRule
|
|
13980
14053
|
}
|
|
13981
14054
|
],
|
|
13982
|
-
_e[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14055
|
+
_e[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14056
|
+
{
|
|
14057
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14058
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14059
|
+
}
|
|
14060
|
+
],
|
|
13983
14061
|
_e[exports.EnumTipoTributo.IS] = [
|
|
13984
14062
|
{
|
|
13985
14063
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14054,7 +14132,12 @@
|
|
|
14054
14132
|
rule: this.taxClassificationStatusRule
|
|
14055
14133
|
}
|
|
14056
14134
|
],
|
|
14057
|
-
_f[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14135
|
+
_f[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14136
|
+
{
|
|
14137
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14138
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14139
|
+
}
|
|
14140
|
+
],
|
|
14058
14141
|
_f[exports.EnumTipoTributo.IS] = [
|
|
14059
14142
|
{
|
|
14060
14143
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14129,7 +14212,12 @@
|
|
|
14129
14212
|
rule: this.taxClassificationStatusRule
|
|
14130
14213
|
}
|
|
14131
14214
|
],
|
|
14132
|
-
_g[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14215
|
+
_g[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14216
|
+
{
|
|
14217
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14218
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14219
|
+
}
|
|
14220
|
+
],
|
|
14133
14221
|
_g[exports.EnumTipoTributo.IS] = [
|
|
14134
14222
|
{
|
|
14135
14223
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14204,7 +14292,12 @@
|
|
|
14204
14292
|
rule: this.taxClassificationStatusRule
|
|
14205
14293
|
}
|
|
14206
14294
|
],
|
|
14207
|
-
_h[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14295
|
+
_h[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14296
|
+
{
|
|
14297
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14298
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14299
|
+
}
|
|
14300
|
+
],
|
|
14208
14301
|
_h[exports.EnumTipoTributo.IS] = [
|
|
14209
14302
|
{
|
|
14210
14303
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14279,7 +14372,12 @@
|
|
|
14279
14372
|
rule: this.taxClassificationStatusRule
|
|
14280
14373
|
}
|
|
14281
14374
|
],
|
|
14282
|
-
_j[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14375
|
+
_j[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14376
|
+
{
|
|
14377
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14378
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14379
|
+
}
|
|
14380
|
+
],
|
|
14283
14381
|
_j[exports.EnumTipoTributo.IS] = [
|
|
14284
14382
|
{
|
|
14285
14383
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14354,7 +14452,12 @@
|
|
|
14354
14452
|
rule: this.taxClassificationStatusRule
|
|
14355
14453
|
}
|
|
14356
14454
|
],
|
|
14357
|
-
_k[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14455
|
+
_k[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14456
|
+
{
|
|
14457
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14458
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14459
|
+
}
|
|
14460
|
+
],
|
|
14358
14461
|
_k[exports.EnumTipoTributo.IS] = [
|
|
14359
14462
|
{
|
|
14360
14463
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14441,7 +14544,12 @@
|
|
|
14441
14544
|
rule: this.taxClassificationStatusRule
|
|
14442
14545
|
}
|
|
14443
14546
|
],
|
|
14444
|
-
_l[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14547
|
+
_l[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14548
|
+
{
|
|
14549
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14550
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14551
|
+
}
|
|
14552
|
+
],
|
|
14445
14553
|
_l[exports.EnumTipoTributo.IS] = [
|
|
14446
14554
|
{
|
|
14447
14555
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14516,7 +14624,12 @@
|
|
|
14516
14624
|
rule: this.taxClassificationStatusRule
|
|
14517
14625
|
}
|
|
14518
14626
|
],
|
|
14519
|
-
_m[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14627
|
+
_m[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14628
|
+
{
|
|
14629
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14630
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14631
|
+
}
|
|
14632
|
+
],
|
|
14520
14633
|
_m[exports.EnumTipoTributo.IS] = [
|
|
14521
14634
|
{
|
|
14522
14635
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14591,7 +14704,12 @@
|
|
|
14591
14704
|
rule: this.taxClassificationStatusRule
|
|
14592
14705
|
}
|
|
14593
14706
|
],
|
|
14594
|
-
_o[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14707
|
+
_o[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14708
|
+
{
|
|
14709
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14710
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14711
|
+
}
|
|
14712
|
+
],
|
|
14595
14713
|
_o[exports.EnumTipoTributo.IS] = [
|
|
14596
14714
|
{
|
|
14597
14715
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14666,7 +14784,12 @@
|
|
|
14666
14784
|
rule: this.taxClassificationStatusRule
|
|
14667
14785
|
}
|
|
14668
14786
|
],
|
|
14669
|
-
_p[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14787
|
+
_p[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14788
|
+
{
|
|
14789
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14790
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14791
|
+
}
|
|
14792
|
+
],
|
|
14670
14793
|
_p[exports.EnumTipoTributo.IS] = [
|
|
14671
14794
|
{
|
|
14672
14795
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14741,7 +14864,12 @@
|
|
|
14741
14864
|
rule: this.taxClassificationStatusRule
|
|
14742
14865
|
}
|
|
14743
14866
|
],
|
|
14744
|
-
_q[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14867
|
+
_q[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14868
|
+
{
|
|
14869
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14870
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14871
|
+
}
|
|
14872
|
+
],
|
|
14745
14873
|
_q[exports.EnumTipoTributo.IS] = [
|
|
14746
14874
|
{
|
|
14747
14875
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14816,7 +14944,12 @@
|
|
|
14816
14944
|
rule: this.taxClassificationStatusRule
|
|
14817
14945
|
}
|
|
14818
14946
|
],
|
|
14819
|
-
_r[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14947
|
+
_r[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
14948
|
+
{
|
|
14949
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
14950
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
14951
|
+
}
|
|
14952
|
+
],
|
|
14820
14953
|
_r[exports.EnumTipoTributo.IS] = [
|
|
14821
14954
|
{
|
|
14822
14955
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -14891,7 +15024,12 @@
|
|
|
14891
15024
|
rule: this.taxClassificationStatusRule
|
|
14892
15025
|
}
|
|
14893
15026
|
],
|
|
14894
|
-
_s[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
15027
|
+
_s[exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO] = [
|
|
15028
|
+
{
|
|
15029
|
+
field: exports.EnumCampoTributo.AplicarValorLiquidoDocumento,
|
|
15030
|
+
rule: this.applyNetValueToDocumentStatusRule
|
|
15031
|
+
}
|
|
15032
|
+
],
|
|
14895
15033
|
_s[exports.EnumTipoTributo.IS] = [
|
|
14896
15034
|
{
|
|
14897
15035
|
field: exports.EnumCampoTributo.ClassificacaoTributaria,
|
|
@@ -15039,7 +15177,6 @@
|
|
|
15039
15177
|
var document = _a.context.document, _b = _a.item, taxType = _b.name, formGroup = _b.formGroup;
|
|
15040
15178
|
switch (taxType) {
|
|
15041
15179
|
case exports.EnumTipoTributo.CBS:
|
|
15042
|
-
case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
|
|
15043
15180
|
case exports.EnumTipoTributo.IBS_ESTADUAL:
|
|
15044
15181
|
case exports.EnumTipoTributo.IBS_MUNICIPAL:
|
|
15045
15182
|
{
|
|
@@ -15062,6 +15199,7 @@
|
|
|
15062
15199
|
}
|
|
15063
15200
|
}
|
|
15064
15201
|
break;
|
|
15202
|
+
case exports.EnumTipoTributo.CBS_CREDITO_PRESUMIDO:
|
|
15065
15203
|
case exports.EnumTipoTributo.IBS_CREDITO_PRESUMIDO:
|
|
15066
15204
|
{
|
|
15067
15205
|
switch (document) {
|
|
@@ -34211,8 +34349,10 @@
|
|
|
34211
34349
|
}
|
|
34212
34350
|
]
|
|
34213
34351
|
})), { onBlur: function () {
|
|
34352
|
+
if (!isTaxFromTaxReform(tributo)) {
|
|
34353
|
+
_this.setValidators(tributo);
|
|
34354
|
+
}
|
|
34214
34355
|
_this.updateTwoWayDataBinding();
|
|
34215
|
-
_this.setValidators(tributo);
|
|
34216
34356
|
}, id: tributo + 'ClassificacaoTributaria', label: _this.translate.instant('erpx.tributos.fields_classificacao_tributaria_label'), size: { sm: 12, md: 4, lg: 4, xl: 3 }, required: function () {
|
|
34217
34357
|
return _this.isFieldRequired('classificacaoTributaria', tributo);
|
|
34218
34358
|
} })));
|