Merge pull request #274 from hargata/Hargata/supplies.improvement
fixed supply requisition when used with european units.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user