X-Git-Url: https://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/0609a8e3c7428e34af349b8d40291f2abe40b299..bde01dd3ce0444d75da0f3837bede5a037a18f3d:/money.mlt diff --git a/money.mlt b/money.mlt index 737d4b3..74bc1f6 100644 --- a/money.mlt +++ b/money.mlt @@ -64,9 +64,29 @@ end %> <% switch Balance.listBalanceUsers (#id bal) of [] => | (user :: users) => - %><% Web.html (#name user) %><% + %><% Web.html (#name user) %> [History]<% foreach user in users do - %>, <% Web.html (#name user) %><% + %>, <% Web.html (#name user) %> [History]<% + end +end %> +<% end %> + + +<% elseif $"cmd" = "nbals" then + showNormal := false; + val bals = Balance.listNegativeOwnedBalances () %> + +

Negative Active Balances (<% length bals %>)

+ + +<% foreach bal in bals do %> + <% end %> @@ -331,6 +351,7 @@ end %> List all transactions
List active balances
+List negative active balances
List retired balances
<% if (Group.inGroupName "money" and $"lookback" = "") or $"audit" <> "" then %>
<% #name bal %> <% #amount bal %> +<% switch Balance.listBalanceUsers (#id bal) of + [] => + | (user :: users) => + %><% Web.html (#name user) %> [History]<% + foreach user in users do + %>, <% Web.html (#name user) %> [History]<% end end %>