X-Git-Url: https://git.hcoop.net/hcoop/zz_old/portal.git/blobdiff_plain/3d009713e9d261cc632c8e0150fc0c9f8d7a4db6..f98251aaca90e22b76903ae1875e4c565bb995b7:/money.mlt?ds=sidebyside diff --git a/money.mlt b/money.mlt index b16b14a..a0994f0 100644 --- a/money.mlt +++ b/money.mlt @@ -3,6 +3,7 @@ ref showNormal = true; if $"cmd" = "list" then + val admin = Group.inGroupName "money"; showNormal := false %>

Transactions

@@ -12,9 +13,14 @@ if $"cmd" = "list" then <% foreach trn in Money.listTransactions () do %> <% #d trn %> <% Web.html (#descr trn) %> <% #amount trn %> <% #stamp trn %> <% switch Money.listChargesWithNames (#id trn) of - [(name, cha)] => %><% name %> <% - | _ => %>multi <% + [(name, cha)] => %><% name %><% + | _ => %>multi<% +end; +if admin then + %>[Hosting] [Payment] [Other] + [Delete]<% end +%><% end %>