From 207bb3967292cf8d2e2118d05d27efa46f00893e Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Wed, 17 Jul 2024 14:15:38 -0700 Subject: [PATCH] IO-2845 Payments Grouped by Payment Type Signed-off-by: Allan Carr --- client/src/translations/en_us/common.json | 3 ++- client/src/translations/es/common.json | 1 + client/src/translations/fr/common.json | 1 + client/src/utils/TemplateConstants.js | 11 +++++++++++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 6b76a6ed0..b46f3c553 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -2920,7 +2920,8 @@ "parts_not_recieved_vendor": "Parts Not Received by Vendor", "parts_received_not_scheduled": "Parts Received for Jobs Not Scheduled", "payments_by_date": "Payments by Date", - "payments_by_date_type": "Payments by Date and Type", + "payments_by_date_payment": "Payments by Date and Payment Type", + "payments_by_date_type": "Payments by Date and Customer Type", "production_by_category": "Production by Category", "production_by_category_one": "Production filtered by Category", "production_by_csr": "Production by CSR", diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 48d6f107d..6c2b46890 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -2920,6 +2920,7 @@ "parts_not_recieved_vendor": "", "parts_received_not_scheduled": "", "payments_by_date": "", + "payments_by_date_payment": "", "payments_by_date_type": "", "production_by_category": "", "production_by_category_one": "", diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 3fd409e2a..8003cf969 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -2920,6 +2920,7 @@ "parts_not_recieved_vendor": "", "parts_received_not_scheduled": "", "payments_by_date": "", + "payments_by_date_payment": "", "payments_by_date_type": "", "production_by_category": "", "production_by_category_one": "", diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index 8fda63504..2aa482fb6 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -1194,6 +1194,17 @@ export const TemplateList = (type, context) => { }, group: "customers" }, + payments_by_date_payment: { + title: i18n.t("reportcenter.templates.payments_by_date_payment"), + subject: i18n.t("reportcenter.templates.payments_by_date_payment"), + key: "payments_by_date_payment", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.payments"), + field: i18n.t("payments.fields.date") + }, + group: "customers" + }, schedule: { title: i18n.t("reportcenter.templates.schedule"), subject: i18n.t("reportcenter.templates.schedule"),