mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 17:18:29 -04:00 
			
		
		
		
	Fix for custom fields in invoice templates
This commit is contained in:
		
							parent
							
								
									4739cc04c3
								
							
						
					
					
						commit
						7e7ee1d749
					
				| @ -58,10 +58,10 @@ class TemplateService | ||||
|             '$viewButton' => Form::emailViewButton($invitation->getLink(), $invoice->getEntityType()).'$password', | ||||
|             '$paymentLink' => $invitation->getLink('payment').'$password', | ||||
|             '$paymentButton' => Form::emailPaymentButton($invitation->getLink('payment')).'$password', | ||||
|             '$customClient1' => $account->custom_client_label1, | ||||
|             '$customClient2' => $account->custom_client_label2, | ||||
|             '$customInvoice1' => $account->custom_invoice_text_label1, | ||||
|             '$customInvoice2' => $account->custom_invoice_text_label2, | ||||
|             '$customClient1' => $client->custom_value1, | ||||
|             '$customClient2' => $client->custom_value2, | ||||
|             '$customInvoice1' => $invoice->custom_text_value1, | ||||
|             '$customInvoice2' => $invoice->custom_text_value2, | ||||
|             '$documents' => $documentsHTML, | ||||
|             '$autoBill' => empty($data['autobill'])?'':$data['autobill'], | ||||
|             '$portalLink' => $invitation->contact->link, | ||||
|  | ||||
| @ -148,7 +148,7 @@ | ||||
|                             <li>$customInvoice1</li> | ||||
|                         @endif | ||||
|                         @if ($account->custom_invoice_text_label2) | ||||
|                             <li>$customInvoice1</li> | ||||
|                             <li>$customInvoice2</li> | ||||
|                         @endif | ||||
|                         @if (count($account->account_gateways) > 0) | ||||
|                             @foreach (\App\Models\Gateway::$gatewayTypes as $type) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user