X-Git-Url: http://git.hcoop.net/bpt/portal.git/blobdiff_plain/ee5c7008c28e1b6d5899df97b10db67abdf971e6..4763cfb8e0dc2f6b2d4fd798cc9e3124c3e86288:/money.mlt diff --git a/money.mlt b/money.mlt index 2b1acfe..cbc7a6f 100644 --- a/money.mlt +++ b/money.mlt @@ -1,5 +1,7 @@ <% @header [("title", ["MoneyMatters"])]; +val root = Group.inGroupNum 0; + ref showNormal = true; if $"hist" <> "" then @@ -16,7 +18,7 @@ if $"hist" <> "" then val admin = Group.inGroupName "money"; showNormal := false %> -
Date | Description | Amount | Last modified | Participants |
<% #name bal %> | <% #amount bal %> | <% switch Balance.listBalanceUsers (#id bal) of [] => @@ -53,21 +55,60 @@ end %> |
<% #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 %> |
<% #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 %> |