14 lines
785 B
TypeScript
14 lines
785 B
TypeScript
|
|
import type { BalanceCuentaDebCredDto } from "./BalanceCuentaDebCredDto";
|
||
|
|
import type { BalanceCuentaDistDto } from "./BalanceCuentaDistDto";
|
||
|
|
import type { BalanceCuentaPagosDto } from "./BalanceCuentaPagosDto";
|
||
|
|
import type { SaldoDto } from "./SaldoDto";
|
||
|
|
|
||
|
|
export interface ReporteCuentasDistribuidorResponseDto {
|
||
|
|
entradasSalidas: BalanceCuentaDistDto[];
|
||
|
|
debitosCreditos: BalanceCuentaDebCredDto[];
|
||
|
|
pagos: BalanceCuentaPagosDto[];
|
||
|
|
saldos: SaldoDto[]; // Aunque SP_BalanceCuentSaldos devuelve una lista, para un distribuidor/empresa debería ser 1 solo.
|
||
|
|
// Se podría ajustar el DTO o el servicio para devolver solo el primer saldo.
|
||
|
|
nombreDistribuidor?: string; // Para el título del reporte
|
||
|
|
nombreEmpresa?: string; // Para el título del reporte
|
||
|
|
}
|