mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	* Add 'order_currency' to the various external order models - By default will use the currency specified for the supplier (or customer) - Can be specified per order, also * Display order currency on order pgae * Add 'order_currency' field * Enable "blank" currency option (to default to the currency specified by the referenced company * Fix default currency code when adding line items * Remove 'total_price_currency' serializer field - Now replaced with 'order_currency' for greater flexibility * Bump api_version.py * Update default order report templates * Updated docs * More docs updaes * Adjust unit tests * Use 'order_currency' in order tables * Update purchase order api unit tests
		
			
				
	
	
		
			13 lines
		
	
	
		
			320 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			320 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
{% if instance and instance.currency %}
 | 
						|
<tr>
 | 
						|
    <td><span class='fas fa-dollar-sign'></span></td>
 | 
						|
    <td>{% trans "Currency" %}</td>
 | 
						|
    {% if instance.order_currency %}
 | 
						|
    <td>{{ instance.currency }}</td>
 | 
						|
    {% else %}
 | 
						|
    <td><em>{{ instance.currency }}</em></td>
 | 
						|
    {% endif %}
 | 
						|
</tr>
 | 
						|
{% endif %}
 |