Add vehicle type support and recommended order logic
Introduced vehicle type handling in `motorapi` with a helper class. Integrated recommended order logic based on vehicle plate and order history, enhancing order and department route functionality.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace motorapi\helpers;
|
||||
|
||||
class motorapi_vehicle_types
|
||||
{
|
||||
/**
|
||||
* Personbil
|
||||
* @var string
|
||||
*/
|
||||
public string $PLATE_TYPE_CAR = 'Personbil';
|
||||
/**
|
||||
* Lastbil
|
||||
* @var string
|
||||
*/
|
||||
public string $PLATE_TYPE_TRUCK = 'Lastbil';
|
||||
}
|
||||
Reference in New Issue
Block a user