From fb9fb9cdb2a8c02c005af189214d54d6919870b6 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 9 Sep 2013 09:27:42 +0200 Subject: [PATCH] adding account transaction view --- .../test/account/transactions/default.tpl | 115 +++++++++--------- 1 file changed, 55 insertions(+), 60 deletions(-) diff --git a/public/templates/test/account/transactions/default.tpl b/public/templates/test/account/transactions/default.tpl index 32febd64..31d0db36 100644 --- a/public/templates/test/account/transactions/default.tpl +++ b/public/templates/test/account/transactions/default.tpl @@ -1,84 +1,85 @@ -{include file="global/block_header.tpl" BLOCK_HEADER="Transaction Summary"} - - - +
+

Transaction Summary

+
+ + {foreach $SUMMARY as $type=>$total} - + {/foreach} - - - - - {foreach $SUMMARY as $type=>$total} - - {/foreach} - - -
{$type}{$type}
{$total}
-{include file="global/block_footer.tpl"} - -{include file="global/block_header.tpl" ALIGN="left" BLOCK_STYLE="width: 23%" BLOCK_HEADER="Transaction Filter"} -
- - - + + + + + {foreach $SUMMARY as $type=>$total} + + {/foreach} + + +
{$total}
+ + +
+

Transaction Filter

+ + + + - - - - + + - - - - - + +
{if $COUNTTRANSACTIONS / $LIMIT > 1} + {if $smarty.request.start|default:"0" > 0} - + {else} - + {/if} -{/if} -{if $COUNTTRANSACTIONS / $LIMIT > 1} + {if $COUNTTRANSACTIONS - $smarty.request.start|default:"0" - $LIMIT > 0} - + {else} - + {/if} {/if}
Type{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""}Type{html_options name="filter[type]" options=$TRANSACTIONTYPES selected=$smarty.request.filter.type|default:""}
Status{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""}
Status{html_options name="filter[status]" options=$TXSTATUS selected=$smarty.request.filter.status|default:""}
+
+ +
-{include file="global/block_footer.tpl"} +
-{include file="global/block_header.tpl" ALIGN="right" BLOCK_STYLE="width: 75%" BLOCK_HEADER="Transaction History"} -
-
- - +
+

Transaction History

+
+ - - - - - - - - + + + + + + + + {section transaction $TRANSACTIONS} - + @@ -102,11 +103,5 @@ {/section}
TX #AccountDateTX TypeStatusPayment AddressBlock #AmountTX #AccountDateTX TypeStatusPayment AddressBlock #Amount
{$TRANSACTIONS[transaction].id}{$TRANSACTIONS[transaction].id} {$TRANSACTIONS[transaction].username} {$TRANSACTIONS[transaction].timestamp} {$TRANSACTIONS[transaction].type}
-

- - Credit_AP = Auto Threshold Payment, Credit_MP = Manual Payment, Donation = Donation, Fee = Pool Fees (if applicable) - -

-
-
-{include file="global/block_footer.tpl"} + +