Initial support for Stripe (And Improve Paypal)
[hcoop/portal.git] / portal.mlt
index 37f66a4..c0f634e 100644 (file)
@@ -34,6 +34,20 @@ end %>
 <b>Balance: $<% showBal %></b><br>
 <b>Deposit: $<% deposit %></b> (3 months of dues at the minimal <a href="pledge">pledge level</a>)
 
+<h3>Pending Stripe Payments</h3>
+
+<table>
+<tr><td><strong>Date</strong></td><td><strong>Net Amount</strong> (After Fees)</td></tr>
+<% foreach stripePmt in Money.listUserPendingStripePayments
+       (Init.getUserId () ) do %>
+<tr>
+  <td><% #paid_on stripePmt %></td>
+  <td>$<% #net stripePmt %></td>
+</tr>
+<% end %>
+</table>
+
+
 <!--b>Balance: $<% #amount bal %></b-->
 
 <% val polls = Poll.listCurrentPolls ();