feat: enhance ticket printing with QR code and improve Dockerfile\n\n- Added a QR code to printed tickets for customer feedback.\n- Improved Dockerfile for better caching and using npm start.\n- Updated print styles and fixed a print area error.\n- Minor updates to index.html and .dockerignore.

This commit is contained in:
Marco Gallegos
2025-08-13 16:56:16 -06:00
parent eb302e6d7d
commit 05b090b2b2
5 changed files with 72 additions and 31 deletions

View File

@@ -226,6 +226,17 @@ button.action-btn {
.t-row { display: flex; justify-content: space-between; }
.t-footer { margin-top: 10px; }
.t-qr-section {
margin-top: 10px;
padding-top: 10px;
border-top: 1px dashed #000;
text-align: center;
}
#qr-canvas {
margin: 5px auto;
display: block;
}
/***** MODO IMPRESIÓN *****/
@media print {
@@ -235,7 +246,7 @@ button.action-btn {
margin: 0;
}
.no-print, .container {
.no-print, .container, .main-footer-credits {
display: none !important;
}
@@ -245,7 +256,7 @@ button.action-btn {
@page {
size: 58mm auto;
margin: 0;
margin: 1cm 0;
}
.ticket {