fix fee formatting issues

This commit is contained in:
Bilal Catic
2019-11-20 12:27:42 +01:00
parent 4ea9d37915
commit 136cad8bbd
5 changed files with 61 additions and 30 deletions

View File

@@ -202,7 +202,6 @@ const bulkWriteReservationsWithChangesTracking = (reservations, resourcesMap) =>
}else{
hourlyRate = resourceId ? resourcesMap[resourceId].price.price : 0;
}
console.log(hourlyRate);
instance.setDataValue('hourlyRate', hourlyRate);
}
}

View File

@@ -15,6 +15,7 @@ const fetchOffices = () => {
cleanedOffices.push({
officeId: office['_id'],
officeName: office.name,
officeSlug: office.description,
});
});
resolve(cleanedOffices);