This commit is contained in:
Nathnael
2026-06-29 11:14:42 +00:00
parent c37e8acfdc
commit 662d96571e
2 changed files with 3 additions and 472 deletions

View File

@@ -52,7 +52,7 @@ export class BookingInvoiceService {
private readonly firstMile: FirstMileService,
@Inject(forwardRef(() => BookingBatchService))
private readonly bookingBatch: BookingBatchService,
) {}
) { }
/**
* Ensure the booking has its invoice, generating one from the snapshotted
@@ -122,7 +122,8 @@ export class BookingInvoiceService {
if (booking.paymentStatus === 'PAID') return;
const paidAt = new Date();
const isGeneralContract = booking.bookingType === 'GENERAL_CONTRACT';
const isGeneralContract = false
// booking.bookingType === 'GENERAL_CONTRACT';
let contractExpiresAt: Date | null = null;
if (isGeneralContract) {