diff --git a/build/database/repo/machine.php b/build/database/repo/machine.php index 1050b2b..16cf016 100755 --- a/build/database/repo/machine.php +++ b/build/database/repo/machine.php @@ -189,6 +189,8 @@ ->select('name') ->select('token') ->select('unlock_code') + ->select('ap') + ->select('ip') ->orderby('id_machine', Rows::ORDER_ASC) ->unique() ->fetch(); @@ -233,6 +235,8 @@ ->select('name') ->select('token') ->select('unlock_code') + ->select('ap') + ->select('ip') ->orderby('name', Rows::ORDER_ASC) ->unique() ->fetch(); @@ -277,6 +281,8 @@ ->select('name') ->select('token') ->select('unlock_code') + ->select('ap') + ->select('ip') ->orderby('name', Rows::ORDER_ASC) ->unique() ->fetch(); @@ -314,6 +320,8 @@ $machine = Table::get('machine') ->whereIdWarehouse($id_warehouse) ->select('id_machine') + ->select('ap') + ->select('ip') ->orderby('name', Rows::ORDER_ASC) ->select('name'); diff --git a/build/viewer/view/machine/view.twig b/build/viewer/view/machine/view.twig index 3f2033d..94cc93a 100755 --- a/build/viewer/view/machine/view.twig +++ b/build/viewer/view/machine/view.twig @@ -1,7 +1,7 @@ {% for machine in f_machines() %} -
+
{{ machine.name }} #{{ machine.name }}