This commit is contained in:
David Arranz 2026-03-23 19:05:48 +01:00
parent f185bf87d0
commit 4786eb189e

View File

@ -35,7 +35,7 @@ export class ProformaFinder implements IProformaFinder {
proformaId: UniqueID, proformaId: UniqueID,
transaction?: Transaction transaction?: Transaction
): Promise<Result<Proforma, Error>> { ): Promise<Result<Proforma, Error>> {
return this.repository.getByIdInCompany(companyId, proformaId, transaction, {}); return this.repository.getByIdInCompany(companyId, proformaId, transaction);
} }
async proformaExists( async proformaExists(
@ -51,6 +51,6 @@ export class ProformaFinder implements IProformaFinder {
criteria: Criteria, criteria: Criteria,
transaction?: Transaction transaction?: Transaction
): Promise<Result<Collection<ProformaSummary>, Error>> { ): Promise<Result<Collection<ProformaSummary>, Error>> {
return this.repository.findByCriteriaInCompany(companyId, criteria, transaction, {}); return this.repository.findByCriteriaInCompany(companyId, criteria, transaction);
} }
} }