FIX_VEHICLE_NO
This commit is contained in:
parent
ae9ecff8d7
commit
86b34f77cf
@ -4030,6 +4030,7 @@ class EmployeeRestController extends AdminController
|
|||||||
$tickets = $this->ticketMaster
|
$tickets = $this->ticketMaster
|
||||||
->select("
|
->select("
|
||||||
ticket_master.*,
|
ticket_master.*,
|
||||||
|
vehicle.vehicle_no,
|
||||||
(
|
(
|
||||||
SELECT th1.old_value
|
SELECT th1.old_value
|
||||||
FROM ticket_history th1
|
FROM ticket_history th1
|
||||||
@ -4044,9 +4045,10 @@ class EmployeeRestController extends AdminController
|
|||||||
)
|
)
|
||||||
) AS old_status_id
|
) AS old_status_id
|
||||||
")
|
")
|
||||||
->where('is_active', 1)
|
->join("vehicle", "ticket_master.vehicle_id = vehicle.id", "left")
|
||||||
->where('client_id', $policy['client_id'])
|
->where('ticket_master.is_active', 1)
|
||||||
->where('policy_transaction_id', $policy['policy_transaction_id'])
|
->where('ticket_master.client_id', $policy['client_id'])
|
||||||
|
->where('ticket_master.policy_transaction_id', $policy['policy_transaction_id'])
|
||||||
->findAll();
|
->findAll();
|
||||||
|
|
||||||
if (!empty($tickets)) {
|
if (!empty($tickets)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user