diff --git a/app/Http/Controllers/PreviewController.php b/app/Http/Controllers/PreviewController.php index c0a2d85a9..3d5e4e87a 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 4fe76320c..0fe697d0c 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 bf36b606a..4d0c35860 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 564ccda26..d745a450e 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 6607e3743..1dcc67f8c 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 a09119660..dcc635d8e 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 3801548bc..d064c7df0 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 446449f51..556d062ec 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 a4bd0846e..961733d0a 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;