change date of shortening fees to the date of booking
This commit is contained in:
@@ -165,7 +165,7 @@ const createFeeFromIncident = (incident) => {
|
|||||||
incidentTimeExplanation = `reservation shortened from [${originalBookingExplanation}] on [${incidentTimestampMoment.clone().format('MMM DD, HH:mm')}]`;
|
incidentTimeExplanation = `reservation shortened from [${originalBookingExplanation}] on [${incidentTimestampMoment.clone().format('MMM DD, HH:mm')}]`;
|
||||||
incidentExplanation = `${incidentTimeExplanation}`;
|
incidentExplanation = `${incidentTimeExplanation}`;
|
||||||
|
|
||||||
date = newBookingStartMoment.clone().startOf('day').format();
|
date = newBookingStartMoment.clone().utc(UI_TIMEZONE).startOf('day').format();
|
||||||
|
|
||||||
price = +totalChargeFee.toFixed(2);
|
price = +totalChargeFee.toFixed(2);
|
||||||
quantity = 1.00;
|
quantity = 1.00;
|
||||||
|
|||||||
Reference in New Issue
Block a user