First version with credit card integration and UI

This commit is contained in:
2025-02-10 20:53:52 -05:00
parent 92b28c6cbc
commit 05547f650a
8 changed files with 225 additions and 65 deletions

View File

@@ -10,19 +10,23 @@
<form id="editor" method="post">
<table border="1">
<tr>
<th>Camp</th>
<th>Leader</th>
<th>#Issued</th>
<th>Camp </th>
<th>Leader </th>
<th>#Issued </th>
<th>#Claimed</th>
<th>#Used</th>
<th>#Used </th>
<th>#Paid </th>
<th>$Paid </th>
</tr>
<% for (const c in camps) { %>
<tr>
<td><a href="/editcamp?campname=<%= c %>"><%=c%></td>
<td><%=camps[c].leader%> </td>
<td><%=camps[c].issued%> </td>
<td><%=camps[c].leader%> </td>
<td><%=camps[c].issued%> </td>
<td><%=camps[c].claimed%> </td>
<td><%=camps[c].used%> </td>
<td><%=camps[c].used%> </td>
<td><%=camps[c].npaid%> </td>
<td><%=(camps[c].paid/100).toFixed(2)%> </td>
</tr>
<% } %>
<tr>