@hitsoft/e-donusum 1.0.81 → 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
|
@@ -9518,7 +9518,12 @@ class HitInvoiceComponent {
|
|
|
9518
9518
|
// }
|
|
9519
9519
|
getInvoiceView(record) {
|
|
9520
9520
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
9521
|
-
const
|
|
9521
|
+
const token = localStorage.getItem('access_token');
|
|
9522
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
9523
|
+
const tenant = config?.tenant?.id;
|
|
9524
|
+
const url = `${baseUrl}/api/e-donusum/invoices/get-invoice-view/${record.uuId}
|
|
9525
|
+
?access_token=${token}
|
|
9526
|
+
&tenantId=${tenant}`;
|
|
9522
9527
|
window.open(url, '_blank', 'noopener');
|
|
9523
9528
|
}
|
|
9524
9529
|
showAllFiles(record) {
|
|
@@ -10414,7 +10419,12 @@ class HitInboundInvoiceComponent {
|
|
|
10414
10419
|
// }
|
|
10415
10420
|
getInvoicePreview(record) {
|
|
10416
10421
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
10417
|
-
const
|
|
10422
|
+
const token = localStorage.getItem('access_token');
|
|
10423
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
10424
|
+
const tenant = config?.tenant?.id;
|
|
10425
|
+
const url = `${baseUrl}/api/e-donusum/invoices/get-inbound-invoice-view/${record.uuId}
|
|
10426
|
+
?access_token=${token}
|
|
10427
|
+
&tenantId=${tenant}`;
|
|
10418
10428
|
window.open(url, '_blank', 'noopener');
|
|
10419
10429
|
}
|
|
10420
10430
|
openResponseModal(record) {
|
|
@@ -11342,7 +11352,12 @@ class HitDespatchComponent {
|
|
|
11342
11352
|
// }
|
|
11343
11353
|
getDespatchView(record) {
|
|
11344
11354
|
const baseUrl = this.environmentService.getEnvironment().apis.eDonusum.url;
|
|
11345
|
-
const
|
|
11355
|
+
const token = localStorage.getItem('access_token');
|
|
11356
|
+
const config = JSON.parse(localStorage.getItem('abpSession'));
|
|
11357
|
+
const tenant = config?.tenant?.id;
|
|
11358
|
+
const url = `${baseUrl}/api/e-donusum/despatches/get-despatch-view/${record.uuId}
|
|
11359
|
+
?access_token=${token}
|
|
11360
|
+
&tenantId=${tenant}`;
|
|
11346
11361
|
window.open(url, '_blank', 'noopener');
|
|
11347
11362
|
}
|
|
11348
11363
|
getDespatchResponses() {
|