@hitsoft/e-donusum 100.1.2-Edo-Test → 100.1.3-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.
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +2 -2
- package/fesm2015/hitsoft-e-donusum.mjs +13 -13
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11058,7 +11058,7 @@ class HitInboundInvoiceComponent {
|
|
|
11058
11058
|
this.documentLines = [];
|
|
11059
11059
|
}
|
|
11060
11060
|
sendDraft(draftGridLines) {
|
|
11061
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
11061
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
|
|
11062
11062
|
let requestDtoDocumentLines = [];
|
|
11063
11063
|
draftGridLines.forEach(element => {
|
|
11064
11064
|
var _a, _b;
|
|
@@ -11093,19 +11093,19 @@ class HitInboundInvoiceComponent {
|
|
|
11093
11093
|
docEntry: null,
|
|
11094
11094
|
docNum: null,
|
|
11095
11095
|
docCurrency: (_b = (_a = this.selectedInboundInvoice) === null || _a === void 0 ? void 0 : _a.documentCurrencyCode) === null || _b === void 0 ? void 0 : _b.toString(),
|
|
11096
|
-
docObjectCode: "oPurchaseInvoices",
|
|
11097
|
-
docDate: (
|
|
11098
|
-
taxDate: (
|
|
11099
|
-
docDueDate: (
|
|
11100
|
-
docRate: (((
|
|
11101
|
-
cardCode: (
|
|
11102
|
-
numAtCard: (
|
|
11103
|
-
u_EFATNO: (
|
|
11104
|
-
u_UUID: (
|
|
11105
|
-
u_SEND: (
|
|
11106
|
-
u_ProfileId: (
|
|
11096
|
+
docObjectCode: ((_c = this.selectedInboundInvoice) === null || _c === void 0 ? void 0 : _c.invoiceTypeCode) === "IADE" ? "oCreditNotes" : "oPurchaseInvoices",
|
|
11097
|
+
docDate: (_e = (_d = this.selectedInboundInvoice) === null || _d === void 0 ? void 0 : _d.issueDate) === null || _e === void 0 ? void 0 : _e.toString(),
|
|
11098
|
+
taxDate: (_g = (_f = this.selectedInboundInvoice) === null || _f === void 0 ? void 0 : _f.issueDate) === null || _g === void 0 ? void 0 : _g.toString(),
|
|
11099
|
+
docDueDate: (_j = (_h = this.selectedInboundInvoice) === null || _h === void 0 ? void 0 : _h.paymentTermsPaymentDueDate) === null || _j === void 0 ? void 0 : _j.toString(),
|
|
11100
|
+
docRate: (((_k = this.selectedInboundInvoice) === null || _k === void 0 ? void 0 : _k.pricingExchangeRateCalculationRate) <= 1 || isNullOrEmpty((_l = this.selectedInboundInvoice) === null || _l === void 0 ? void 0 : _l.pricingExchangeRateCalculationRate)) ? 1 : this.selectedInboundInvoice.pricingExchangeRateCalculationRate,
|
|
11101
|
+
cardCode: (_o = (_m = this.selectedInboundInvoice) === null || _m === void 0 ? void 0 : _m.accountingSupplierPartyVknTckn) === null || _o === void 0 ? void 0 : _o.toString(),
|
|
11102
|
+
numAtCard: (_q = (_p = this.selectedInboundInvoice) === null || _p === void 0 ? void 0 : _p.invoiceId) === null || _q === void 0 ? void 0 : _q.toString(),
|
|
11103
|
+
u_EFATNO: (_s = (_r = this.selectedInboundInvoice) === null || _r === void 0 ? void 0 : _r.invoiceId) === null || _s === void 0 ? void 0 : _s.toString(),
|
|
11104
|
+
u_UUID: (_u = (_t = this.selectedInboundInvoice) === null || _t === void 0 ? void 0 : _t.uuId) === null || _u === void 0 ? void 0 : _u.toString(),
|
|
11105
|
+
u_SEND: (_w = (_v = this.selectedInboundInvoice) === null || _v === void 0 ? void 0 : _v.invoiceTypeCode) === null || _w === void 0 ? void 0 : _w.toString(),
|
|
11106
|
+
u_ProfileId: (_y = (_x = this.selectedInboundInvoice) === null || _x === void 0 ? void 0 : _x.profileId) === null || _y === void 0 ? void 0 : _y.toString(),
|
|
11107
11107
|
documentLines: requestDtoDocumentLines,
|
|
11108
|
-
bPL_IDAssignedToInvoice: this.isBranch ? (
|
|
11108
|
+
bPL_IDAssignedToInvoice: this.isBranch ? (_1 = (_0 = (_z = this.formDocument) === null || _z === void 0 ? void 0 : _z.controls) === null || _0 === void 0 ? void 0 : _0.selectedBranch) === null || _1 === void 0 ? void 0 : _1.value : 1 // Varsayılan şube - test için
|
|
11109
11109
|
};
|
|
11110
11110
|
this.service.createDraftDocument(requestDto, this.selectedInboundInvoice.id)
|
|
11111
11111
|
.pipe(finalize$1(() => {
|