1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Fixes for Modern Design

This commit is contained in:
David Bomba 2023-02-25 20:27:23 +11:00
parent 3f742c7aff
commit f4863aca42
2 changed files with 10 additions and 8 deletions

View File

@ -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',

View File

@ -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
<div id="footer">
<div class="footer-content">
<div style="width: 70%">
<div style="width: 70%; margin-left: 2rem;">
<p data-ref="total_table-footer">$entity_footer</p>
<script>