multi file upload 1401-03-24
This commit is contained in:
@@ -10,7 +10,7 @@ export const printWindow = (innerHTML = document.getElementById('printContent')
|
||||
|
||||
// Open the print window
|
||||
const WinPrint = window.open('', '', 'left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0')
|
||||
WinPrint.document.write('<!DOCTYPE html><html><head>' +
|
||||
WinPrint.document.write('<!DOCTYPE html><html dir="rtl"><head>' +
|
||||
stylesHtml +
|
||||
'<title>چاپ اطلاعات</title>' +
|
||||
'</head><body>' +
|
||||
@@ -20,8 +20,8 @@ export const printWindow = (innerHTML = document.getElementById('printContent')
|
||||
WinPrint.document.close()
|
||||
WinPrint.focus()
|
||||
setTimeout(() => {
|
||||
// WinPrint.print()
|
||||
// WinPrint.close()
|
||||
WinPrint.print()
|
||||
WinPrint.close()
|
||||
}, 600)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user