diff --git a/public/templates/mpos/admin/wallet/default.tpl b/public/templates/mpos/admin/wallet/default.tpl index f16a6dba..505877f5 100644 --- a/public/templates/mpos/admin/wallet/default.tpl +++ b/public/templates/mpos/admin/wallet/default.tpl @@ -1,5 +1,5 @@
-

Wallet Information - Number of Accounts in Wallet: {$ADDRESSCOUNT|default:"0"}

+

Wallet Information

Balance Summary

@@ -52,38 +52,39 @@
+{if $ADDRESSCOUNT > 1} +
+

Number of Accounts in Wallet: {$ADDRESSCOUNT|default:"0"}

{foreach key=NAME item=VALUE from=$ACCOUNTS} -
-

Account: {$NAME|default:"Default"}

-

Balance Info

- - - - - -
Balance{$VALUE|number_format:"8"}
-
- +

Account: {$NAME|default:"Default"}

+
+

Balance Info

+ + + + + +
Balance{$VALUE|number_format:"8"}
+
{foreach key=ACCOUNT item=ADDRESS from=$ACCOUNTADDRESSES} {if $ACCOUNT == $NAME} -
-

Addresses assigned to Account {$ACCOUNT|default:"Default"}

- - +
+

Addresses assigned to Account {$ACCOUNT|default:"Default"}

+
+ {foreach from=$ACCOUNTADDRESSES[$ACCOUNT] key=ACCOUNT1 item=ADDRESS1} - - - + + + {/foreach} - -
{$ADDRESS1}
{$ADDRESS1}
-
+ + +
{/if} {/foreach} - -
+ {/foreach} - - + +{/if}