mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 01:18:18 +00:00
fix last mile
This commit is contained in:
@@ -133,7 +133,7 @@ export class FirstMileService {
|
||||
async create(dto: CreateFirstMileDto): Promise<FirstMile> {
|
||||
return this.firstMileRepository.create({
|
||||
bookingId: dto.bookingId,
|
||||
status: dto.status ?? 'PAYMENT_PENDING',
|
||||
status: dto.status ?? 'READY_TO_TRANSIT',
|
||||
advancedPayment: dto.advancedPayment ?? 0,
|
||||
remainingPayment: dto.remainingPayment ?? 0,
|
||||
estimatedKm: dto.estimatedKm ?? null,
|
||||
|
||||
Reference in New Issue
Block a user