@senior-gestao-empresarial/erpx-components 4.2.2 → 4.3.0

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.
@@ -26759,7 +26759,15 @@
26759
26759
  (_this.indexAccordion = [0]));
26760
26760
  _this.changeDetector.detectChanges();
26761
26761
  }
26762
- }, {
26762
+ });
26763
+ }
26764
+ if (this.context.document === 'Incoming Invoice' ||
26765
+ this.context.document === 'Outgoing Invoice' ||
26766
+ (this.context.document === 'Purchase Order' &&
26767
+ this.context.order.item.type === 'Service') ||
26768
+ (this.context.document === 'Sale Order' &&
26769
+ this.context.order.item.type === 'Service')) {
26770
+ menu.push({
26763
26771
  id: 'retencoes',
26764
26772
  label: this.translate.instant('erpx.tributos.actions_retencoes_label'),
26765
26773
  disabled: this.menuItemRetencoes,