@hitsoft/e-donusum 1.0.108 → 1.0.109

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.
@@ -10914,8 +10914,9 @@ class HitInboundInvoiceComponent {
10914
10914
  return;
10915
10915
  }
10916
10916
  // İş kuralı
10917
- const valid = rows.every(x => x.invoiceTypeCode !== 'IADE' &&
10918
- (x.status === 600 || x.status === 700));
10917
+ const valid = rows.every(x => !(x.profileId == 'TICARIFATURA' && x.status == 700 && x.receiverResponse == 2) &&
10918
+ (x.invoiceTypeCode !== 'IADE' &&
10919
+ (x.status === 600 || x.status === 700)));
10919
10920
  this.hasValidSelection = valid;
10920
10921
  }
10921
10922
  createMultipleEmptyDrafts() {