Enable conference registration
Change-Id: I5e973513d78c63a48e62ff1aa3a5d9a1621f4a4d
diff --git a/templates/register.htm b/templates/register.htm
index 5e4df50..3ce7a33 100644
--- a/templates/register.htm
+++ b/templates/register.htm
@@ -507,7 +507,7 @@
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" name="participation_confirmed" id="participate" required
<?php echo isset($_POST['participation_confirmed']) ? 'checked' : '' ?>
- oninput="update_total_costs()"
+ oninput="update_total_due()"
value="participation_confirmed">
<label class="form-check-label fs-4" for="participation_confirmed">I confirm that I will be attending the <?php echo $SERVICE_ACRONYM; ?> conference.
<?php if(new DateTimeImmutable("now") <= new DateTimeImmutable($EARLYBIRD_DEADLINE." 23:59:59 HST")) {
@@ -529,7 +529,7 @@
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" name="student" id="student"
<?php echo isset($_POST['student']) ? 'checked' : '' ?>
- oninput="update_total_costs()"
+ oninput="update_total_due()"
value="student">
<label class="form-check-label fs-4" for="student">I am student and will therefore benefit from student discount of <strong>€ <span id="student_discount"><?php echo $STUDENT_DISCOUNT; ?></span></strong>.
</label>
@@ -541,7 +541,7 @@
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" name="conference_dinner" id="conference_dinner"
<?php echo isset($_POST['conference_dinner']) ? 'checked' : '' ?>
- oninput="update_total_costs()"
+ oninput="update_total_due()"
value="conference_dinner">
<label class="form-check-label fs-4" for="conference_dinner">I will be attending the conference dinner on 20 July at 8pm at the Rheinterrassen for the price of <strong>€ <span id="conference_dinner_price"><?php echo $CONFERENCE_DINNER; ?></span></strong>.
</label>
@@ -551,7 +551,7 @@
<label class="form-label fw-bold" for="exampleInputAmount">Total Amount in Euro to be paid</label>
<div class="input-group">
<div class="input-group-text fs-3">€</div>
- <input lang="en" name="total_costs" id="total_costs" class="form-control text-end fw-bold fs-3" readonly>
+ <input lang="en" name="total_due" id="total_due" class="form-control text-end fw-bold fs-3" readonly>
</div>
<div id="totalHelp" class="form-text fs-4">Only bank transfer is available as a payment method. After submitting the form, you will be asked to confirm your e-mail address. After you have confirmed it, you will receive an invoice with all bank details.</div>
</div>