@hitsoft/e-donusum 1.0.100 → 1.0.102
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.
- package/esm2020/config/providers/hit-providers/despatch-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/failed-connector-despatch-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/failed-connector-invoice-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/failed-despatch-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/failed-invoice-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/inbound-despatch-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/inbound-invoice-route.provider.mjs +2 -2
- package/esm2020/config/providers/hit-providers/invoice-route.provider.mjs +2 -2
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +48 -50
- package/fesm2015/hitsoft-e-donusum-config.mjs +8 -8
- package/fesm2015/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2015/hitsoft-e-donusum.mjs +47 -49
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum-config.mjs +8 -8
- package/fesm2020/hitsoft-e-donusum-config.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +47 -49
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10697,10 +10697,10 @@ class HitInboundInvoiceComponent {
|
|
|
10697
10697
|
let requestDtoDocumentLines = [];
|
|
10698
10698
|
draftGridLines.forEach(element => {
|
|
10699
10699
|
requestDtoDocumentLines.push({
|
|
10700
|
-
quantity: element.selectedQty,
|
|
10701
|
-
baseType: element.objType,
|
|
10702
|
-
baseEntry: element.docEntry,
|
|
10703
|
-
baseLine: element.lineNum
|
|
10700
|
+
quantity: element.data.selectedQty,
|
|
10701
|
+
baseType: element.data.objType,
|
|
10702
|
+
baseEntry: element.data.docEntry,
|
|
10703
|
+
baseLine: element.data.lineNum
|
|
10704
10704
|
});
|
|
10705
10705
|
});
|
|
10706
10706
|
let requestDto = {
|
|
@@ -10736,10 +10736,10 @@ class HitInboundInvoiceComponent {
|
|
|
10736
10736
|
let requestDtoDocumentLines = [];
|
|
10737
10737
|
documentGridLines.forEach(element => {
|
|
10738
10738
|
requestDtoDocumentLines.push({
|
|
10739
|
-
quantity: element.selectedQty,
|
|
10740
|
-
baseType: element.objType,
|
|
10741
|
-
baseEntry: element.docEntry,
|
|
10742
|
-
baseLine: element.lineNum
|
|
10739
|
+
quantity: element.data.selectedQty,
|
|
10740
|
+
baseType: element.data.objType,
|
|
10741
|
+
baseEntry: element.data.docEntry,
|
|
10742
|
+
baseLine: element.data.lineNum
|
|
10743
10743
|
});
|
|
10744
10744
|
});
|
|
10745
10745
|
let requestDto = {
|
|
@@ -10772,51 +10772,49 @@ class HitInboundInvoiceComponent {
|
|
|
10772
10772
|
}
|
|
10773
10773
|
createDraftDocument() {
|
|
10774
10774
|
this.isModalBusyForDocument = true;
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
if (
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10775
|
+
let gridLines = this.dxDocumentLines.instance.getVisibleRows();
|
|
10776
|
+
if (gridLines.length == 0) {
|
|
10777
|
+
if (this.isDraft) {
|
|
10778
|
+
this.confirmation
|
|
10779
|
+
.info('Tabloda satır bulunmadığı için taslak belge boş olarak oluşturulacaktır. Devam etmek istiyor musunuz?', { key: '::Bilgi', defaultValue: '' })
|
|
10780
|
+
.subscribe((status) => {
|
|
10781
|
+
if (status == "confirm") {
|
|
10782
|
+
this.sendDraft(gridLines);
|
|
10783
|
+
}
|
|
10784
|
+
else {
|
|
10785
|
+
this.isModalBusyForDocument = false;
|
|
10786
|
+
return;
|
|
10787
|
+
}
|
|
10788
|
+
});
|
|
10789
|
+
}
|
|
10790
|
+
else {
|
|
10791
|
+
this.toasterService.error("Kayıtlı belge oluşturulurken boş satır girilemez.");
|
|
10792
|
+
}
|
|
10793
|
+
}
|
|
10794
|
+
else {
|
|
10795
|
+
if (gridLines.filter(x => x.data.selectedQty > x.data.openQty).length > 0) {
|
|
10796
|
+
this.confirmation
|
|
10797
|
+
.info('Seçilen miktarı, açık miktardan büyük olan satır/satırlar mevcut. Devam etmek istiyor musunuz?', { key: '::Bilgi', defaultValue: '' })
|
|
10798
|
+
.subscribe((status) => {
|
|
10799
|
+
if (status == "confirm") {
|
|
10800
|
+
if (this.isDraft)
|
|
10783
10801
|
this.sendDraft(gridLines);
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
this.toasterService.error("Kayıtlı belge oluşturulurken boş satır girilemez.");
|
|
10793
|
-
}
|
|
10802
|
+
else
|
|
10803
|
+
this.sendDocument(gridLines);
|
|
10804
|
+
}
|
|
10805
|
+
else {
|
|
10806
|
+
this.isModalBusyForDocument = false;
|
|
10807
|
+
return;
|
|
10808
|
+
}
|
|
10809
|
+
});
|
|
10794
10810
|
}
|
|
10795
10811
|
else {
|
|
10796
|
-
if (
|
|
10797
|
-
this.
|
|
10798
|
-
|
|
10799
|
-
|
|
10800
|
-
if (status == "confirm") {
|
|
10801
|
-
if (this.isDraft)
|
|
10802
|
-
this.sendDraft(gridLines);
|
|
10803
|
-
else
|
|
10804
|
-
this.sendDocument(gridLines);
|
|
10805
|
-
}
|
|
10806
|
-
else {
|
|
10807
|
-
this.isModalBusyForDocument = false;
|
|
10808
|
-
return;
|
|
10809
|
-
}
|
|
10810
|
-
});
|
|
10811
|
-
}
|
|
10812
|
-
else {
|
|
10813
|
-
if (this.isDraft)
|
|
10814
|
-
this.sendDraft(gridLines);
|
|
10815
|
-
else
|
|
10816
|
-
this.sendDocument(gridLines);
|
|
10817
|
-
}
|
|
10812
|
+
if (this.isDraft)
|
|
10813
|
+
this.sendDraft(gridLines);
|
|
10814
|
+
else
|
|
10815
|
+
this.sendDocument(gridLines);
|
|
10818
10816
|
}
|
|
10819
|
-
}
|
|
10817
|
+
}
|
|
10820
10818
|
}
|
|
10821
10819
|
processManual(record) {
|
|
10822
10820
|
this.service.processManual(record.id).subscribe(result => {
|