Bug fix for bookings

This commit is contained in:
Senad Uka
2019-07-19 22:25:22 +02:00
parent 4389aaa8da
commit 0c92febe52
4 changed files with 27 additions and 17 deletions

View File

@@ -184,7 +184,7 @@ const bulkWriteReservationsWithChangesTracking = (reservations) => {
}
});
instance.setDataValue('hourlyRate', previous.hourlyRate);
instance.setDataValue('hourlyRate', instance.previous('hourlyRate'));
if (realChange){
changes.push({