diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-20 00:02:11 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-20 00:02:11 +0100 |
commit | 0eeb64b540eb0e965c9af61825c1cccf54cf86ef (patch) | |
tree | 188ee3792a40b7c3973bc4dbc32ce10de4507a25 /order.php | |
parent | 30be715c464bafaf961e9ea0663155bdf6873ec0 (diff) | |
download | arfnet2-cstims-0eeb64b540eb0e965c9af61825c1cccf54cf86ef.tar.gz arfnet2-cstims-0eeb64b540eb0e965c9af61825c1cccf54cf86ef.zip |
Really stupid mistake
Diffstat (limited to 'order.php')
-rw-r--r-- | order.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"]; |