mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 00:17:34 -05:00 
			
		
		
		
	Hide $oustanding from Quotes' PDF
This commit is contained in:
		
							parent
							
								
									01e608c107
								
							
						
					
					
						commit
						1073e70f70
					
				@ -456,6 +456,13 @@ class Design extends BaseDesign
 | 
				
			|||||||
            return $elements;
 | 
					            return $elements;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if ($this->entity instanceof Quote) {
 | 
				
			||||||
 | 
					            // We don't want to show Balanace due on the quotes.
 | 
				
			||||||
 | 
					            if (in_array('$outstanding', $variables)) {
 | 
				
			||||||
 | 
					                $variables = \array_diff($variables, ['$outstanding']);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        foreach (['discount'] as $property) {
 | 
					        foreach (['discount'] as $property) {
 | 
				
			||||||
            $variable = sprintf('%s%s', '$', $property);
 | 
					            $variable = sprintf('%s%s', '$', $property);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user