added print function.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-29 13:32:42 -07:00
parent 8a237bb7ec
commit 32a047c522
8 changed files with 19 additions and 1 deletions

View File

@@ -317,7 +317,11 @@ function getVehicleHaveImportantReminders(vehicleId) {
});
}, 500);
}
function printTab() {
setTimeout(function () {
window.print();
}, 500);
}
function deleteFileFromUploadedFiles(fileLocation, event) {
event.parentElement.parentElement.parentElement.remove();
uploadedFiles = uploadedFiles.filter(x => x.location != fileLocation);