Fixed bug with space subtotal for plan
parent
8305e3c487
commit
7d614d7fad
|
@ -26,7 +26,7 @@
|
|||
<hr>
|
||||
</div>
|
||||
|
||||
<div id='totalPriceWrapper'>Space subtotal: <span id="totalPrice" class="priceWrapper price">239.00</span></div>
|
||||
<div id='totalPriceWrapper'>Space subtotal: <span id="totalPrice" class="priceWrapper price">00.00</span></div>
|
||||
<br>
|
||||
<button id="addStore">Add store</button><br><br>
|
||||
<button id="refreshAll">Refresh all</button>
|
||||
|
|
|
@ -505,7 +505,7 @@ function updateTotalPrice(){
|
|||
totalPrice += store.itemsObj[itemID].amount*store.itemsObj[itemID].price;
|
||||
}
|
||||
}
|
||||
$("#totalPrice").html(totalPrice);
|
||||
$("#totalPrice").html(totalPrice.toFixed(2));
|
||||
}
|
||||
|
||||
let spaceID = 0;
|
||||
|
|
Loading…
Reference in New Issue