feat(clientes-maestro): importar y exportar clientes del archivo maestro
- Tabla ClienteMaestro (27 campos, unique numCliente) - Importador Excel: 1535 clientes del Reporte maestro - API: listar/filtros/exportar/detalle/importar - Frontend: tabla paginada, filtros, exportar Excel - Dark mode completo, 52 tests verdes
This commit is contained in:
@@ -2,7 +2,7 @@ import { describe, expect, it } from 'vitest'
|
||||
import { MODULOS, esRolValido, modulosDeRol } from './roles.js'
|
||||
|
||||
const ESPERADOS: Record<string, string[]> = {
|
||||
vendedor: ['mi-dia', 'alta-cliente', 'alta-afluencia', 'cotizador', 'mi-tablero', 'contactos', 'chat'],
|
||||
vendedor: ['mi-dia', 'alta-cliente', 'alta-afluencia', 'cotizador', 'mi-tablero', 'contactos', 'chat', 'clientes-maestro'],
|
||||
administracion_venta: [
|
||||
'mi-dia',
|
||||
'alta-cliente',
|
||||
@@ -11,6 +11,7 @@ const ESPERADOS: Record<string, string[]> = {
|
||||
'mi-tablero',
|
||||
'contactos',
|
||||
'chat',
|
||||
'clientes-maestro',
|
||||
'cobranza',
|
||||
],
|
||||
director_ventas: [
|
||||
@@ -21,6 +22,7 @@ const ESPERADOS: Record<string, string[]> = {
|
||||
'mi-tablero',
|
||||
'contactos',
|
||||
'chat',
|
||||
'clientes-maestro',
|
||||
'cobranza',
|
||||
'tablero-comercial',
|
||||
],
|
||||
@@ -32,9 +34,10 @@ const ESPERADOS: Record<string, string[]> = {
|
||||
'mi-tablero',
|
||||
'contactos',
|
||||
'chat',
|
||||
'clientes-maestro',
|
||||
'cobranza',
|
||||
],
|
||||
direccion_general: ['mi-dia', 'tablero-comercial', 'cobranza', 'chat'],
|
||||
direccion_general: ['mi-dia', 'tablero-comercial', 'cobranza', 'chat', 'clientes-maestro'],
|
||||
admin: [...MODULOS],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user