Continuidad de reportes Frontend. Se sigue..
This commit is contained in:
		| @@ -0,0 +1,9 @@ | ||||
| export interface ListadoDistribucionCanillasPromedioDiaDto { | ||||
|   dia: string; // Nombre del día de la semana | ||||
|   cant: number; | ||||
|   llevados: number; | ||||
|   devueltos: number; | ||||
|   promedio_Llevados: number; | ||||
|   promedio_Devueltos: number; | ||||
|   promedio_Ventas: number; | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| import type { ListadoDistribucionCanillasSimpleDto } from './ListadoDistribucionCanillasSimpleDto'; | ||||
| import type { ListadoDistribucionCanillasPromedioDiaDto } from './ListadoDistribucionCanillasPromedioDiaDto'; | ||||
|  | ||||
| export interface ListadoDistribucionCanillasResponseDto { | ||||
|   detalleSimple: ListadoDistribucionCanillasSimpleDto[]; | ||||
|   promediosPorDia: ListadoDistribucionCanillasPromedioDiaDto[]; | ||||
| } | ||||
| @@ -0,0 +1,5 @@ | ||||
| export interface ListadoDistribucionCanillasSimpleDto { | ||||
|   dia: number; // Día del mes | ||||
|   llevados: number; | ||||
|   devueltos: number; | ||||
| } | ||||
| @@ -0,0 +1,10 @@ | ||||
| export interface ListadoDistribucionGeneralPromedioDiaDto { | ||||
|   dia: string; | ||||
|   cantidadDias: number; | ||||
|   promedioTirada: number; | ||||
|   promedioSinCargo: number; | ||||
|   promedioPerdidos: number; | ||||
|   promedioLlevados: number; | ||||
|   promedioDevueltos: number; | ||||
|   promedioVendidos: number; | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| import type { ListadoDistribucionGeneralResumenDto } from './ListadoDistribucionGeneralResumenDto'; | ||||
| import type { ListadoDistribucionGeneralPromedioDiaDto } from './ListadoDistribucionGeneralPromedioDiaDto'; | ||||
|  | ||||
| export interface ListadoDistribucionGeneralResponseDto { | ||||
|   resumen: ListadoDistribucionGeneralResumenDto[]; | ||||
|   promediosPorDia: ListadoDistribucionGeneralPromedioDiaDto[]; | ||||
| } | ||||
| @@ -0,0 +1,9 @@ | ||||
| export interface ListadoDistribucionGeneralResumenDto { | ||||
|   fecha: string; // o Date, si prefieres parsear en el frontend | ||||
|   cantidadTirada: number; | ||||
|   sinCargo: number; | ||||
|   perdidos: number; | ||||
|   llevados: number; | ||||
|   devueltos: number; | ||||
|   vendidos: number; | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| export interface MovimientoBobinaEstadoDetalleDto { | ||||
|   tipoBobina: string; | ||||
|   numeroRemito: string; | ||||
|   fechaMovimiento: string; // o Date, pero string es más simple para la tabla si ya viene formateado | ||||
|   cantidad: number; | ||||
|   tipoMovimiento: string; // "Ingreso", "Utilizada", "Dañada" | ||||
| } | ||||
| @@ -0,0 +1,5 @@ | ||||
| export interface MovimientoBobinaEstadoTotalDto { | ||||
|   tipoMovimiento: string; // "Ingresos", "Utilizadas", "Dañadas" | ||||
|   totalBobinas: number; | ||||
|   totalKilos: number; | ||||
| } | ||||
							
								
								
									
										13
									
								
								Frontend/src/models/dtos/Reportes/MovimientoBobinasDto.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Frontend/src/models/dtos/Reportes/MovimientoBobinasDto.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| export interface MovimientoBobinasDto { | ||||
|   tipoBobina: string; | ||||
|   bobinasIniciales: number; | ||||
|   kilosIniciales: number; | ||||
|   bobinasCompradas: number; | ||||
|   kilosComprados: number; | ||||
|   bobinasConsumidas: number; | ||||
|   kilosConsumidos: number; | ||||
|   bobinasDaniadas: number; | ||||
|   kilosDaniados: number; | ||||
|   bobinasFinales: number; | ||||
|   kilosFinales: number; | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| import type { MovimientoBobinaEstadoDetalleDto } from "./MovimientoBobinaEstadoDetalleDto"; | ||||
| import type { MovimientoBobinaEstadoTotalDto } from "./MovimientoBobinaEstadoTotalDto"; | ||||
|  | ||||
| export interface MovimientoBobinasPorEstadoResponseDto { | ||||
|   detalle: MovimientoBobinaEstadoDetalleDto[]; | ||||
|   totales: MovimientoBobinaEstadoTotalDto[]; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user