From e0fab6703c8d307f63f8fc5de5956bd43f55bc8e Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Fri, 19 Mar 2021 10:08:07 +0000 Subject: [PATCH] Reset the motolite battery flag when loading page and loading customer vehicle. #546 --- templates/job-order/form.html.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/job-order/form.html.twig b/templates/job-order/form.html.twig index b26b95c8..ac001767 100644 --- a/templates/job-order/form.html.twig +++ b/templates/job-order/form.html.twig @@ -269,7 +269,7 @@
@@ -1381,6 +1381,7 @@ $(function() { $("#flag-motolite-battery").prop("checked", true); } else { $("#current-battery, #warranty-code, #warranty-expiration").val("No current battery").css('color', '#f4516c'); + $("#flag-motolite-battery").prop("checked", false); } }) }).focus();