From 0eeb64b540eb0e965c9af61825c1cccf54cf86ef Mon Sep 17 00:00:00 2001 From: arf20 Date: Wed, 20 Mar 2024 00:02:11 +0100 Subject: Really stupid mistake --- order.php | 1 + 1 file changed, 1 insertion(+) (limited to 'order.php') 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"]; -- cgit v1.2.3