Cài đặt tính năng người quản lí có thể khai báo số lượng người tham gia

This commit is contained in:
2026-06-15 20:52:43 +07:00
parent 75cf96898c
commit 8dac79fc4b
4 changed files with 86 additions and 8 deletions
+3
View File
@@ -332,6 +332,9 @@ let TourController = class TourController {
title: body.title,
startDate: body.startDate ? new Date(body.startDate) : undefined,
endDate: body.endDate ? new Date(body.endDate) : undefined,
adultCount: body.adultCount !== undefined ? Number(body.adultCount) : undefined,
childCount: body.childCount !== undefined ? Number(body.childCount) : undefined,
childDiscount: body.childDiscount !== undefined ? Number(body.childDiscount) : undefined,
},
});
}
+1 -1
View File
File diff suppressed because one or more lines are too long