diff --git a/pos/blueprints/auth_bp.py b/pos/blueprints/auth_bp.py index d36d130..be66e9b 100644 --- a/pos/blueprints/auth_bp.py +++ b/pos/blueprints/auth_bp.py @@ -197,7 +197,7 @@ def list_login_employees(tenant_id=None): name = row[1] parts = name.split() initials = ''.join([p[0].upper() for p in parts[:2]]) if parts else '?' - role_labels = {'owner': 'Dueño', 'admin': 'Administrador', 'cashier': 'Cajero', 'warehouse': 'Almacén', 'accountant': 'Contador'} + role_labels = {'owner': 'Dueño', 'admin': 'Administrador', 'cashier': 'Cajero', 'warehouse': 'Almacén', 'accountant': 'Contador', 'workshop': 'Taller', 'mechanic': 'Mecánico'} employees.append({ 'id': row[0], 'name': name, diff --git a/pos/templates/accounting.html b/pos/templates/accounting.html index 0018412..6913682 100644 --- a/pos/templates/accounting.html +++ b/pos/templates/accounting.html @@ -16,6 +16,18 @@ +
diff --git a/pos/templates/catalog.html b/pos/templates/catalog.html index 309ff86..9beea2a 100644 --- a/pos/templates/catalog.html +++ b/pos/templates/catalog.html @@ -18,6 +18,18 @@ + diff --git a/pos/templates/config.html b/pos/templates/config.html index bf7a1dd..2724bc4 100644 --- a/pos/templates/config.html +++ b/pos/templates/config.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/customers.html b/pos/templates/customers.html index 3074cc3..aeea3b8 100644 --- a/pos/templates/customers.html +++ b/pos/templates/customers.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/dashboard.html b/pos/templates/dashboard.html index 80a91ec..cab69cd 100644 --- a/pos/templates/dashboard.html +++ b/pos/templates/dashboard.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/diagrams.html b/pos/templates/diagrams.html index 3362dd5..32d8abd 100644 --- a/pos/templates/diagrams.html +++ b/pos/templates/diagrams.html @@ -18,6 +18,18 @@ +