Ajustes de reportes y controles.

Se implementan DataGrid a los reportes y se mejoran los controles de selección y presentación.
This commit is contained in:
2025-05-31 23:48:42 -03:00
parent 1182a4cdee
commit 99532b03f1
35 changed files with 4132 additions and 1363 deletions

View File

@@ -0,0 +1,9 @@
import type { ControlDevolucionesReporteDto } from './ControlDevolucionesReporteDto';
import type { DevueltosOtrosDiasDto } from './DevueltosOtrosDiasDto';
import type { ObtenerCtrlDevolucionesDto } from './ObtenerCtrlDevolucionesDto';
export interface ControlDevolucionesDataResponseDto {
detallesCtrlDevoluciones: ControlDevolucionesReporteDto[];
devolucionesOtrosDias: DevueltosOtrosDiasDto[];
remitosIngresados: ObtenerCtrlDevolucionesDto[];
}

View File

@@ -0,0 +1,10 @@
export interface ListadoDistribucionDistPromedioDiaDto {
id?: string; // Para DataGrid
dia: string; // Nombre del día de la semana
cant: number;
llevados: number;
devueltos: number;
promedio_Llevados: number;
promedio_Devueltos: number;
promedio_Ventas: number;
}

View File

@@ -0,0 +1,6 @@
export interface ListadoDistribucionDistSimpleDto {
id?: string; // Para DataGrid
dia: number; // Día del mes
llevados: number;
devueltos: number | null; // Puede ser null si no hay devoluciones
}

View File

@@ -0,0 +1,7 @@
import type { ListadoDistribucionDistSimpleDto } from './ListadoDistribucionDistSimpleDto';
import type { ListadoDistribucionDistPromedioDiaDto } from './ListadoDistribucionDistPromedioDiaDto';
export interface ListadoDistribucionDistribuidoresResponseDto {
detalleSimple: ListadoDistribucionDistSimpleDto[];
promediosPorDia: ListadoDistribucionDistPromedioDiaDto[];
}