diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 99ca6fc..f6f6d54 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -99,9 +99,15 @@ class UserController extends AbstractController $list[] = [ - 'name' => $user['key'], - 'total' => $total, - 'rooms' => $rooms, + 'name' => $user['key'], + 'balance' => $client->getBalance( + $user['key'] + ), + 'address' => $client->getAccountAddress( + $user['key'] + ), + 'total' => $total, + 'rooms' => $rooms, ]; } } diff --git a/templates/default/user/list.html.twig b/templates/default/user/list.html.twig index 2dfd6c7..6d96f3c 100644 --- a/templates/default/user/list.html.twig +++ b/templates/default/user/list.html.twig @@ -7,19 +7,18 @@