Add warranty class to popapp comparison report #273 #1130
1 changed files with 2 additions and 0 deletions
|
|
@ -474,6 +474,7 @@ class ReportController extends Controller
|
||||||
'Plate Number',
|
'Plate Number',
|
||||||
'Warranty Create Date',
|
'Warranty Create Date',
|
||||||
'Activation Status',
|
'Activation Status',
|
||||||
|
'Warranty Class',
|
||||||
'Has Mobile App?',
|
'Has Mobile App?',
|
||||||
'Date Mobile App Downloaded',
|
'Date Mobile App Downloaded',
|
||||||
'Mobile Number Using Mobile App',
|
'Mobile Number Using Mobile App',
|
||||||
|
|
@ -665,6 +666,7 @@ class ReportController extends Controller
|
||||||
$results[$key]['warr_firstname'] = $warranty->getFirstName();
|
$results[$key]['warr_firstname'] = $warranty->getFirstName();
|
||||||
$results[$key]['warr_date_create'] = $warranty->getDateCreate()->format("d M Y");
|
$results[$key]['warr_date_create'] = $warranty->getDateCreate()->format("d M Y");
|
||||||
$results[$key]['warr_activation_status'] = ($warranty->isActivated() ? 'Active' : 'Inactive');
|
$results[$key]['warr_activation_status'] = ($warranty->isActivated() ? 'Active' : 'Inactive');
|
||||||
|
$results[$key]['warr_class'] = $warranty->getWarrantyClass();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue