Merge pull request #274 from hargata/Hargata/supplies.improvement

fixed supply requisition when used with european units.
This commit is contained in:
Hargata Softworks
2024-02-11 14:41:31 -07:00
committed by GitHub

View File

@@ -129,7 +129,7 @@
$("#selectSuppliesButton").attr('disabled', (hasError || totalSum == 0)); $("#selectSuppliesButton").attr('disabled', (hasError || totalSum == 0));
if (!hasError) { if (!hasError) {
return { return {
totalSum: totalSum, totalSum: globalFloatToString(totalSum),
selectedSupplies: selectedSupplies.toArray() selectedSupplies: selectedSupplies.toArray()
}; };
} else { } else {