Added report center IO-636

This commit is contained in:
Patrick Fic
2021-02-04 17:03:19 -08:00
parent aa1f5c6b06
commit 9993d76709
12 changed files with 408 additions and 7 deletions

View File

@@ -136,6 +136,18 @@ export const TemplateList = (type, context) => {
},
}
: {}),
...(!type || type === "job" ? {} : {}),
...(!type || type === "report_center"
? {
payment_by_date: {
title: i18n.t("reportcenter.templates.payment_by_date"),
description: "Est Detail",
subject: `${i18n.t("reportcenter.templates.payment_by_date")} - ${
context && context.job && context.job.ro_number
}`,
key: "payment_by_date",
disabled: false,
},
}
: {}),
};
};