change text of ticket invoice in storeroom
This commit is contained in:
parent
5893c5b196
commit
b8ad5f2f49
|
|
@ -497,7 +497,7 @@ const printTicket = (code: string, pdf = true, cloudePrinters = true) => {
|
|||
var fileURL = window.URL.createObjectURL(new Blob([pdfResponse.data]));
|
||||
var fileLink = document.createElement('a');
|
||||
fileLink.href = fileURL;
|
||||
fileLink.setAttribute('download', `فاکتور انبار ${code}.pdf`);
|
||||
fileLink.setAttribute('download', `حواله انبار ${code}.pdf`);
|
||||
document.body.appendChild(fileLink);
|
||||
fileLink.click();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@
|
|||
var fileURL = window.URL.createObjectURL(new Blob([pdfResponse.data]));
|
||||
var fileLink = document.createElement('a');
|
||||
fileLink.href = fileURL;
|
||||
fileLink.setAttribute('download', `فاکتور انبار ${code}.pdf`);
|
||||
fileLink.setAttribute('download', `حواله انبار ${code}.pdf`);
|
||||
document.body.appendChild(fileLink);
|
||||
fileLink.click();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ const printInvoice = (pdf = true, cloudePrinters = true) => {
|
|||
var fileURL = window.URL.createObjectURL(new Blob([pdfResponse.data]));
|
||||
var fileLink = document.createElement('a');
|
||||
fileLink.href = fileURL;
|
||||
fileLink.setAttribute('download', `فاکتور انبار ${router.currentRoute.value.params.id}.pdf`);
|
||||
fileLink.setAttribute('download', `حواله انبار ${router.currentRoute.value.params.id}.pdf`);
|
||||
document.body.appendChild(fileLink);
|
||||
fileLink.click();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue