@hitsoft/e-donusum 100.1.7-Edo-Test → 100.1.9-Edo-Test

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.
@@ -10902,7 +10902,10 @@ class HitInboundInvoiceComponent {
10902
10902
  }
10903
10903
  openPartnerModal(record) {
10904
10904
  this.toasterService.info("Muhatap kontrolü yapılıyor, lütfen bekleyiniz.");
10905
- this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn).subscribe(result => {
10905
+ let cardType = "cSupplier";
10906
+ if (record.invoiceTypeCode == "IADE")
10907
+ cardType = "cCustomer";
10908
+ this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn, cardType).subscribe(result => {
10906
10909
  if (!result) {
10907
10910
  this.buildFormForPartner(record);
10908
10911
  }
@@ -11053,7 +11056,10 @@ class HitInboundInvoiceComponent {
11053
11056
  }
11054
11057
  openDraftForm(record) {
11055
11058
  this.toasterService.info("Muhatap kontrolü yapılıyor, lütfen bekleyiniz.");
11056
- this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn).subscribe(result => {
11059
+ let cardType = "cSupplier";
11060
+ if (record.invoiceTypeCode == "IADE")
11061
+ cardType = "cCustomer";
11062
+ this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn, cardType).subscribe(result => {
11057
11063
  if (!result) {
11058
11064
  this.toasterService.error("İlgili VKN'ye ait (" + record.accountingSupplierPartyVknTckn + ") muhatap bulunamadı, lütfen önce muhatap oluşturun.");
11059
11065
  }
@@ -11067,7 +11073,10 @@ class HitInboundInvoiceComponent {
11067
11073
  }
11068
11074
  openDocumentForm(record) {
11069
11075
  this.toasterService.info("Muhatap kontrolü yapılıyor, lütfen bekleyiniz.");
11070
- this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn).subscribe(result => {
11076
+ let cardType = "cSupplier";
11077
+ if (record.invoiceTypeCode == "IADE")
11078
+ cardType = "cCustomer";
11079
+ this.service.checkBusinessPartnerExist(record.accountingSupplierPartyVknTckn, cardType).subscribe(result => {
11071
11080
  if (!result) {
11072
11081
  this.toasterService.error("İlgili VKN'ye ait (" + record.accountingSupplierPartyVknTckn + ") muhatap bulunamadı, lütfen önce muhatap oluşturun.");
11073
11082
  }