mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	JS translation syntax error (stock-badge in search window) (#7013)
Fixes #7011
This commit is contained in:
		| @@ -218,7 +218,7 @@ function renderStockItem(data, parameters={}) { | ||||
|     } | ||||
|  | ||||
|     if (data.quantity == 0) { | ||||
|         stock_detail = `<span class='badge rounded-pill bg-danger'>{% trans "No Stock"% }</span>`; | ||||
|         stock_detail = `<span class='badge rounded-pill bg-danger'>{% trans "No Stock" %}</span>`; | ||||
|     } else { | ||||
|         if (data.serial && data.quantity == 1) { | ||||
|             stock_detail = `{% trans "Serial Number" %}: ${data.serial}`; | ||||
|   | ||||
| @@ -488,7 +488,7 @@ function receiveReturnOrderItems(order_id, line_items, options={}) { | ||||
|  | ||||
|     if (line_items.length == 0) { | ||||
|         showAlertDialog( | ||||
|             '{% trans "Select Line Items"% }', | ||||
|             '{% trans "Select Line Items" %}', | ||||
|             '{% trans "At least one line item must be selected" %}' | ||||
|         ); | ||||
|         return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user