Resolve "Generate popapp report" #1104

Merged
korina.cordero merged 6 commits from 248-generate-popapp-report into master 2019-08-09 08:02:05 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit c11393b69e - Show all commits

View file

@ -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(),
];
}

View file

@ -83,6 +83,7 @@
<th>Plate Number</th>
<th>Serial</th>
<th>Warranty Create Date</th>
<th>Activation Status</th>
<th>Has Mobile App? </th>
</tr>
</thead>
@ -95,7 +96,8 @@
<td>{{ result.plate_num|default('') }}</td>
<td>{{ result.serial|default('') }}</td>
<td>{{ result.warr_date_create|default('') }}</td>
<td>{{ result.has_mobile ? Yes : 'No' }} </td>
<td>{{ result.warr_activation_status ? 'Active' : 'Inactive' }}</td>
<td>{{ result.has_mobile ? 'Yes' : 'No' }} </td>
</tr>
{% endfor %}
</tbody>