mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:17:32 -05:00 
			
		
		
		
	Merge pull request #8680 from turbo124/v5-develop
Minor fixes for inclusive tax calculations
This commit is contained in:
		
						commit
						c931672101
					
				@ -120,6 +120,7 @@ class InvoiceItemSumInclusive
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if ($this->invoice->client) {
 | 
					        if ($this->invoice->client) {
 | 
				
			||||||
            $this->currency = $this->invoice->client->currency();
 | 
					            $this->currency = $this->invoice->client->currency();
 | 
				
			||||||
 | 
					            $this->client = $this->invoice->client;
 | 
				
			||||||
            $this->shouldCalculateTax();
 | 
					            $this->shouldCalculateTax();
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            $this->currency = $this->invoice->vendor->currency();
 | 
					            $this->currency = $this->invoice->vendor->currency();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user