feat: rol manager, arreglos de reportes (cancelacion/afluencias), credito unico, cliente enkontrol, vendedor en bitacora y actualizar afluencia existente
This commit is contained in:
@@ -450,7 +450,9 @@ export interface ContextoUsuario {
|
||||
|
||||
/** admin / director_ventas / direccion_general ven los datos de todos */
|
||||
export function esDireccion(rol: string | undefined): boolean {
|
||||
return rol === undefined || rol === 'admin' || rol === 'director_ventas' || rol === 'direccion_general'
|
||||
return (
|
||||
rol === undefined || rol === 'admin' || rol === 'manager' || rol === 'director_ventas' || rol === 'direccion_general'
|
||||
)
|
||||
}
|
||||
|
||||
const FASES_APARTADO: readonly string[] = VOCABULARIO.FASES_APARTADO
|
||||
|
||||
Reference in New Issue
Block a user