fix(config): agrega roles Taller y Mecanico en creacion de empleados
Some checks failed
CI / lint-and-test (3.11) (push) Has been cancelled
CI / lint-and-test (3.13) (push) Has been cancelled

- Agrega opciones workshop y mechanic al select de rol en config.html
- Actualiza ROLE_LABELS y ROLE_BADGE en config.js
- Valida roles mechanic y workshop en config_bp.py con permisos por defecto
- Añade clases CSS badge--orange y badge--teal

Tests: 35 passed
This commit is contained in:
2026-06-30 16:31:45 +00:00
parent c1e481fb79
commit c58f622486
4 changed files with 13 additions and 3 deletions

View File

@@ -106,7 +106,9 @@ const Config = (() => {
admin: 'Admin',
cashier: 'Cajero',
warehouse: 'Almacenista',
accountant: 'Contador'
accountant: 'Contador',
workshop: 'Taller',
mechanic: 'Mecanico'
};
var ROLE_BADGE = {
@@ -114,7 +116,9 @@ const Config = (() => {
admin: 'badge--blue',
cashier: 'badge--green',
warehouse: 'badge--yellow',
accountant: 'badge--purple'
accountant: 'badge--purple',
workshop: 'badge--orange',
mechanic: 'badge--teal'
};
function roleBadge(role) {