mirror of
https://github.com/marcogll/ap_pos.git
synced 2026-01-13 21:25:16 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user