remove label and cost explanation from booking fees
This commit is contained in:
@@ -203,7 +203,7 @@ const createFeeFromBooking = (booking, resourceMappings) => {
|
|||||||
const formattedStartTime = startMoment.format('HH:mm a');
|
const formattedStartTime = startMoment.format('HH:mm a');
|
||||||
const formattedEndTime = endMoment.format('HH:mm a');
|
const formattedEndTime = endMoment.format('HH:mm a');
|
||||||
|
|
||||||
const formattedName = `[BOOKING FEES] ${officeName}, ${resourceName}, $${totalCost}, ${reservationLength.toFixed(2)} x $${hourlyRate.toFixed(2)}, ${formattedDate} [${formattedStartTime} - ${formattedEndTime}]`;
|
const formattedName = `${officeName}, ${resourceName}, $${totalCost}, ${formattedDate} [${formattedStartTime} - ${formattedEndTime}]`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
name: formattedName,
|
name: formattedName,
|
||||||
|
|||||||
Reference in New Issue
Block a user