mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 03:17:32 -04:00 
			
		
		
		
	Merge pull request #6308 from beganovich/v5-574
(v5) Allow type_id=5 for invoice items
This commit is contained in:
		
						commit
						bccdf630ad
					
				| @ -273,13 +273,13 @@ trait MakesInvoiceValues | |||||||
| 
 | 
 | ||||||
|         foreach ($items as $key => $item) { |         foreach ($items as $key => $item) { | ||||||
|             if ($table_type == '$product' && $item->type_id != 1) { |             if ($table_type == '$product' && $item->type_id != 1) { | ||||||
|                 if ($item->type_id != 4 && $item->type_id != 6) { |                 if ($item->type_id != 4 && $item->type_id != 6 && $item->type_id != 5) { | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             if ($table_type == '$task' && $item->type_id != 2) { |             if ($table_type == '$task' && $item->type_id != 2) { | ||||||
|                 if ($item->type_id != 4) { |                 if ($item->type_id != 4 && $item->type_id != 5) { | ||||||
|                     continue; |                     continue; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user