@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.
@@ -26557,7 +26557,15 @@ var ErpTributosComponent = /** @class */ (function () {
26557
26557
  (_this.indexAccordion = [0]));
26558
26558
  _this.changeDetector.detectChanges();
26559
26559
  }
26560
- }, {
26560
+ });
26561
+ }
26562
+ if (this.context.document === 'Incoming Invoice' ||
26563
+ this.context.document === 'Outgoing Invoice' ||
26564
+ (this.context.document === 'Purchase Order' &&
26565
+ this.context.order.item.type === 'Service') ||
26566
+ (this.context.document === 'Sale Order' &&
26567
+ this.context.order.item.type === 'Service')) {
26568
+ menu.push({
26561
26569
  id: 'retencoes',
26562
26570
  label: this.translate.instant('erpx.tributos.actions_retencoes_label'),
26563
26571
  disabled: this.menuItemRetencoes,