Fix change charge bugs #33

Merged
bilal.catic merged 2 commits from fix-change-charge-bugs into master 2019-08-08 14:20:37 +02:00
Showing only changes of commit 7fbb1d9dee - Show all commits

View File

@@ -101,7 +101,7 @@ const chargeBookingChanges = (changes) => {
const differenceFromCreation = moment.utc().diff(reservationCreationTimestamp, 'minutes');
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 = {
reservationId,
memberId,