diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index 29b39797c8..e0e71896be 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -186,7 +186,7 @@ class PdfMock '$custom_surcharge4' => '$0.00', '$quote.balance_due' => '$0.00', '$company.id_number' => $this->settings->id_number, - '$invoice.po_number' => ' ', + '$invoice.po_number' => 'PO12345', '$invoice_total_raw' => 0.0, '$postal_city_state' => '11243 Aufderharchester, North Carolina', '$client.vat_number' => '975977515', @@ -210,9 +210,9 @@ class PdfMock '$invoice.subtotal' => '$0.00', '$company.address2' => $this->settings->address2, '$partial_due_date' => ' ', - '$invoice.due_date' => ' ', - '$client.id_number' => ' ', - '$credit.po_number' => ' ', + '$invoice.due_date' => '2023-10-24', + '$client.id_number' => 'CLI-2023-1234', + '$credit.po_number' => 'PO12345', '$company.address1' => $this->settings->address1, '$credit.credit_no' => '0029', '$invoice.datetime' => '25/Feb/2023 1:10 am', @@ -233,7 +233,7 @@ class PdfMock '$company.custom2' => ' ', '$company.custom3' => ' ', '$company.custom4' => ' ', - '$quote.po_number' => ' ', + '$quote.po_number' => 'PO12345', '$company.website' => $this->settings->website, '$balance_due_raw' => '0.00', '$entity.datetime' => '25/Feb/2023 1:10 am', diff --git a/resources/views/pdf-designs/modern.html b/resources/views/pdf-designs/modern.html index 2b3c3e7cd4..7ed9b15b05 100644 --- a/resources/views/pdf-designs/modern.html +++ b/resources/views/pdf-designs/modern.html @@ -64,6 +64,7 @@ .company-name { text-align: left; + margin-left: 1rem; } #header .company-name { @@ -147,7 +148,7 @@ [data-ref="table"] > tbody > tr > td { border-bottom: 1px solid var(--secondary-color); - padding: 1rem; + padding: 0.8rem; } [data-ref="table"] > tbody > tr > td:first-child { @@ -163,6 +164,7 @@ width: 100%; position: fixed; bottom: 0; + padding-left: 1rem; } @@ -211,7 +213,7 @@ display: grid; grid-template-columns: 2fr 1fr; padding-top: 0.5rem; - padding-left: 3rem; + padding-left: 2.5rem; padding-right: 3rem; gap: 80px; } @@ -423,7 +425,7 @@ $entity_images