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 diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html index 2059b0e9b235..4bf129e5992e 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 + + + + + + + + + + + + + + diff --git a/resources/views/pdf-designs/modern.html b/resources/views/pdf-designs/modern.html index c67320be38cd..03cc2100ca1a 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 + } + } - - +
+ + - - - - - - - + + - + + + - + + + + + + +
+ - -
+
+
-
-
-
+ + +
- + +
+ +
+ + + +