change reservation fee description
This commit is contained in:
@@ -212,10 +212,10 @@ const createFeeFromBooking = (booking, resourceMappings) => {
|
|||||||
const resourceName = resourcesMap[resourceId].resourceName || 'Unknown';
|
const resourceName = resourcesMap[resourceId].resourceName || 'Unknown';
|
||||||
|
|
||||||
const formattedDate = startMoment.clone().startOf('day').format('MMM DD');
|
const formattedDate = startMoment.clone().startOf('day').format('MMM DD');
|
||||||
const formattedStartTime = startMoment.format('HH:mm a');
|
const formattedStartTime = startMoment.format('HH:mm');
|
||||||
const formattedEndTime = endMoment.format('HH:mm a');
|
const formattedEndTime = endMoment.format('HH:mm');
|
||||||
|
|
||||||
const formattedName = `${officeName}, ${resourceName}, ${formattedDate} [${formattedStartTime} - ${formattedEndTime}]`;
|
const formattedName = `${formattedDate} [${formattedStartTime} to ${formattedEndTime}] ${resourceName}, ${officeName}`;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
name: formattedName,
|
name: formattedName,
|
||||||
|
|||||||
Reference in New Issue
Block a user