feat: implement US-3 - enhance print layout with professional table design
- Add comprehensive i18n support for all print preview content - Fix next-intl context error by moving translations to server component - Implement professional 3-column table layout with proper styling - Add multilingual table headers (EN: #, Bill Information, 2D Barcode | HR: #, Informacije o Računu, 2D Barkod) - Center-align index column header and optimize barcode sizing - Hide print button and header from actual print output - Fix hydration errors with proper date handling - Enhanced barcode display with proper padding and sizing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -61,6 +61,16 @@
|
||||
"payed-total-label": "Total monthly expenditure:",
|
||||
"print-codes-tooltip": "Print 2D codes",
|
||||
"print-codes-label": "Print codes"
|
||||
},
|
||||
"print-preview": {
|
||||
"title": "2D Barcode Print Preview",
|
||||
"barcodes-found": "barcodes found",
|
||||
"barcode-singular": "barcode found",
|
||||
"print-button": "Print Barcodes",
|
||||
"print-footer": "Generated on {date} • Evidencija Režija Print System",
|
||||
"table-header-index": "#",
|
||||
"table-header-bill-info": "Bill Information",
|
||||
"table-header-barcode": "2D Barcode"
|
||||
}
|
||||
},
|
||||
"bill-delete-form": {
|
||||
|
||||
@@ -61,6 +61,16 @@
|
||||
"payed-total-label": "Ukupni mjesečni trošak:",
|
||||
"print-codes-tooltip": "Ispis 2d kodova",
|
||||
"print-codes-label": "Ispis kodova"
|
||||
},
|
||||
"print-preview": {
|
||||
"title": "Pregled Ispisa 2D Barkodova",
|
||||
"barcodes-found": "barkodova pronađeno",
|
||||
"barcode-singular": "barkod pronađen",
|
||||
"print-button": "Ispis Barkodova",
|
||||
"print-footer": "Generirano {date} • Evidencija Režija Sustav Ispisa",
|
||||
"table-header-index": "#",
|
||||
"table-header-bill-info": "Informacije o Računu",
|
||||
"table-header-barcode": "2D Barkod"
|
||||
}
|
||||
},
|
||||
"bill-delete-form": {
|
||||
|
||||
Reference in New Issue
Block a user