From 33c43ce482d82454d040a15944eba3be0b64a0b6 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 7 Feb 2019 15:21:17 +0100 Subject: [PATCH] Add columns lines to PDF overview export --- src/pretix/plugins/reports/exporters.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pretix/plugins/reports/exporters.py b/src/pretix/plugins/reports/exporters.py index fb1c4b45f..d25ade49d 100644 --- a/src/pretix/plugins/reports/exporters.py +++ b/src/pretix/plugins/reports/exporters.py @@ -172,7 +172,12 @@ class OverviewReport(Report): ('VALIGN', (0, 0), (-1, -1), 'MIDDLE'), ('FONTNAME', (0, 0), (-1, 1), 'OpenSansBd'), ('FONTNAME', (0, -1), (-1, -1), 'OpenSansBd'), - ('FONTSIZE', (0, 0), (-1, -1), 9) + ('FONTSIZE', (0, 0), (-1, -1), 9), + ('LINEBEFORE', (1, 0), (1, -1), 1, colors.lightgrey), + ('LINEBEFORE', (3, 0), (3, -1), 1, colors.lightgrey), + ('LINEBEFORE', (5, 0), (5, -1), 1, colors.lightgrey), + ('LINEBEFORE', (7, 1), (7, -1), 1, colors.lightgrey), + ('LINEBEFORE', (9, 1), (9, -1), 1, colors.lightgrey), ] story = [