feat: scoped the payables by type

This commit is contained in:
Nathnael
2026-06-29 07:32:42 +00:00
parent 5bad245ce8
commit 1da5af94ab
2 changed files with 24 additions and 13 deletions

View File

@@ -160,6 +160,7 @@ describe("BillingService.settlePayable", () => {
const settled = await service.settlePayable(
Freight.InvoiceSource.Booking,
"booking-1",
Freight.InvoiceType.Prepaid,
"pay-1",
mg as never,
);
@@ -184,6 +185,7 @@ describe("BillingService.settlePayable", () => {
const settled = await service.settlePayable(
Freight.InvoiceSource.Booking,
"booking-1",
Freight.InvoiceType.Prepaid,
"pay-1",
mg as never,
);