mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user