mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:47:32 -05:00 
			
		
		
		
	Fixes for syntax
This commit is contained in:
		
							parent
							
								
									a960391304
								
							
						
					
					
						commit
						b3fbf505e0
					
				@ -123,7 +123,7 @@ class TransactionTransformer implements BankRevenueInterface
 | 
			
		||||
        if (isset($transaction['currencyExchange'])) {
 | 
			
		||||
            foreach ($transaction["currencyExchange"] as $exchangeRate) {
 | 
			
		||||
                $targetAmount = round($amount * (float) ($exchangeRate["exchangeRate"] ?? 1), 2);
 | 
			
		||||
                $description .= '\n' + ctrans('texts.exchange_rate') + ': ' . $amount . " " . ($exchangeRate["sourceCurrency"] ?? '?') . " = " . $targetAmount . " " . ($exchangeRate["targetCurrency"] ?? '?') . " (" . ($exchangeRate["quotationDate"] ? $this->formatDate($exchangeRate["quotationDate"]) : '?') . ")";
 | 
			
		||||
                $description .= '\n' . ctrans('texts.exchange_rate') . ' : ' . $amount . " " . ($exchangeRate["sourceCurrency"] ?? '?') . " = " . $targetAmount . " " . ($exchangeRate["targetCurrency"] ?? '?') . " (" . (isset($exchangeRate["quotationDate"]) ? $this->formatDate($exchangeRate["quotationDate"]) : '?') . ")";
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user