Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
c49c3e0fd9
commit
a0b6c5cae8
@@ -124,7 +124,7 @@ export function generateStatusReportPdf(opts: StatusReportOptions): jsPDF {
|
||||
|
||||
autoTable(doc, {
|
||||
startY: y + 6,
|
||||
head: [["Event date", "Details", "Logged by"]],
|
||||
head: [["Date", "Details"]],
|
||||
body: rowsForGroup(g.items),
|
||||
margin: { left: margin, right: margin },
|
||||
styles: {
|
||||
@@ -144,9 +144,8 @@ export function generateStatusReportPdf(opts: StatusReportOptions): jsPDF {
|
||||
},
|
||||
alternateRowStyles: { fillColor: [248, 248, 246] },
|
||||
columnStyles: {
|
||||
0: { cellWidth: 96 },
|
||||
0: { cellWidth: 110 },
|
||||
1: { cellWidth: "auto" },
|
||||
2: { cellWidth: 96, fontSize: 8.5, textColor: 80 },
|
||||
},
|
||||
didDrawPage: () => {
|
||||
// Footer with page number
|
||||
|
||||
Reference in New Issue
Block a user