change cancellation fee from double booking fee to booking fee

This commit is contained in:
Bilal Catic
2019-08-08 13:18:37 +02:00
parent 6805b17c85
commit 7fbb1d9dee

View File

@@ -101,7 +101,7 @@ const chargeBookingChanges = (changes) => {
const differenceFromCreation = moment.utc().diff(reservationCreationTimestamp, 'minutes'); const differenceFromCreation = moment.utc().diff(reservationCreationTimestamp, 'minutes');
if (differenceFromCreation > ALLOWED_BOOKING_CANCELLATION_TIME){ if (differenceFromCreation > ALLOWED_BOOKING_CANCELLATION_TIME){
const chargeFee = 2 * reservationHourlyRate * oldReservationLength * BOOKING_CHANGE_PERCENTAGE_CHARGE / 100; const chargeFee = reservationHourlyRate * oldReservationLength * BOOKING_CHANGE_PERCENTAGE_CHARGE / 100;
const incident = { const incident = {
reservationId, reservationId,
memberId, memberId,