change date of shortening fees to the date of booking

This commit is contained in:
Bilal Catic
2019-12-09 07:39:46 +01:00
parent b13980a16d
commit 052f2ac482

View File

@@ -165,7 +165,7 @@ const createFeeFromIncident = (incident) => {
incidentTimeExplanation = `reservation shortened from [${originalBookingExplanation}] on [${incidentTimestampMoment.clone().format('MMM DD, HH:mm')}]`;
incidentExplanation = `${incidentTimeExplanation}`;
date = newBookingStartMoment.clone().startOf('day').format();
date = newBookingStartMoment.clone().utc(UI_TIMEZONE).startOf('day').format();
price = +totalChargeFee.toFixed(2);
quantity = 1.00;