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 @@ +
diff --git a/pos/templates/fleet.html b/pos/templates/fleet.html index 25e5169..db54aa1 100644 --- a/pos/templates/fleet.html +++ b/pos/templates/fleet.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/historical_sales.html b/pos/templates/historical_sales.html index 0a4b195..70c2b6e 100644 --- a/pos/templates/historical_sales.html +++ b/pos/templates/historical_sales.html @@ -35,6 +35,18 @@ .pagination span { font-size: 13px; color: #4b5563; } .loading { text-align: center; padding: 40px; color: #6b7280; } +
diff --git a/pos/templates/inventory.html b/pos/templates/inventory.html index 7c05196..38ab96d 100644 --- a/pos/templates/inventory.html +++ b/pos/templates/inventory.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/invoicing.html b/pos/templates/invoicing.html index ef79ac4..804ff98 100644 --- a/pos/templates/invoicing.html +++ b/pos/templates/invoicing.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/marketplace.html b/pos/templates/marketplace.html index f43f95c..ef12c06 100644 --- a/pos/templates/marketplace.html +++ b/pos/templates/marketplace.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/marketplace_external.html b/pos/templates/marketplace_external.html index 5e8a8e2..4a4a50a 100644 --- a/pos/templates/marketplace_external.html +++ b/pos/templates/marketplace_external.html @@ -29,6 +29,18 @@ .meli-config-row label { display:block;font-size:var(--text-caption);color:var(--color-text-muted);margin-bottom:4px; } .meli-config-row input, .meli-config-row select { padding:8px 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-0);color:var(--color-text-primary); } + diff --git a/pos/templates/pos.html b/pos/templates/pos.html index c9f604f..81371b5 100644 --- a/pos/templates/pos.html +++ b/pos/templates/pos.html @@ -17,6 +17,18 @@ + diff --git a/pos/templates/quotations.html b/pos/templates/quotations.html index fd0ae82..f4db0b6 100644 --- a/pos/templates/quotations.html +++ b/pos/templates/quotations.html @@ -12,6 +12,18 @@ + diff --git a/pos/templates/reports.html b/pos/templates/reports.html index bf882d1..6f8860e 100644 --- a/pos/templates/reports.html +++ b/pos/templates/reports.html @@ -16,6 +16,18 @@ + diff --git a/pos/templates/supplier_catalog.html b/pos/templates/supplier_catalog.html index 8222a3c..ea1394f 100644 --- a/pos/templates/supplier_catalog.html +++ b/pos/templates/supplier_catalog.html @@ -50,6 +50,18 @@ .sc-interchange-chip { background:var(--color-surface-2); border:1px solid var(--color-border); border-radius:var(--radius-full); padding:2px 10px; font-size:var(--text-caption); } .sc-close { background:none; border:none; font-size:20px; color:var(--color-text-muted); cursor:pointer; } + diff --git a/pos/templates/whatsapp.html b/pos/templates/whatsapp.html index 5389fa6..b090848 100644 --- a/pos/templates/whatsapp.html +++ b/pos/templates/whatsapp.html @@ -19,6 +19,18 @@ +