mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 11:07:40 +01:00
Add random order number display to payment confirmation page
This commit is contained in:
@@ -9,11 +9,20 @@
|
|||||||
<link rel="stylesheet" href="betaal.css">
|
<link rel="stylesheet" href="betaal.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.onload = function() {
|
||||||
|
var number = Math.floor((Math.random() * 999) + 1);
|
||||||
|
document.getElementById("random-number").innerHTML = "Uw Bestellings nummer = #" + number;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>Bedankt voor uw bestelling!</h1>
|
<h1>Bedankt voor uw bestelling!</h1>
|
||||||
<p>Uw bestelling is succesvol geplaatst. U kunt dit tabblad nu sluiten.</p>
|
<p>Uw bestelling is succesvol geplaatst. U kunt dit tabblad nu sluiten.</p>
|
||||||
<button onclick="window.close()">Sluit dit tabblad</button>
|
<button onclick="window.close()">Sluit dit tabblad</button>
|
||||||
<h1>Uw Bestellings nummer=</h1>
|
<h1 id="random-number"></h1>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
<script src="script.js"></script>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
Reference in New Issue
Block a user