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:
Jepp9350
2025-02-21 17:28:48 +01:00
parent d2c1cdda9a
commit da9ebbc160
5 changed files with 223 additions and 41 deletions
@@ -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';
}