From 369e028b53fabf5320294b6886af14f58289675c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 26 May 2021 13:03:27 +0200 Subject: [PATCH 1/3] Update bold.html --- resources/views/pdf-designs/bold.html | 125 +++++++++++++++----------- 1 file changed, 74 insertions(+), 51 deletions(-) diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html index 2059b0e9b..4bf129e59 100644 --- a/resources/views/pdf-designs/bold.html +++ b/resources/views/pdf-designs/bold.html @@ -191,19 +191,6 @@ font-size: 1.5rem; } - table.page-container { - page-break-after: always; - min-width: 100%; - } - - thead.page-header { - display: table-header-group; - } - - tfoot.page-footer { - display: table-footer-group; - } - .footer-wrapper { margin-top: 1rem; background-color: #2d2c2a; @@ -221,49 +208,51 @@ [data-ref="total_table-footer"] { padding-top: 0.5rem } + + /** Repeating header & footer styling. */ + table { + width: 100%; + } + + table.print-content {} + + table.print-content th, + table.print-content td { + padding: .2rem .4rem; + text-align: left; + vertical-align: top; + border-top: 1px solid #dee2e6; + } + + @media print { + .print-footer { + position: fixed; + bottom: 0; + left: 0; + } + + .no-print { + display: none + } + } - - +
+ + - - - - - - - - - + + - + + + - -
+ - -
+

$entity_label

@@ -277,14 +266,48 @@
-
+ + -
- -
+ + + +
\ No newline at end of file + + + + + + + + + + + + + + From f86c165253737feb3d1241a927bd9fe032e6a135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 26 May 2021 13:09:37 +0200 Subject: [PATCH 2/3] Update modern.html --- resources/views/pdf-designs/modern.html | 115 +++++++++++++++--------- 1 file changed, 75 insertions(+), 40 deletions(-) diff --git a/resources/views/pdf-designs/modern.html b/resources/views/pdf-designs/modern.html index c67320be3..03cc2100c 100644 --- a/resources/views/pdf-designs/modern.html +++ b/resources/views/pdf-designs/modern.html @@ -227,51 +227,50 @@ margin-top: 2rem; margin-bottom: 2rem } + + /** Repeating header & footer styling. */ + table { + width: 100%; + } + + table.print-content {} + + table.print-content th, + table.print-content td { + padding: .2rem .4rem; + text-align: left; + vertical-align: top; + border-top: 1px solid #dee2e6; + } + + @media print { + .print-footer { + position: fixed; + bottom: 0; + left: 0; + } + + .no-print { + display: none + } + } - - +
+ + - - - - - - - + + - + + + - + + + + + + +
+ - -
+
+
-
-
-
+ + +
- + +
+ +
+ + + + From 9725e49cfe91567de995fbda1196730f787093de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 26 May 2021 13:10:13 +0200 Subject: [PATCH 3/3] Update designs migration --- ...19_update_designs.php => 2021_05_26_115919_update_designs.php} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename database/migrations/{2021_05_20_115919_update_designs.php => 2021_05_26_115919_update_designs.php} (100%) diff --git a/database/migrations/2021_05_20_115919_update_designs.php b/database/migrations/2021_05_26_115919_update_designs.php similarity index 100% rename from database/migrations/2021_05_20_115919_update_designs.php rename to database/migrations/2021_05_26_115919_update_designs.php