@senior-gestao-empresarial/erpx-components 3.24.2 → 3.24.3
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 +8 -3
- 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/components/tributos/erp-tributos.component.d.ts +1 -0
- package/esm2015/components/tributos/erp-tributos.component.js +9 -4
- package/esm5/components/tributos/erp-tributos.component.js +9 -4
- package/fesm2015/senior-gestao-empresarial-erpx-components.js +8 -3
- package/fesm2015/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-erpx-components.js +8 -3
- package/fesm5/senior-gestao-empresarial-erpx-components.js.map +1 -1
- package/package.json +1 -1
- package/senior-gestao-empresarial-erpx-components.metadata.json +1 -1
|
@@ -8675,7 +8675,7 @@
|
|
|
8675
8675
|
}));
|
|
8676
8676
|
}
|
|
8677
8677
|
else if (it.campo == exports.EnumCampoTributo.SituacaoTributaria) {
|
|
8678
|
-
formGroup = __assign(__assign({}, formGroup), { situacaoTributaria: [{ value:
|
|
8678
|
+
formGroup = __assign(__assign({}, formGroup), { situacaoTributaria: [{ value: null, disabled: false }, forms.Validators.compose([])] });
|
|
8679
8679
|
var searchGridFields = void 0;
|
|
8680
8680
|
if (_this.documento === exports.EnumTipoDocumento.NF_SAIDA_CONTROLADORIA) {
|
|
8681
8681
|
searchGridFields = [
|
|
@@ -8748,8 +8748,7 @@
|
|
|
8748
8748
|
{
|
|
8749
8749
|
field: 'tipOpe',
|
|
8750
8750
|
operator: angularComponents.EnumLogicalOperator.Eq,
|
|
8751
|
-
values: _this.
|
|
8752
|
-
_this.documento === exports.EnumTipoDocumento.NF_SAIDA_CONTROLADORIA
|
|
8751
|
+
values: _this.isOutboundInvoiceDocument()
|
|
8753
8752
|
? [exports.EnumTipOpe.VAMBOS, exports.EnumTipOpe.VSAIDA]
|
|
8754
8753
|
: [exports.EnumTipOpe.VAMBOS, exports.EnumTipOpe.VENTRADA]
|
|
8755
8754
|
},
|
|
@@ -9633,6 +9632,12 @@
|
|
|
9633
9632
|
this.documento === exports.EnumTipoDocumento.NF_ENTRADA_COMPLEMENTAR ||
|
|
9634
9633
|
this.documento === exports.EnumTipoDocumento.NF_ENTRADA_CONTROLADORIA);
|
|
9635
9634
|
};
|
|
9635
|
+
ErpTributosComponent.prototype.isOutboundInvoiceDocument = function () {
|
|
9636
|
+
return (this.documento === exports.EnumTipoDocumento.NF_SAIDA ||
|
|
9637
|
+
this.documento === exports.EnumTipoDocumento.NF_SAIDA_AJUSTE ||
|
|
9638
|
+
this.documento === exports.EnumTipoDocumento.NF_SAIDA_COMPLEMENTAR ||
|
|
9639
|
+
this.documento === exports.EnumTipoDocumento.NF_SAIDA_CONTROLADORIA);
|
|
9640
|
+
};
|
|
9636
9641
|
ErpTributosComponent.prototype.isFieldRequired = function (field, taxType) {
|
|
9637
9642
|
var _a, _b, _c;
|
|
9638
9643
|
var item = this.grupos
|