Add getPlateReferenceIfExists in customer_vehicles_o, refine order creation logic to include plate references, enable usage synchronization in XLVask tasks, and introduce xlvask_parser_special_s_be_front.
This commit is contained in:
@@ -731,8 +731,8 @@ class orders_o extends db
|
||||
$this->add(
|
||||
(int)$user->customer_number->value(),
|
||||
2285,
|
||||
'',
|
||||
'This transaction was created automatically, based on usage log ' . $xlvask_usage_log->WashId,
|
||||
(string)(new customer_vehicles_o())->getPlateReferenceIfExists($xlvask_usage_log->RegistrationNumber),
|
||||
'', // No notes for XL Vask orders
|
||||
(int)$xlvask_usage_log->getDepartment()->id,
|
||||
$xlvask_usage_log->RegistrationNumber,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user