@hitsoft/e-donusum 1.0.80 → 1.0.82
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-despatches/hit-despatch.component.mjs +7 -2
- package/esm2020/lib/components/hit-inbound-invoices/hit-inbound-invoice.component.mjs +7 -2
- package/esm2020/lib/components/hit-invoices/hit-invoice.component.mjs +7 -2
- package/fesm2015/hitsoft-e-donusum.mjs +21 -3
- package/fesm2015/hitsoft-e-donusum.mjs.map +1 -1
- package/fesm2020/hitsoft-e-donusum.mjs +18 -3
- package/fesm2020/hitsoft-e-donusum.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9375,8 +9375,14 @@ class HitInvoiceComponent {
|
|
|
9375
9375
|
// });
|
|
9376
9376
|
// }
|
|
9377
9377
|
getInvoiceView(record) {
|
|
9378
|
+
var _a;
|
|
9378
9379
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
9379
|
-
const
|
|
9380
|
+
const token = localStorage.getItem('access_token');
|
|
9381
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
9382
|
+
const tenant = (_a = config === null || config === void 0 ? void 0 : config.tenant) === null || _a === void 0 ? void 0 : _a.id;
|
|
9383
|
+
const url = `${baseUrl}/api/e-donusum/invoices/get-invoice-view/${record.uuId}
|
|
9384
|
+
?access_token=${token}
|
|
9385
|
+
&tenantId=${tenant}`;
|
|
9380
9386
|
window.open(url, '_blank', 'noopener');
|
|
9381
9387
|
}
|
|
9382
9388
|
showAllFiles(record) {
|
|
@@ -10274,8 +10280,14 @@ class HitInboundInvoiceComponent {
|
|
|
10274
10280
|
// });
|
|
10275
10281
|
// }
|
|
10276
10282
|
getInvoicePreview(record) {
|
|
10283
|
+
var _a;
|
|
10277
10284
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
10278
|
-
const
|
|
10285
|
+
const token = localStorage.getItem('access_token');
|
|
10286
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
10287
|
+
const tenant = (_a = config === null || config === void 0 ? void 0 : config.tenant) === null || _a === void 0 ? void 0 : _a.id;
|
|
10288
|
+
const url = `${baseUrl}/api/e-donusum/invoices/get-inbound-invoice-view/${record.uuId}
|
|
10289
|
+
?access_token=${token}
|
|
10290
|
+
&tenantId=${tenant}`;
|
|
10279
10291
|
window.open(url, '_blank', 'noopener');
|
|
10280
10292
|
}
|
|
10281
10293
|
openResponseModal(record) {
|
|
@@ -11208,8 +11220,14 @@ class HitDespatchComponent {
|
|
|
11208
11220
|
// });
|
|
11209
11221
|
// }
|
|
11210
11222
|
getDespatchView(record) {
|
|
11223
|
+
var _a;
|
|
11211
11224
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
11212
|
-
const
|
|
11225
|
+
const token = localStorage.getItem('access_token');
|
|
11226
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
11227
|
+
const tenant = (_a = config === null || config === void 0 ? void 0 : config.tenant) === null || _a === void 0 ? void 0 : _a.id;
|
|
11228
|
+
const url = `${baseUrl}/api/e-donusum/despatches/get-despatch-view/${record.uuId}
|
|
11229
|
+
?access_token=${token}
|
|
11230
|
+
&tenantId=${tenant}`;
|
|
11213
11231
|
window.open(url, '_blank', 'noopener');
|
|
11214
11232
|
}
|
|
11215
11233
|
getDespatchResponses() {
|