@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.
@@ -25823,7 +25823,15 @@ let ErpTributosComponent = class ErpTributosComponent {
25823
25823
  (this.indexAccordion = [0]));
25824
25824
  this.changeDetector.detectChanges();
25825
25825
  }
25826
- }, {
25826
+ });
25827
+ }
25828
+ if (this.context.document === 'Incoming Invoice' ||
25829
+ this.context.document === 'Outgoing Invoice' ||
25830
+ (this.context.document === 'Purchase Order' &&
25831
+ this.context.order.item.type === 'Service') ||
25832
+ (this.context.document === 'Sale Order' &&
25833
+ this.context.order.item.type === 'Service')) {
25834
+ menu.push({
25827
25835
  id: 'retencoes',
25828
25836
  label: this.translate.instant('erpx.tributos.actions_retencoes_label'),
25829
25837
  disabled: this.menuItemRetencoes,