diff --git a/app/Http/Controllers/PreviewController.php b/app/Http/Controllers/PreviewController.php index c0a2d85a9b..3d5e4e87aa 100644 --- a/app/Http/Controllers/PreviewController.php +++ b/app/Http/Controllers/PreviewController.php @@ -16,6 +16,10 @@ use App\Designs\Designer; use App\Factory\InvoiceFactory; use App\Jobs\Invoice\CreateInvoicePdf; use App\Jobs\Util\PreviewPdf; +use App\Models\Client; +use App\Models\ClientContact; +use App\Models\Invoice; +use App\Models\InvoiceInvitation; use App\Services\PdfMaker\Design; use App\Services\PdfMaker\PdfMaker; use App\Utils\HtmlEngine; diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html index 4fe76320c4..0fe697d0c0 100644 --- a/resources/views/pdf-designs/bold.html +++ b/resources/views/pdf-designs/bold.html @@ -91,6 +91,7 @@ table-layout: fixed; overflow-wrap: break-word; margin-top: 3rem; + margin-bottom: 200px; } #product-table > thead { text-align: left; diff --git a/resources/views/pdf-designs/business.html b/resources/views/pdf-designs/business.html index bf36b606a2..4d0c358606 100644 --- a/resources/views/pdf-designs/business.html +++ b/resources/views/pdf-designs/business.html @@ -94,6 +94,7 @@ #product-table { margin-top: 3.5rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; diff --git a/resources/views/pdf-designs/clean.html b/resources/views/pdf-designs/clean.html index 564ccda26b..d745a450e9 100644 --- a/resources/views/pdf-designs/clean.html +++ b/resources/views/pdf-designs/clean.html @@ -84,6 +84,7 @@ #product-table { margin-top: 3rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; diff --git a/resources/views/pdf-designs/creative.html b/resources/views/pdf-designs/creative.html index 6607e37439..1dcc67f8cd 100644 --- a/resources/views/pdf-designs/creative.html +++ b/resources/views/pdf-designs/creative.html @@ -84,6 +84,7 @@ #product-table { margin-top: 3rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; diff --git a/resources/views/pdf-designs/elegant.html b/resources/views/pdf-designs/elegant.html index a091196602..dcc635d8e6 100644 --- a/resources/views/pdf-designs/elegant.html +++ b/resources/views/pdf-designs/elegant.html @@ -80,6 +80,7 @@ #product-table { margin-top: 3rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; diff --git a/resources/views/pdf-designs/hipster.html b/resources/views/pdf-designs/hipster.html index 3801548bcb..d064c7df09 100644 --- a/resources/views/pdf-designs/hipster.html +++ b/resources/views/pdf-designs/hipster.html @@ -94,6 +94,7 @@ #product-table { margin-top: 3rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word; diff --git a/resources/views/pdf-designs/plain.html b/resources/views/pdf-designs/plain.html index 446449f51b..556d062ec6 100644 --- a/resources/views/pdf-designs/plain.html +++ b/resources/views/pdf-designs/plain.html @@ -64,6 +64,7 @@ table-layout: fixed; overflow-wrap: break-word; margin-top: 3rem; + margin-bottom: 200px; } #product-table > thead { text-align: left; diff --git a/resources/views/pdf-designs/playful.html b/resources/views/pdf-designs/playful.html index a4bd0846e2..961733d0a0 100644 --- a/resources/views/pdf-designs/playful.html +++ b/resources/views/pdf-designs/playful.html @@ -87,6 +87,7 @@ #product-table { margin-top: 3rem; + margin-bottom: 200px; min-width: 100%; table-layout: fixed; overflow-wrap: break-word;