From 7bc73345b017eb332c0bec1d8e43ca8aff07707c Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 21 Jan 2025 14:38:12 -0500 Subject: [PATCH] fix: twig couple files * fix referralType display after converting to enum --- templates/internal/admin/cases/list-cases.html.twig | 2 +- templates/internal/cases/my-cases.html.twig | 2 +- templates/internal/cases/view-case.html.twig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/internal/admin/cases/list-cases.html.twig b/templates/internal/admin/cases/list-cases.html.twig index 4ce0e59..c951ec2 100644 --- a/templates/internal/admin/cases/list-cases.html.twig +++ b/templates/internal/admin/cases/list-cases.html.twig @@ -67,7 +67,7 @@

- {{ c.referralType }}/{{ c.referralSource.name }}
+ {{ c.referralType.value }}/{{ c.referralSource.name }}
{{ c.referralSource.email }}

diff --git a/templates/internal/cases/my-cases.html.twig b/templates/internal/cases/my-cases.html.twig index 5955ca7..193ef8a 100644 --- a/templates/internal/cases/my-cases.html.twig +++ b/templates/internal/cases/my-cases.html.twig @@ -49,7 +49,7 @@

- {{ c.referralType }}/{{ c.referralSource.name }}
+ {{ c.referralType.value }}/{{ c.referralSource.name }}
{{ c.referralSource.email }}

diff --git a/templates/internal/cases/view-case.html.twig b/templates/internal/cases/view-case.html.twig index 5a48bb5..7b1751c 100644 --- a/templates/internal/cases/view-case.html.twig +++ b/templates/internal/cases/view-case.html.twig @@ -43,7 +43,7 @@
- +