租房日历添加字段
This commit is contained in:
parent
c99428204a
commit
9ca062cd93
|
|
@ -442,6 +442,7 @@ const getCalendarRentals = async (req, res) => {
|
||||||
return {
|
return {
|
||||||
id: rental.id,
|
id: rental.id,
|
||||||
tenantName: rental.tenantName,
|
tenantName: rental.tenantName,
|
||||||
|
startDate: formatDate(rental.startDate),
|
||||||
endDate: formatDate(rental.endDate),
|
endDate: formatDate(rental.endDate),
|
||||||
status: rental.status,
|
status: rental.status,
|
||||||
rent: rental.rent,
|
rent: rental.rent,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue