change date of shortening fees to the date of booking

This commit is contained in:
Bilal Catic
2019-12-09 06:55:14 +01:00
parent 3b442f9b34
commit b13980a16d

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 = incidentTimestampMoment.clone().startOf('day').format();
date = newBookingStartMoment.clone().startOf('day').format();
price = +totalChargeFee.toFixed(2);
quantity = 1.00;