From e16e8a7c991cc52ba946e1ca549c6ee4e1e4444d Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Mon, 6 Jan 2020 08:40:23 +0000 Subject: [PATCH] Add call volume report links and routes. #294 --- config/acl.yaml | 2 ++ config/routes/report.yaml | 10 ++++++++++ templates/base.html.twig | 14 +++++++++++--- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/config/acl.yaml b/config/acl.yaml index 1546a0d9..fa63ec81 100644 --- a/config/acl.yaml +++ b/config/acl.yaml @@ -298,6 +298,8 @@ access_keys: label: RESQ MEH Customer Report - id: report.warranty.class label: Warranty Class Report + - id: report.call.volume + label: Call Volume Report - id: service label: Other Services diff --git a/config/routes/report.yaml b/config/routes/report.yaml index f847cfe5..7642525c 100644 --- a/config/routes/report.yaml +++ b/config/routes/report.yaml @@ -57,3 +57,13 @@ rep_warranty_class_export_csv: path: /report/warranty_class_report controller: App\Controller\ReportController::warrantyClassExportCSV methods: [POST] + +rep_call_volume_form: + path: /report/call_volume_report + controller: App\Controller\ReportController::callVolumeForm + methods: [GET] + +rep_call_volume_export_csv: + path: /report/call_volume_report + controller: App\Controller\ReportController::callVolumeExportCSV + methods: [POST] diff --git a/templates/base.html.twig b/templates/base.html.twig index c6f1b9d5..21cfc991 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -149,7 +149,7 @@