From 3912e8c4fe107d4a3220f1b963d17957871f838d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 20 Aug 2021 15:40:09 +0200 Subject: [PATCH] Add `#statement-invoice-table` to Plain --- resources/views/pdf-designs/plain.html | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/resources/views/pdf-designs/plain.html b/resources/views/pdf-designs/plain.html index aad262998cb4..59ddeeab421c 100644 --- a/resources/views/pdf-designs/plain.html +++ b/resources/views/pdf-designs/plain.html @@ -70,7 +70,8 @@ #product-table, #delivery-note-table, - #task-table { + #task-table, + #statement-invoice-table { min-width: 100%; table-layout: fixed; overflow-wrap: break-word; @@ -86,33 +87,38 @@ #product-table > thead, #delivery-note-table > thead, - #task-table > thead { + #task-table > thead, + #statement-invoice-table > thead { text-align: left; } #product-table > thead > tr > th, #delivery-note-table > thead > tr > th, - #task-table > thead > tr > th { + #task-table > thead > tr > th, + #statement-invoice-table > thead > tr > th { padding: 1rem; background-color: #e6e6e6; } #product-table > thead > tr > th:last-child, #delivery-note-table > thead > tr > th:last-child, - #task-table > thead > tr > th:last-child { + #task-table > thead > tr > th:last-child, + #statement-invoice-table > thead > tr > th:last-child { text-align: right; } #product-table > tbody > tr > td, #delivery-note-table > tbody > tr > td, - #task-table > tbody > tr > td { + #task-table > tbody > tr > td, + #statement-invoice-table > tbody > tr > td { border-bottom: 1px solid #e6e6e6; padding: 1rem; } #product-table > tbody > tr > td:last-child, #delivery-note-table > tbody > tr > td:last-child, - #task-table > tbody > tr > td:last-child { + #task-table > tbody > tr > td:last-child, + #statement-invoice-table > tbody > tr > td:last-child { text-align: right; } @@ -181,7 +187,8 @@ /** Markdown-specific styles. **/ #product-table h3, #task-table h3, - #delivery-note-table h3 { + #delivery-note-table, + #statement-invoice-table h3 { font-size: 1rem; margin-bottom: 0; } @@ -251,6 +258,8 @@
+
+