mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:07:32 -05:00 
			
		
		
		
	Minor fixes for terms being displayed on PDF
This commit is contained in:
		
							parent
							
								
									62058e910d
								
							
						
					
					
						commit
						7eaafe52c7
					
				@ -162,7 +162,7 @@ class ImportCustomers
 | 
			
		||||
        if(strlen($this->stripe->company_gateway->getConfigField('account_id')) < 1)
 | 
			
		||||
                throw new StripeConnectFailure('Stripe Connect has not been configured');
 | 
			
		||||
 | 
			
		||||
        $customer = Customer::retrieve($customer_id, $this->stripe_connect_auth);
 | 
			
		||||
        $customer = Customer::retrieve($customer_id, $this->stripe->stripe_connect_auth);
 | 
			
		||||
 | 
			
		||||
        if(!$customer)
 | 
			
		||||
            return;
 | 
			
		||||
 | 
			
		||||
@ -626,7 +626,7 @@ class Design extends BaseDesign
 | 
			
		||||
                ['element' => 'p', 'content' => strtr($_variables['values']['$entity.public_notes'], $_variables), 'properties' => ['data-ref' => 'total_table-public_notes', 'style' => 'text-align: left;']],
 | 
			
		||||
                ['element' => 'p', 'content' => '', 'properties' => ['style' => 'text-align: left; display: flex; flex-direction: column;'], 'elements' => [
 | 
			
		||||
                    ['element' => 'span', 'content' => '$entity.terms_label: ', 'properties' => ['hidden' => $this->entityVariableCheck('$entity.terms'), 'data-ref' => 'total_table-terms-label', 'style' => 'font-weight: bold; text-align: left; margin-top: 1rem;']],
 | 
			
		||||
                    ['element' => 'span', 'content' => strtr($_variables['values']['$entity.terms'], $_variables), 'properties' => ['data-ref' => 'total_table-terms', 'style' => 'text-align: left;']],
 | 
			
		||||
                    ['element' => 'span', 'content' => strtr($_variables['values']['$entity.terms'], $_variables['labels']), 'properties' => ['data-ref' => 'total_table-terms', 'style' => 'text-align: left;']],
 | 
			
		||||
                ]],
 | 
			
		||||
                ['element' => 'img', 'properties' => ['style' => 'max-width: 50%; height: auto;', 'src' => '$contact.signature', 'id' => 'contact-signature']],
 | 
			
		||||
                ['element' => 'div', 'properties' => ['style' => 'margin-top: 1.5rem; display: flex; align-items: flex-start;'], 'elements' => [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user