change text of ticket invoice in storeroom

This commit is contained in:
Hesabix 2025-09-03 11:40:27 +03:30
parent 5893c5b196
commit b8ad5f2f49
3 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {