Files
api/services/nginx/app/modules/xlvask/helpers/xlvask_parser_halleje.php
T
Jeppe Bundgaard 2dbf318df0 Improve vehicle type determination in xlvask_parser_stor_bil
- Integrated `customer_vehicles_o` to validate vehicle type using customer-based data.
- Added fallback logic in `selectByPlate` to handle exceptions gracefully.
- Enhanced `checkMotorAPI` error handling by returning `false` instead of throwing exceptions.
2025-09-08 13:06:52 +02:00

26 lines
592 B
PHP

<?php
namespace helpers;
use Exception;
use objects\products_o;
class xlvask_parser_halleje extends xlvask_product_parser
{
use xlvask_product_parser_t;
public function __construct()
{
$this->setup('Halleje');
}
/**
* @inheritDoc
* @throws Exception
*/
protected function parse(xlvask_wash_item $wash_item, xlvask_usage_log $xlvask_usage_log): products_o
{
return (new products_o())->select(62); // Halleje product ID is actually 62, but since we're currently not using it we just return the 64 (Irrelevant) product ID.
}
}