diff --git a/src/Controller/ReportController.php b/src/Controller/ReportController.php index 224019d2..c92b071b 100644 --- a/src/Controller/ReportController.php +++ b/src/Controller/ReportController.php @@ -508,6 +508,7 @@ class ReportController extends Controller 'serial' => $warranty->getSerial(), 'warr_date_create' => $warranty->getDateCreate()->format("d M Y"), 'has_mobile' => $has_mobile, + 'warr_activation_status' => $warranty->isActivated(), ]; } diff --git a/templates/report/popapp/form.html.twig b/templates/report/popapp/form.html.twig index cd02cfd4..f48ada3d 100644 --- a/templates/report/popapp/form.html.twig +++ b/templates/report/popapp/form.html.twig @@ -83,6 +83,7 @@ Plate Number Serial Warranty Create Date + Activation Status Has Mobile App? @@ -95,7 +96,8 @@ {{ result.plate_num|default('') }} {{ result.serial|default('') }} {{ result.warr_date_create|default('') }} - {{ result.has_mobile ? Yes : 'No' }} + {{ result.warr_activation_status ? 'Active' : 'Inactive' }} + {{ result.has_mobile ? 'Yes' : 'No' }} {% endfor %}