Merge branch '162-phase-2-changes' into 'master'
Resolve "Phase 2 changes" Closes #162 See merge request jankstudio/resq!182
This commit is contained in:
commit
02d0ec6101
4 changed files with 17 additions and 1 deletions
|
|
@ -144,6 +144,17 @@ span.has-danger,
|
|||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_mobile td {
|
||||
background-color: #0000ff !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-table__row--is_mobile td > span,
|
||||
.m-table__row--is_mobile td > span a,
|
||||
.m-table__row--is_mobile td > span a i {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.m-datatable.m-datatable--default > .m-datatable__table {
|
||||
min-height: 0 !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -788,6 +788,7 @@ class JobOrderController extends BaseController
|
|||
$row['status'] = $statuses[$orow->getStatus()];
|
||||
$row['flag_advance'] = $orow->isAdvanceOrder();
|
||||
$row['plate_number'] = $orow->getCustomerVehicle()->getPlateNumber();
|
||||
$row['is_mobile'] = $orow->getSource() == TransactionOrigin::MOBILE_APP;
|
||||
|
||||
$processor = $orow->getProcessedBy();
|
||||
if ($processor == null)
|
||||
|
|
|
|||
|
|
@ -739,7 +739,7 @@ class RAPIController extends Controller
|
|||
|
||||
public function changeService(Request $req, InvoiceCreator $ic)
|
||||
{
|
||||
// $this->debugRequest($req);
|
||||
$this->debugRequest($req);
|
||||
|
||||
// allow rider to change service, promo, battery and trade-in options
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
|
|
|||
|
|
@ -70,6 +70,10 @@
|
|||
if (data.flag_advance) {
|
||||
$(row).addClass('m-table__row--danger');
|
||||
}
|
||||
|
||||
if (data.is_mobile) {
|
||||
$(row).addClass('m-table__row--is_mobile');
|
||||
}
|
||||
}
|
||||
},
|
||||
columns: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue