@hitsoft/e-donusum 1.0.75 → 1.0.76
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.
|
@@ -11290,11 +11290,11 @@ class HitDespatchComponent {
|
|
|
11290
11290
|
debugger;
|
|
11291
11291
|
this.service.getDespatchXML(record.id, record.resourceDocType).subscribe(irsaliye => {
|
|
11292
11292
|
const source = `data:${irsaliye.mimeType};base64,${irsaliye.content}`;
|
|
11293
|
-
this.hitSharedService.previewFile(irsaliye.content);
|
|
11294
|
-
|
|
11293
|
+
//this.hitSharedService.previewFile(irsaliye.content);
|
|
11294
|
+
const link = document.createElement('a');
|
|
11295
11295
|
link.href = source;
|
|
11296
11296
|
link.download = `${irsaliye.filename}`;
|
|
11297
|
-
link.click()
|
|
11297
|
+
link.click();
|
|
11298
11298
|
});
|
|
11299
11299
|
}
|
|
11300
11300
|
getDocObjectName(data) {
|