Added payment list to jobs BOD-146

This commit is contained in:
Patrick Fic
2020-06-16 10:51:54 -07:00
parent ef81991046
commit 951fce539b
42 changed files with 1403 additions and 212 deletions

View File

@@ -2,9 +2,13 @@ import React from "react";
import Moment from "react-moment";
export function DateFormatter(props) {
return <Moment format="MM/DD/YYYY">{props.children || null}</Moment>;
return props.children ? (
<Moment format="MM/DD/YYYY ">{props.children}</Moment>
) : null;
}
export function DateTimeFormatter(props) {
return <Moment format="MM/DD/YYYY @ HH:mm">{props.children || ""}</Moment>;
return props.children ? (
<Moment format="MM/DD/YYYY @ HH:mm">{props.children}</Moment>
) : null;
}