mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 11:17:34 -04:00 
			
		
		
		
	Fixes for Modern Design
This commit is contained in:
		
							parent
							
								
									3f742c7aff
								
							
						
					
					
						commit
						f4863aca42
					
				| @ -186,7 +186,7 @@ class PdfMock | |||||||
|     '$custom_surcharge4' => '$0.00', |     '$custom_surcharge4' => '$0.00', | ||||||
|     '$quote.balance_due' => '$0.00', |     '$quote.balance_due' => '$0.00', | ||||||
|     '$company.id_number' => $this->settings->id_number, |     '$company.id_number' => $this->settings->id_number, | ||||||
|     '$invoice.po_number' => ' ', |     '$invoice.po_number' => 'PO12345', | ||||||
|     '$invoice_total_raw' => 0.0, |     '$invoice_total_raw' => 0.0, | ||||||
|     '$postal_city_state' => '11243 Aufderharchester, North Carolina', |     '$postal_city_state' => '11243 Aufderharchester, North Carolina', | ||||||
|     '$client.vat_number' => '975977515', |     '$client.vat_number' => '975977515', | ||||||
| @ -210,9 +210,9 @@ class PdfMock | |||||||
|     '$invoice.subtotal' => '$0.00', |     '$invoice.subtotal' => '$0.00', | ||||||
|     '$company.address2' => $this->settings->address2, |     '$company.address2' => $this->settings->address2, | ||||||
|     '$partial_due_date' => ' ', |     '$partial_due_date' => ' ', | ||||||
|     '$invoice.due_date' => ' ', |     '$invoice.due_date' => '2023-10-24', | ||||||
|     '$client.id_number' => ' ', |     '$client.id_number' => 'CLI-2023-1234', | ||||||
|     '$credit.po_number' => ' ', |     '$credit.po_number' => 'PO12345', | ||||||
|     '$company.address1' => $this->settings->address1, |     '$company.address1' => $this->settings->address1, | ||||||
|     '$credit.credit_no' => '0029', |     '$credit.credit_no' => '0029', | ||||||
|     '$invoice.datetime' => '25/Feb/2023 1:10 am', |     '$invoice.datetime' => '25/Feb/2023 1:10 am', | ||||||
| @ -233,7 +233,7 @@ class PdfMock | |||||||
|     '$company.custom2' => ' ', |     '$company.custom2' => ' ', | ||||||
|     '$company.custom3' => ' ', |     '$company.custom3' => ' ', | ||||||
|     '$company.custom4' => ' ', |     '$company.custom4' => ' ', | ||||||
|     '$quote.po_number' => ' ', |     '$quote.po_number' => 'PO12345', | ||||||
|     '$company.website' => $this->settings->website, |     '$company.website' => $this->settings->website, | ||||||
|     '$balance_due_raw' => '0.00', |     '$balance_due_raw' => '0.00', | ||||||
|     '$entity.datetime' => '25/Feb/2023 1:10 am', |     '$entity.datetime' => '25/Feb/2023 1:10 am', | ||||||
|  | |||||||
| @ -64,6 +64,7 @@ | |||||||
| 
 | 
 | ||||||
|       .company-name { |       .company-name { | ||||||
|         text-align: left; |         text-align: left; | ||||||
|  |         margin-left: 1rem; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       #header .company-name { |       #header .company-name { | ||||||
| @ -147,7 +148,7 @@ | |||||||
| 
 | 
 | ||||||
|       [data-ref="table"] > tbody > tr > td { |       [data-ref="table"] > tbody > tr > td { | ||||||
|         border-bottom: 1px solid var(--secondary-color); |         border-bottom: 1px solid var(--secondary-color); | ||||||
|         padding: 1rem; |         padding: 0.8rem; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       [data-ref="table"] > tbody > tr > td:first-child { |       [data-ref="table"] > tbody > tr > td:first-child { | ||||||
| @ -163,6 +164,7 @@ | |||||||
|           width: 100%; |           width: 100%; | ||||||
|           position: fixed; |           position: fixed; | ||||||
|           bottom: 0; |           bottom: 0; | ||||||
|  |           padding-left: 1rem; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -211,7 +213,7 @@ | |||||||
|         display: grid; |         display: grid; | ||||||
|         grid-template-columns: 2fr 1fr; |         grid-template-columns: 2fr 1fr; | ||||||
|         padding-top: 0.5rem; |         padding-top: 0.5rem; | ||||||
|         padding-left: 3rem; |         padding-left: 2.5rem; | ||||||
|         padding-right: 3rem; |         padding-right: 3rem; | ||||||
|         gap: 80px; |         gap: 80px; | ||||||
|       } |       } | ||||||
| @ -423,7 +425,7 @@ $entity_images | |||||||
| 
 | 
 | ||||||
| <div id="footer"> | <div id="footer"> | ||||||
|     <div class="footer-content"> |     <div class="footer-content"> | ||||||
|         <div style="width: 70%"> |         <div style="width: 70%; margin-left: 2rem;"> | ||||||
|             <p data-ref="total_table-footer">$entity_footer</p> |             <p data-ref="total_table-footer">$entity_footer</p> | ||||||
| 
 | 
 | ||||||
|         <script> |         <script> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user