feat: configure PDF exports to default to Legal landscape and exclude AI Audit column

This commit is contained in:
Luis Gabriel Ramos Robles 2026-06-14 02:41:17 +00:00
parent 9adc52bd03
commit 8deb8e70a1
2 changed files with 14 additions and 4 deletions

View file

@ -80,6 +80,10 @@ export const GET = withAuth(async (req, { prisma }) => {
<meta charset="UTF-8">
<title>Reporte de Remuneraciones y Comisiones - ${period || 'Consolidado'}</title>
<style>
@page {
size: legal landscape;
margin: 15mm;
}
body {
font-family: Arial, sans-serif;
color: #333;

View file

@ -292,16 +292,22 @@
border-bottom: 2px solid #333 !important;
color: black !important;
}
@page {
size: legal landscape;
margin: 15mm;
}
.tr {
border-bottom: 1px solid #ccc !important;
page-break-inside: avoid;
}
.th:last-child,
.td:last-child {
display: none !important;
}
.expandedRow {
display: table-row !important;
display: none !important;
}
.auditNotesBox {
border-left: 2px solid #666 !important;
margin: var(--space-2) 0 !important;
page-break-inside: avoid;
display: none !important;
}
}