mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS translation syntax error (stock-badge in search window) (#7013)
Fixes #7011
This commit is contained in:
parent
3467af361c
commit
a86cb3e804
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user