diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 439bd2a..ee499ae 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index ceb4e69..1ab259a 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/pos.html b/core/templates/core/pos.html index 2be11e6..055849e 100644 --- a/core/templates/core/pos.html +++ b/core/templates/core/pos.html @@ -191,12 +191,7 @@
| {% trans "Name" %} | +{% trans "Type" %} | +{% trans "Connection" %} | +{% trans "Status" %} | +{% trans "Actions" %} | +
|---|---|---|---|---|
| {{ device.name }} | +{{ device.get_device_type_display }} | ++ {{ device.get_connection_type_display }} + {% if device.ip_address %} + {{ device.ip_address }}{% if device.port %}:{{ device.port }}{% endif %} + {% endif %} + | ++ {% if device.is_active %} + {% trans "Active" %} + {% else %} + {% trans "Inactive" %} + {% endif %} + | ++ + + | +
|
+
+
+ {% trans "No devices configured." %}
+
+ |
+ ||||
| {% trans "Device Name" %} | +{% trans "Type" %} | +{% trans "Connection" %} | +{% trans "IP / Port" %} | +{% trans "Status" %} | +{% trans "Actions" %} | +
|---|---|---|---|---|---|
| {{ device.name }} | ++ {{ device.get_device_type_display }} + | +{{ device.get_connection_type_display }} | ++ {% if device.ip_address %} + {{ device.ip_address }}{% if device.port %}:{{ device.port }}{% endif %} + {% else %} + - + {% endif %} + | ++ {% if device.is_active %} + {% trans "Active" %} + {% else %} + {% trans "Inactive" %} + {% endif %} + | ++ + + | +
|
+
+
+ {% trans "No devices configured." %}
+
+ |
+ |||||