you can now print reminders.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-12 14:47:18 -07:00
parent c6f49bafca
commit f86acf673a
4 changed files with 105 additions and 1 deletions

View File

@@ -95,6 +95,13 @@ html {
overflow: visible;
z-index: 1030;
}
.reminderSticker {
width: 98%;
aspect-ratio: 1/1;
border-style: dashed;
border-width: 2px;
page-break-after: always;
}
body {
background-color: #fff !important;
@@ -492,6 +499,12 @@ html[data-bs-theme="light"] .api-method:hover {
object-fit: scale-down;
pointer-events: none;
}
.lubelogger-logo-sticker {
height: 6rem;
width: auto;
object-fit: scale-down;
pointer-events: none;
}
::-ms-reveal {
display: none;

View File

@@ -631,7 +631,16 @@ function printContainer(htmlData) {
}, 500);
}
function printTabStickers(ids, source) {
printContainer("");
var vehicleId = GetVehicleId().vehicleId;
$.post('/Vehicle/PrintRecordStickers', {
vehicleId: vehicleId,
recordIds: ids,
importMode: source
}, function (data) {
if (data) {
printContainer(data);
}
})
}
function exportVehicleData(mode) {
var vehicleId = GetVehicleId().vehicleId;