From d47158ced792661f52bddd26b0281217e6abc1ef Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Tue, 16 Apr 2019 00:53:20 +0000 Subject: [PATCH] Add the warranty class, expiry date, serial, battery ID to the warranties table for search. #205 --- templates/search/form.html.twig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/search/form.html.twig b/templates/search/form.html.twig index 1b61334d..9e9d22c7 100644 --- a/templates/search/form.html.twig +++ b/templates/search/form.html.twig @@ -191,6 +191,10 @@ Last Name First Name Plate Number + Warranty Class + Expiry Date + Serial + Battery @@ -200,6 +204,10 @@ {{ result.getLastName|default("") }} {{ result.getFirstName|default("") }} {{ result.getPlateNumber|default("") }} + {{ result.getWarrantyClass|default("") }} + {{ result.getDateExpire|default("")|date('d M Y') }} + {{ result.getSerial|default("") }} + {{ result.getSAPBattery.getID|default("") }} {% endfor %}