making camp form show the correct total cost if selecting full cost
This commit is contained in:
parent
1cfeea05bc
commit
917f67c539
|
@ -73,8 +73,8 @@
|
||||||
document.getElementById('warning-agreement').style.margin = '0';
|
document.getElementById('warning-agreement').style.margin = '0';
|
||||||
}
|
}
|
||||||
|
|
||||||
let base = "http://localhost:4242/camp-form";
|
/* let base = "http://localhost:4242/camp-form"; */
|
||||||
/* let base = "https://api.tfcconnection.org/camp-form"; */
|
let base = "https://api.tfcconnection.org/camp-form";
|
||||||
|
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
@ -281,7 +281,7 @@
|
||||||
<input type="radio" value="full" id="registration" name="registration"
|
<input type="radio" value="full" id="registration" name="registration"
|
||||||
class="form-input {{ $formClasses }}">
|
class="form-input {{ $formClasses }}">
|
||||||
<label for="registration" class="">
|
<label for="registration" class="">
|
||||||
Full Cost - $185
|
Full Cost - $165
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="basis-full mb-4">
|
<div class="basis-full mb-4">
|
||||||
|
|
|
@ -77,8 +77,8 @@
|
||||||
// For use in dev
|
// For use in dev
|
||||||
// Can now start using this in production IF,
|
// Can now start using this in production IF,
|
||||||
// I get the server running on the server
|
// I get the server running on the server
|
||||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
let base = "https://api.tfcconnection.org/health-form";
|
||||||
let base = "http://localhost:4242/health-form";
|
/* let base = "http://localhost:4242/health-form"; */
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: data
|
body: data
|
||||||
|
|
Loading…
Reference in a new issue