@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.
@@ -10784,8 +10784,9 @@ class HitInboundInvoiceComponent {
10784
10784
  return;
10785
10785
  }
10786
10786
  // İş kuralı
10787
- const valid = rows.every(x => x.invoiceTypeCode !== 'IADE' &&
10788
- (x.status === 600 || x.status === 700));
10787
+ const valid = rows.every(x => !(x.profileId == 'TICARIFATURA' && x.status == 700 && x.receiverResponse == 2) &&
10788
+ (x.invoiceTypeCode !== 'IADE' &&
10789
+ (x.status === 600 || x.status === 700)));
10789
10790
  this.hasValidSelection = valid;
10790
10791
  }
10791
10792
  createMultipleEmptyDrafts() {