X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/bd5d2441217811dbf5c1f8be9faad1be3a64ac49..0142983cd82e445f507b08bffd39e6b6ce4a4c51:/money.mlt diff --git a/money.mlt b/money.mlt index 63bfe0d..d92969b 100644 --- a/money.mlt +++ b/money.mlt @@ -63,7 +63,7 @@ end %>

Active Balances

- +
<% foreach bal in Balance.listOwnedBalances () do %>

Retired Balances

-
<% #name bal %> <% #amount bal %> <% switch Balance.listBalanceUsers (#id bal) of @@ -82,7 +82,7 @@ end %>
+
<% foreach bal in Balance.listUnownedBalances () do %>

Negative Active Balances (<% length bals %>)

-
<% #name bal %> <% #amount bal %> <% switch Balance.listBalanceUsers (#id bal) of @@ -102,7 +102,7 @@ end %>
+
<% foreach bal in bals do %>
<% #name bal %> <% #amount bal %> <% switch Balance.listBalanceUsers (#id bal) of @@ -258,7 +258,6 @@ end %>
showNormal := false; %>

Are you sure you want to reject Stripe Payment <% $"stripeChargeId" %>?

- +" /> @@ -489,9 +488,6 @@ end %> <% switch #paypal appl of SOME s => %> - <% end; - switch #checkout appl of - SOME s => %> <% end %> @@ -563,9 +559,6 @@ elseif $"cmd" = "checkout" then <% switch #paypal appl of SOME s => %> - <% end; - switch #checkout appl of - SOME s => %> <% end %> @@ -611,10 +604,11 @@ elseif $"cmd" = "delinq" then elseif $"cmd" = "freezeworthy" then showNormal := false; val dqs = Money.freezeworthyPledgers () %> -
Description:
E-mail address: <% #email appl %>
PayPal: <% s %>
Google Checkout: <% s %>
Forward e-mail? <% if #forward appl then %>yes<% else %>no<% end %>
Proposed uses: <% Web.htmlNl (#uses appl) %>
E-mail address: <% #email appl %>
PayPal: <% s %>
Google Checkout: <% s %>
Forward e-mail? <% if #forward appl then %>yes<% else %>no<% end %>
Proposed uses: <% Web.htmlNl (#uses appl) %>
+
<% foreach dq in dqs do %> - + + <% if #joinedThisMonth dq then %><% end %> <% end %>
Member Balance
<% #name dq %> $<% #balance dq %>
<% #name dq %> $<% #balance dq %>[History](joined this month)
@@ -622,10 +616,10 @@ elseif $"cmd" = "freezeworthy" then <% elseif $"cmd" = "bootworthy" then showNormal := false; val dqs = Money.bootworthyPledgers () %> - +
<% foreach dq in dqs do %> - + <% if #joinedThisMonth dq then %><% end %> <% end %>
Member Balance
<% #name dq %> $<% #balance dq %>
<% #name dq %> $<% #balance dq %>[History](joined this month)
@@ -639,13 +633,10 @@ elseif $"cmd" = "freezeworthy" then val showBal = Util.sub (#amount bal, deposit) %>

Your balance: $<% showBal %>
-Deposit: $<% deposit %> (3 months of dues at the minimal pledge level)
-Co-op balance: $<% #amount (Balance.lookupBalance (valOf (Balance.balanceNameToId "hcoop"))) %>

- - +Deposit: $<% deposit %> (3 months of dues at the minimal pledge level)
+ <% if (iff Group.inGroupName "money" then $"lookback" = "" else $"audit" <> "") then %>

Sum of all active balances: $<% Balance.sumOwnedBalances () %>

<% end %> -

Financial Information

List all transactions
@@ -660,7 +651,11 @@ Co-op balance: $<% #amount (Balance.lookupBalance (valOf (Balance.balanceNameToI Drop pledges of delinquent members
Switch to regular member view
+ +<% end %>
+ +<% if (Group.inGroupName "money" and $"lookback" = "") or $"audit" <> "" then %>

New Transaction

Bill for the co-op
@@ -669,9 +664,10 @@ Co-op balance: $<% #amount (Balance.lookupBalance (valOf (Balance.balanceNameToI New hosting bill (old style)
Generic/even

-Equalize balances
+
+

Look up a PayPal e-mail address

@@ -741,7 +737,10 @@ end %> <% else %> + <% val lookback = case $"lookback" of "" => 20 | "inf" => 0 | lb => Web.stoi lb; @payment [] %>