10. Control del despacho
Agenda, tareas, SLA y rentabilidad por cliente.
GestiónTareas
SLACalidad
MétricaRentabilidad
Visión del módulo
Gestión interna del despacho: tareas, SLA, agenda fiscal, capacidad y rentabilidad por cliente.
Objetivos
- Controlar la carga de trabajo y priorizar por vencimientos y SLA.
- Medir rentabilidad por cliente (tiempo vs ingresos).
- Reducir 'fuego diario' con procesos y colas de tareas.
Alcance
- Agenda fiscal central y por responsable.
- Gestión de tareas (kanban) y estados.
- Control de tiempos (opcional) por tarea/cliente.
- Facturación del despacho (cuotas, extras) integrada.
Personas y roles
| Rol | Necesidad / uso principal |
|---|
| Dirección despacho | Rentabilidad y control del servicio. |
| Supervisor | Reparto de carga, escalado y control de vencimientos. |
| Gestor | Bandeja priorizada y tareas claras. |
Diseño funcional
Flujos principales
Planificación semanal por vencimientosInicio de semana.
- Sistema calcula vencimientos próximos por cliente.
- Genera tareas y asigna según capacidad/rol.
- Marca tareas críticas (SLA) y establece fecha objetivo.
- Dirección revisa cuadro de carga.
Salida: Menos caos y cumplimiento más consistente.
Pantallas (UI)
- Kanban de tareas
- Agenda fiscal
- Panel de capacidad y rentabilidad
Diseño técnico
Entidades y modelo de datos (mínimo)
| Entidad | Campos principales / notas |
|---|
| Task | id, company_id, title, module_ref, status, assignee, due_at, priority |
| SLA | client_id, level, response_time, delivery_time |
| TimeEntry | task_id, user_id, minutes, notes, created_at |
| BillingItem | client_id, concept, amount, period, status |
Permisos y seguridad (RBAC)
- Solo dirección/supervisor reasigna tareas masivamente.
- Tiempo y rentabilidad visibles según rol (privacidad interna).
Validaciones y reglas
- Tareas ligadas a vencimientos no pueden marcarse completadas sin evidencia (p. ej. presentación).
APIs sugeridas (API-first)
GET /api/v1/tasks?assignee=...&status=...
POST /api/v1/tasks
PATCH /api/v1/tasks/{id}
POST /api/v1/time-entries
GET /api/v1/analytics/profitability?client_id=...
Eventos y auditoría
- task.created/updated
- time.logged
- billing.item.created
Impacto de negocio
Beneficio para la gestoría
- Negocio medible y escalable; menos dependencia del 'héroe' que lo sabe todo.
Beneficio para el cliente
- Mejor puntualidad y consistencia del servicio.
Riesgos / puntos críticos
- Si no se integra con módulos (presentaciones/locks), el control será 'manual' y fallará.
10. 办公室控制
日程、任务、SLA和每个客户的盈利能力。
模块愿景
办公室内部管理:任务、SLA、税务日程、能力和按客户的盈利能力。
目标
- 控制工作负载并按到期和SLA优先排序。
- 按客户衡量盈利能力(时间 vs 收入)。
- 通过流程和任务队列减少"日常火灾"。
范围
- 中央和按负责人的税务日程。
- 任务管理(看板)和状态。
- 按任务/客户的时间控制(可选)。
- 办公室计费(费用、额外费用)集成。
人员和角色
| 角色 | 需求 / 主要用途 |
|---|
| 办公室管理 | 盈利能力和服务控制。 |
| 主管 | 工作负载分配、升级和到期控制。 |
| 经理 | 优先托盘和清晰的任务。 |
功能设计
主要流程
按到期的周计划周初。
- 系统计算每个客户的即将到期。
- 生成任务并根据能力/角色分配。
- 标记关键任务(SLA)并设置目标日期。
- 管理审查工作负载表。
输出:更少的混乱和更一致的合规性。
技术设计
实体和数据模型(最小)
| 实体 | 主要字段 / 注释 |
|---|
| Task | id, company_id, title, module_ref, status, assignee, due_at, priority |
| SLA | client_id, level, response_time, delivery_time |
| TimeEntry | task_id, user_id, minutes, notes, created_at |
| BillingItem | client_id, concept, amount, period, status |
权限和安全性(RBAC)
- 只有管理/主管可以批量重新分配任务。
- 根据角色可见时间和盈利能力(内部隐私)。
验证和规则
- 链接到到期的任务不能在没有证据的情况下标记为完成(例如提交)。
建议的API(API优先)
GET /api/v1/tasks?assignee=...&status=...
POST /api/v1/tasks
PATCH /api/v1/tasks/{id}
POST /api/v1/time-entries
GET /api/v1/analytics/profitability?client_id=...
事件和审计
- task.created/updated
- time.logged
- billing.item.created
业务影响
对管理办公室的好处
- 可衡量和可扩展的业务;减少对"知道一切的英雄"的依赖。
风险 / 关键点
- 如果不与模块集成(提交/锁定),控制将是"手动的"并会失败。
10. Office Control
Schedule, tasks, SLA and profitability per client.
ManagementTasks
SLAQuality
MetricProfitability
Module Vision
Internal office management: tasks, SLA, tax calendar, capacity and profitability per client.
Objectives
- Control workload and prioritize by deadlines and SLA.
- Measure profitability per client (time vs revenue).
- Reduce 'daily fire' with processes and task queues.
Scope
- Central and per-responsible tax calendar.
- Task management (kanban) and status.
- Time control (optional) per task/client.
- Office billing (fees, extras) integrated.
People and roles
| Role | Need / main use |
|---|
| Office management | Profitability and service control. |
| Supervisor | Workload distribution, escalation and deadline control. |
| Manager | Prioritized tray and clear tasks. |
Functional Design
Main flows
Weekly planning by deadlinesWeek start.
- System calculates upcoming deadlines per client.
- Generates tasks and assigns according to capacity/role.
- Marks critical tasks (SLA) and sets target date.
- Management reviews workload chart.
Output: Less chaos and more consistent compliance.
Screens (UI)
- Task kanban
- Tax calendar
- Capacity and profitability panel
Technical Design
Entities and data model (minimum)
| Entity | Main fields / notes |
|---|
| Task | id, company_id, title, module_ref, status, assignee, due_at, priority |
| SLA | client_id, level, response_time, delivery_time |
| TimeEntry | task_id, user_id, minutes, notes, created_at |
| BillingItem | client_id, concept, amount, period, status |
Permissions and security (RBAC)
- Only management/supervisor can reassign tasks massively.
- Time and profitability visible according to role (internal privacy).
Validations and rules
- Tasks linked to deadlines cannot be marked completed without evidence (e.g. filing).
Suggested APIs (API-first)
GET /api/v1/tasks?assignee=...&status=...
POST /api/v1/tasks
PATCH /api/v1/tasks/{id}
POST /api/v1/time-entries
GET /api/v1/analytics/profitability?client_id=...
Events and audit
- task.created/updated
- time.logged
- billing.item.created
Business Impact
Benefit for the office
- Measurable and scalable business; less dependence on the 'hero who knows everything'.
Benefit for the client
- Better punctuality and service consistency.
Risks / critical points
- If not integrated with modules (filings/locks), control will be 'manual' and will fail.
Vista desarrollo - contenido pendiente...
Development view - content pending...