mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:37:32 -05:00 
			
		
		
		
	Update PaymentTermTransformer.php
This commit is contained in:
		
							parent
							
								
									dd360fb271
								
							
						
					
					
						commit
						66b61db4fd
					
				@ -30,7 +30,7 @@ class PaymentTermTransformer extends EntityTransformer
 | 
			
		||||
            'name' => trans('texts.payment_terms_net') . ' ' . $paymentTerm->getNumDays(),
 | 
			
		||||
            'updated_at' => $this->getTimestamp($paymentTerm->updated_at),
 | 
			
		||||
            'archived_at' => $this->getTimestamp($paymentTerm->deleted_at),
 | 
			
		||||
            'is_default' => $paymentTerm->account_id == 0 ? 1 : 0,
 | 
			
		||||
            'is_default' => (bool) $paymentTerm->account_id == 0 ? 1 : 0,
 | 
			
		||||
        ]);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user