aboutsummaryrefslogtreecommitdiff
path: root/order.php
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-20 00:02:11 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-20 00:02:11 +0100
commit0eeb64b540eb0e965c9af61825c1cccf54cf86ef (patch)
tree188ee3792a40b7c3973bc4dbc32ce10de4507a25 /order.php
parent30be715c464bafaf961e9ea0663155bdf6873ec0 (diff)
downloadarfnet2-cstims-0eeb64b540eb0e965c9af61825c1cccf54cf86ef.tar.gz
arfnet2-cstims-0eeb64b540eb0e965c9af61825c1cccf54cf86ef.zip
Really stupid mistake
Diffstat (limited to 'order.php')
-rw-r--r--order.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/order.php b/order.php
index 8872c99..5384196 100644
--- a/order.php
+++ b/order.php
@@ -117,6 +117,7 @@ function genoption($id, $name) {
var ssd = Number(document.getElementById("ssd").value);
var price = (1*cpus**2) + (0.5*mem**2) + (0.02*ssd**2);
document.getElementById("calculated").innerHTML = "Calculated price: " + price + " €/mo";
+ document.getElementById("billing").value = price + " €/mo";
} else {
//document.getElementById("calculated").innerHTML = "Calculated price: " + service["billing"];
document.getElementById("billing").value = service["billing"];