Jeppe Bundgaard
16198f49e6
Refactor XL Vask module for better null handling and primary item validation
...
- Improved null safety by updating product ID retrieval logic in parsers and usage logs.
- Enhanced primary wash item selection with stricter checks for valid product types.
- Adjusted import date modifier in `importUsageLogs` for extended range (`-7 day`).
- Streamlined product and user association in order creation with additional validations.
- Removed redundant checks and refined permission handling in import tasks.
2025-07-21 16:47:05 +02:00
Jeppe Bundgaard
af3b0666fb
Add import tasks and new parsers to XL Vask module
...
- Introduced `runImportTasks` method for vehicle, user, and usage log imports.
- Added new product parsers: `ht_b_rstel_s`, `ht_turbo`, and `ikke_b_rster_p_kabinen`.
- Implemented simulation and duplicate detection for usage logs via order objects.
- Updated usage log handling to include default customer checks and user association.
- Enhanced request handling with fast-link functionality for usage orders.
2025-07-21 10:32:56 +02:00
Jeppe Bundgaard
648a58b724
Add import usage logs functionality to XL Vask module
2025-07-16 10:38:06 +02:00
Jepp9350
ffd0606ece
Enhance xlvask_tasks: introduce date range options and additional debug outputs for runSyncUsage. Add new parsers xlvask_parser_ingen_b_rster_foran_no_brush_wash_front and xlvask_parser_ht_dysebom and integrate into xlvask_helpers. Improve rate limiting and reduce FastCGI timeout in nginx configuration. Adjust execution time and memory limits in cli.php.
2025-07-14 09:22:32 +02:00
Jepp9350
0f8ec71ffe
Enhance orders_o: add wash ID, timestamp creation, and detailed debug logging for mismatched totals. Add new parsers (xlvask_parser_ikke_b_rster_mellom_bil_og_trailer, xlvask_parser_s_be_dysebom_tak) and integrate into xlvask_helpers. Set memory limit in moduleXLVaskRoute.
2025-07-06 19:31:07 +02:00
Jepp9350
b65b1346bb
Update XLVask helpers: modify parser setup string, add 'Hænger' to usage log, and clean up whitespace.
2025-06-24 09:39:20 +02:00
Jepp9350
29aa63bb08
Add vehicle type handling in customer_vehicles_o, including vehicle type retrieval, setting, and creation in XLVask. Extend route logic to support vehicle type updates and auto-start on LPR configurations, incorporating enhanced validation and permission checks. Refactor and streamline helper classes for consistency and functionality expansion.
2025-06-19 15:01:22 +02:00
Jepp9350
75e3efcb89
Introduce xlvask_helper base class and refactor XLVask helper classes to extend it. Add methods for XLVask vehicle checks and retrievals, enhance vehicle caching functionality, and update helper class instantiation logic.
2025-06-19 11:06:53 +02:00
Jepp9350
8edc0f9312
Add logic to handle duplicate potential order matches, include shouldIgnoreDuplicate method, and introduce route to ignore duplicates with permission checks.
2025-06-16 11:31:13 +02:00
Jepp9350
27e8c558a4
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.
2025-06-12 12:14:20 +02:00
Jepp9350
5d38eae9f6
Add lane property to orders_o, include lane handling in XLVask usage logs, and introduce xlvask_parser_kapellvask_alle_trailere parser.
2025-06-11 12:57:20 +02:00
Jepp9350
f8c0c5a78c
Extend order selection logic with registration number and date range in orders_o, update Slack messaging for modules, and implement potential order detection in XLVask tasks.
2025-06-11 09:38:21 +02:00
Jepp9350
940969a466
Update XLVask parsers with correct product IDs, add skipped item details to task logs, and handle special case for vask_udf_rt parser logic.
2025-06-10 16:03:28 +02:00
Jepp9350
59a0c642d3
Add additional XLVask parsers, refine department name capitalization logic, enhance task log outputs, and update helper imports
2025-06-10 15:40:32 +02:00
Jepp9350
39e24465c4
Add multiple XLVask parsers, extend department and order selection logic, and add usage synchronization endpoint
2025-06-10 14:52:47 +02:00