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:
Oliver 2025-01-20 23:22:10 +11:00 committed by GitHub
parent 2ea29368ed
commit 854ef95fbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 69 additions and 13 deletions

View file

@ -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";
}