X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/27e65914536e13f127861bd35ee3678c99872900..a0399d9eb81953e028a4a2a04f3ccecfe6ac087b:/money.mlt
diff --git a/money.mlt b/money.mlt
index 8ca3486..59b6d9b 100644
--- a/money.mlt
+++ b/money.mlt
@@ -7,7 +7,7 @@ ref showNormal = true;
if $"hist" <> "" then
showNormal := false;
val id = Web.stoi ($"hist") %>
-
+
Date | Description | Amount |
<% foreach (amount, trn) in Money.listUserTransactions id do %>
<% #d trn %> | <% Web.html (#descr trn) %> | <% amount %>/<% #amount trn %> |
@@ -20,7 +20,7 @@ if $"hist" <> "" then
Transactions
-
+
Date | Description | Amount | Last modified | Participants |
<% foreach trn in Money.listTransactions () do %>
<% #d trn %> | <% Web.html (#descr trn) %> | <% #amount trn %> | <% #stamp trn %> |
@@ -42,10 +42,10 @@ end %>
Primary Transactions
-
+
Date | Description | Amount | Last modified | Participants |
<% foreach (amt, trn) in Money.listUserTransactions (valOf (Init.userNameToId "hcoop")) do %>
- <% #d trn %> | <% Web.html (#descr trn) %> | <% #amount trn %> | <% #stamp trn %> |
+
<% #d trn %> | <% Web.html (#descr trn) %> | <% #amount trn %> | <% #stamp trn %> |
<% switch Money.listChargesWithNames (#id trn) of
[(name, cha)] => %><% name %> | <%
| _ => %>multi | <%
@@ -285,6 +285,26 @@ end %>
%>Payment transaction added.
+<% elseif $"cmd" = "stripeApply" then
+ val stripePmt = Money.lookupStripePayment ($"stripeId");
+ val txid = Money.applyStripePayment stripePmt;
+%>Stripe Payment Processed (Transaction <% txid %>)
+
+<% elseif $"cmd" = "stripeRejected" then
+%>Stripe Payment Rejected!
+
+<% elseif $"cmd" = "stripeReject" then
+ Group.requireGroupName "money";
+ showNormal := false;
+%>
+Are you sure you want to reject Stripe Payment <% $"stripeChargeId" %>?
+
+
<% elseif $"modPay" <> "" then
Group.requireGroupName "money";
showNormal := false;
@@ -348,7 +368,7 @@ end %>