feat: configure PDF exports to default to Legal landscape and exclude AI Audit column
This commit is contained in:
parent
9adc52bd03
commit
8deb8e70a1
2 changed files with 14 additions and 4 deletions
|
|
@ -80,6 +80,10 @@ export const GET = withAuth(async (req, { prisma }) => {
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Reporte de Remuneraciones y Comisiones - ${period || 'Consolidado'}</title>
|
<title>Reporte de Remuneraciones y Comisiones - ${period || 'Consolidado'}</title>
|
||||||
<style>
|
<style>
|
||||||
|
@page {
|
||||||
|
size: legal landscape;
|
||||||
|
margin: 15mm;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
|
|
||||||
|
|
@ -292,16 +292,22 @@
|
||||||
border-bottom: 2px solid #333 !important;
|
border-bottom: 2px solid #333 !important;
|
||||||
color: black !important;
|
color: black !important;
|
||||||
}
|
}
|
||||||
|
@page {
|
||||||
|
size: legal landscape;
|
||||||
|
margin: 15mm;
|
||||||
|
}
|
||||||
.tr {
|
.tr {
|
||||||
border-bottom: 1px solid #ccc !important;
|
border-bottom: 1px solid #ccc !important;
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
.th:last-child,
|
||||||
|
.td:last-child {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
.expandedRow {
|
.expandedRow {
|
||||||
display: table-row !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.auditNotesBox {
|
.auditNotesBox {
|
||||||
border-left: 2px solid #666 !important;
|
display: none !important;
|
||||||
margin: var(--space-2) 0 !important;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue