mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Order responsible (#602)
* Bump release notes and version * Display responsible owner for purchase order * Display responsible owner for sales order * Display order completion date
This commit is contained in:
parent
2ea29368ed
commit
854ef95fbf
7 changed files with 69 additions and 13 deletions
|
|
@ -1530,8 +1530,13 @@ class InvenTreeAPI {
|
|||
}
|
||||
|
||||
// Return a boolean global setting value
|
||||
Future<bool> getGlobalBooleanSetting(String key) async {
|
||||
Future<bool> getGlobalBooleanSetting(String key, { bool backup = false }) async {
|
||||
String value = await getGlobalSetting(key);
|
||||
|
||||
if (value.isEmpty) {
|
||||
return backup;
|
||||
}
|
||||
|
||||
return value.toLowerCase().trim() == "true";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue