Added several fixes throughout for demo.

This commit is contained in:
Patrick Fic
2020-12-15 14:38:26 -08:00
parent 2981c7ba67
commit b6d8aa287f
19 changed files with 597 additions and 201 deletions

View File

@@ -5,7 +5,9 @@ import { Tooltip } from "antd";
export function DateFormatter(props) {
return props.children ? (
<Moment format="MM/DD/YYYY ">{props.children}</Moment>
<Moment className={props && props.className} format="MM/DD/YYYY ">
{props.children}
</Moment>
) : null;
}

View File

@@ -59,6 +59,7 @@ export const TemplateList = (type, object) => {
"Sent to a customer as a reminder of an upcoming appointment.",
drivingId: "appointment",
key: "appointment_reminder",
subject: `Appointment Reminder`,
},
appointment_confirmation: {
title: "Appointment Confirmation",