diff --git a/templates/checkout.html b/templates/checkout.html index 0ff6dda..a743c89 100644 --- a/templates/checkout.html +++ b/templates/checkout.html @@ -188,10 +188,64 @@ input[type=number] { -moz-appearance: textfield; } + + /* ── Thermal Printer Styles (80mm) ── */ + #receipt-print-zone { display: none; } /* Hidden on screen */ + + @media print { + body { background: #fff; margin: 0; padding: 0; } + .navbar, .container-fluid, .modal { display: none !important; } /* Hide the UI */ + + #receipt-print-zone { + display: block !important; + width: 80mm; + padding: 0; + margin: 0; + font-family: "Courier New", Courier, monospace; + color: #000; + font-size: 12px; + } + + @page { margin: 0; } /* Kills the browser's default blank page margins */ + + .receipt-header { text-align: center; margin-bottom: 10px; } + .receipt-table { width: 100%; margin-bottom: 10px; } + .receipt-table th { text-align: left; border-bottom: 1px dashed #000; padding-bottom: 3px; } + .receipt-table td { padding: 3px 0; vertical-align: top; } + .receipt-total-row { border-top: 1px dashed #000; font-weight: bold; font-size: 14px; } + } +
+
+

SekiPOS

+
Comprobante de Venta
+
+
+ + + + + + + + + + + +
CantDescTotal
+ +
+ TOTAL: + +
+ +
+ ¡Gracias por su compra! +
+
-