Resolve more Phone Lib issues.
This commit is contained in:
@@ -61,8 +61,12 @@ export function ReportCenterModalComponent({ reportCenterModal }) {
|
||||
{
|
||||
name: values.key,
|
||||
variables: {
|
||||
...(start ? { start: moment(start).format("YYYY-MM-DD") } : {}),
|
||||
...(end ? { end: moment(end).format("YYYY-MM-DD") } : {}),
|
||||
...(start
|
||||
? { start: moment(start).startOf("day").format("YYYY-MM-DD") }
|
||||
: {}),
|
||||
...(end
|
||||
? { end: moment(end).endOf("day").format("YYYY-MM-DD") }
|
||||
: {}),
|
||||
...(id ? { id: id } : {}),
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1982,6 +1982,7 @@
|
||||
"vendor": "Vendor"
|
||||
},
|
||||
"templates": {
|
||||
"anticipated_revenue": "Anticipated Revenue",
|
||||
"attendance_detail": "Attendance (All Employees)",
|
||||
"attendance_employee": "Employee Attendance",
|
||||
"attendance_summary": "Attendance Summary (All Employees)",
|
||||
|
||||
@@ -1982,6 +1982,7 @@
|
||||
"vendor": ""
|
||||
},
|
||||
"templates": {
|
||||
"anticipated_revenue": "",
|
||||
"attendance_detail": "",
|
||||
"attendance_employee": "",
|
||||
"attendance_summary": "",
|
||||
|
||||
@@ -1982,6 +1982,7 @@
|
||||
"vendor": ""
|
||||
},
|
||||
"templates": {
|
||||
"anticipated_revenue": "",
|
||||
"attendance_detail": "",
|
||||
"attendance_employee": "",
|
||||
"attendance_summary": "",
|
||||
|
||||
@@ -1238,6 +1238,18 @@ export const TemplateList = (type, context) => {
|
||||
field: i18n.t("scoreboard.fields.date"),
|
||||
},
|
||||
},
|
||||
anticipated_revenue: {
|
||||
title: i18n.t("reportcenter.templates.anticipated_revenue"),
|
||||
description: "",
|
||||
subject: i18n.t("reportcenter.templates.anticipated_revenue"),
|
||||
key: "anticipated_revenue",
|
||||
//idtype: "vendor",
|
||||
disabled: false,
|
||||
rangeFilter: {
|
||||
object: i18n.t("reportcenter.labels.objects.jobs"),
|
||||
field: i18n.t("jobs.fields.scheduled_completion"), // Also date invoice.
|
||||
},
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "courtesycarcontract"
|
||||
|
||||
Reference in New Issue
Block a user