From 6893211ff0d6a862c16faaece5d5edb6d72c7b8c Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Mon, 1 Jul 2019 07:54:28 +0000 Subject: [PATCH] Add status to warranty for Customer Battery Search. #227 --- templates/warranty-search/form.html.twig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/warranty-search/form.html.twig b/templates/warranty-search/form.html.twig index 371ee1ea..e643d3a4 100644 --- a/templates/warranty-search/form.html.twig +++ b/templates/warranty-search/form.html.twig @@ -125,6 +125,16 @@ End of Warranty {{ result.getDateExpire|date("d M Y") }} + + Status + + {% if result.isActivated == true %} + Activated + {% else %} + Not Activated + {% endif %} + + {% endfor %}