mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-03 20:20:58 +00:00
translations fo true/false yes /no
This commit is contained in:
@ -268,6 +268,10 @@ function loadBomTable(table, options) {
|
||||
field: 'optional',
|
||||
title: '{% trans "Optional" %}',
|
||||
searchable: false,
|
||||
formatter: function(value) {
|
||||
if (value == '1') return '{% trans "true" %}';
|
||||
if (value == '0') return '{% trans "false" %}';
|
||||
}
|
||||
});
|
||||
|
||||
cols.push({
|
||||
|
Reference in New Issue
Block a user