fixing recipts in sales

This commit is contained in:
2026-09-24 17:02:33 +05:30
parent 9185d39c39
commit d24072e20a
10 changed files with 697 additions and 258 deletions
+15
View File
@@ -253,5 +253,20 @@
.invoice-sheet th {
break-inside: avoid;
}
/* SalesInvoicePrintPreview portals a print copy of the sheet into <body>; while it's there,
print only that copy — not the app, the on-screen preview, or an open dialog. */
body:has(> .invoice-print-root) > :not(.invoice-print-root) {
display: none !important;
}
.invoice-print-root {
display: block !important;
}
}
/* The print copy never shows on screen. */
.invoice-print-root {
display: none;
}