Refinamiento de permisos y ajustes en controles. Añade gestión sobre saldos y visualización. Entre otros..

This commit is contained in:
2025-06-06 18:33:09 -03:00
parent 8fb94f8cef
commit 35e24ab7d2
104 changed files with 5917 additions and 1205 deletions

View File

@@ -0,0 +1,7 @@
export interface AjusteSaldoRequestDto {
destino: 'Distribuidores' | 'Canillas';
idDestino: number;
idEmpresa: number;
montoAjuste: number;
justificacion: string;
}

View File

@@ -0,0 +1,10 @@
export interface SaldoGestionDto {
idSaldo: number;
destino: string; // "Distribuidores" o "Canillas"
idDestino: number;
nombreDestinatario: string;
idEmpresa: number;
nombreEmpresa: string;
monto: number;
fechaUltimaModificacion: string; // "yyyy-MM-ddTHH:mm:ss" o similar
}

View File

@@ -0,0 +1,5 @@
export interface CreateNovedadCanillaDto {
idCanilla: number;
fecha: string; // string dd/MM/yyyy
detalle?: string | null;
}

View File

@@ -0,0 +1,4 @@
export interface DistribuidorDropdownDto {
idDistribuidor: number;
nombre: string;
}

View File

@@ -0,0 +1,4 @@
export interface DistribuidorLookupDto {
idDistribuidor: number;
nombre: string;
}

View File

@@ -0,0 +1,4 @@
export interface EmpresaDropdownDto {
idEmpresa: number;
nombre: string;
}

View File

@@ -0,0 +1,4 @@
export interface EmpresaLookupDto {
idEmpresa: number;
nombre: string;
}

View File

@@ -0,0 +1,7 @@
export interface NovedadCanillaDto {
idNovedad: number;
idCanilla: number;
nombreCanilla: string;
fecha: string; // string dd/MM/yyyy
detalle?: string | null;
}

View File

@@ -0,0 +1,3 @@
export interface UpdateNovedadCanillaDto {
detalle?: string | null;
}

View File

@@ -0,0 +1,8 @@
export interface CanillaGananciaReporteDto {
canilla: string; // NomApe del canillita
legajo?: number | null;
francos?: number | null;
faltas?: number | null;
totalRendir?: number | null;
id?: string; // Para el DataGrid
}

View File

@@ -0,0 +1,10 @@
export interface ListadoDistCanMensualDiariosDto {
canilla: string;
elDia: number | null;
elPlata: number | null;
vendidos: number | null;
importeElDia: number | null;
importeElPlata: number | null;
importeTotal: number | null;
id?: string; // Para DataGrid
}

View File

@@ -0,0 +1,8 @@
export interface ListadoDistCanMensualPubDto {
publicacion: string;
canilla: string;
totalCantSalida: number | null;
totalCantEntrada: number | null;
totalRendir: number | null;
id?: string; // Para DataGrid
}

View File

@@ -0,0 +1,6 @@
export interface NovedadesCanillasReporteDto {
nomApe: string;
fecha: string;
detalle?: string | null;
id?: string; // Para el DataGrid
}