making camp form show the correct total cost if selecting full cost

This commit is contained in:
Chris Cochrun 2024-03-28 14:02:41 -05:00
parent 1cfeea05bc
commit 917f67c539
2 changed files with 5 additions and 5 deletions

View file

@ -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">

View file

@ -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