Jeppe Bundgaard
c87f96ebcf
Add update method as alias for set in object_property class
2026-01-09 13:22:59 +01:00
Jeppe Bundgaard
69c2acf66f
Add id property to department_selfserve_condition_rules_o array representation
2026-01-09 13:21:45 +01:00
Jeppe Bundgaard
f7ff5d6713
Add condition_id property to department_selfserve_conditions_o and update related methods, routes, and logic
2026-01-09 12:56:11 +01:00
Jeppe Bundgaard
3aefa4a00a
Add departmentSelfserveConditionsRoute and departmentSelfserveConditionRulesRoute with CRUD operations and department-level access control; update OpenAPI spec accordingly
2026-01-09 12:36:32 +01:00
Jeppe Bundgaard
b4eda9ed9c
Add department_selfserve_conditions_o and department_selfserve_condition_rules_o for managing self-serve conditions and rules
2026-01-09 12:34:14 +01:00
Jeppe Bundgaard
e4c4c9c76d
Replace image property with question_condition in OpenAPI spec, routes, and related logic.
2026-01-09 11:19:23 +01:00
Jeppe Bundgaard
0de2fd7331
Replace image property with question_condition in department_selfserve_questions_o and refactor associated methods and fields.
2026-01-09 11:17:57 +01:00
Jeppe Bundgaard
10c1631f51
Refactor base64 validation and decoding in minio_t to handle data URI prefixes more robustly.
2026-01-09 11:01:01 +01:00
Jeppe Bundgaard
5b364e2141
Add attachment management endpoints to departmentSelfserveTasksRoute and update OpenAPI spec for attachments
2026-01-09 09:29:12 +01:00
Jeppe Bundgaard
d00337c050
Add delete method to department_selfserve_questions_o for removing question references from tasks
2026-01-08 14:25:38 +01:00
Jeppe Bundgaard
1fc2a96eb7
Remove redundant return statement in selfserve_lane_port_controller_t
2026-01-08 14:20:05 +01:00
Jeppe Bundgaard
c7e5e037bc
Update field handling in self-serve modules and add deleted_at to searchable fields in tasks and questions routes
2026-01-08 14:19:20 +01:00
Jeppe Bundgaard
8514d0e1d7
Implement departmentSelfserveTasksRoute with CRUD operations and department-level access control
2026-01-08 13:54:13 +01:00
Jeppe Bundgaard
a127a6f846
Add department_selfserve_tasks_o object for managing department self-serve tasks
2026-01-08 13:52:49 +01:00
Jeppe Bundgaard
829a1b71e4
Remove contactName from required parameters in authRoute.
2026-01-08 13:17:03 +01:00
Jeppe Bundgaard
0d96bf6219
Trim registration input in vehicle creation and add contactName parameter to OpenAPI spec and related routes.
2026-01-08 13:16:32 +01:00
Jeppe Bundgaard
338c244e53
Add Self-Serve section to OpenAPI spec and implement related CRUD routes with department-level access control
2026-01-08 11:15:58 +01:00
Jeppe Bundgaard
1251791ba9
Add department-level access control to department_selfserve_questions routes
2026-01-08 11:11:32 +01:00
Jeppe Bundgaard
c6c0bb970a
Add department_selfserve_questions_o object and related route for managing department self-serve questions
2026-01-08 11:06:49 +01:00
Jeppe Bundgaard
0eddf69ae4
Replace getCustomerByIdOrCustomerNumber with getUserByCustomerNumber across services and remove deprecated method.
2026-01-06 15:50:59 +01:00
Jeppe Bundgaard
49589de98e
Update getUserByCustomerNumber references to getCustomerByIdOrCustomerNumber and enhance null-checking in requireSelected.
2026-01-06 15:40:05 +01:00
Jeppe Bundgaard
19c13977ca
Ensure administration fee exemption for users with the relevant attribute and enhance null-checking in requireSelected.
2026-01-06 15:02:46 +01:00
Jeppe Bundgaard
71261c3933
Add administration fee handling to invoice collections, ensuring fees are applied monthly or per order if unpaid.
2026-01-06 14:52:25 +01:00
Jeppe Bundgaard
6bd8986043
Add fee product ID configuration to the Economic module
2026-01-06 13:19:11 +01:00
Jeppe Bundgaard
f9e8fb9b96
Add admin fee configurations for monthly and order-based billing in the Economic module
2026-01-06 13:07:06 +01:00
Jeppe Bundgaard
30abc6c593
Set lane ID on order initialization in selfserve_lane_invoice_t.
2026-01-06 12:02:04 +01:00
Jeppe Bundgaard
3bca46c457
Enhance decodeData method to better handle double-escaped JSON by adding additional decoding attempts.
2026-01-06 11:51:48 +01:00
Jeppe Bundgaard
d244294dd9
Improve decodeData method to handle HTML-encoded JSON and ensure it returns an array.
2026-01-06 11:48:51 +01:00
Jeppe Bundgaard
9c3a3e6149
Add route and tests for listing module action logs with pagination and filtering
2026-01-06 11:11:40 +01:00
Jeppe Bundgaard
c197276a6e
Integrate lane action logging mechanism across controllers, commands, and status management.
2026-01-06 11:08:57 +01:00
Jeppe Bundgaard
0b08d8dbe6
Add selfserve_lane_log_action enum for lane action definitions and outline logging mechanism.
2026-01-06 11:04:50 +01:00
Jeppe Bundgaard
14aaf68d69
Skip transactions with automatic department ID during invoicing processing.
2026-01-06 10:56:39 +01:00
Jeppe Bundgaard
b2c6273e72
Add lane status to asArray and implement detailed department lane retrieval
2026-01-06 10:56:29 +01:00
Jeppe Bundgaard
54c16b06e7
Send wash certificate email to the customer if a booking is associated
2026-01-02 11:18:10 +01:00
Jeppe Bundgaard
bcca9dd319
Add getOrderBooking method to fetch linked booking object for orders
2026-01-02 11:18:06 +01:00
Jeppe Bundgaard
e5c728f703
Cast department ID to integer and license plate to string in self-serve lane invoice creation
2025-12-18 11:09:58 +01:00
Jeppe Bundgaard
3115856fc8
Remove redundant return statement in Shelly relay control logic
2025-12-16 11:41:00 +01:00
Jeppe Bundgaard
3eef3b45c4
Add customer number validation and bypass mechanism for self-serve lane operations
...
- Introduced customer number validation during STOP command to ensure the lane's customer matches the provided customer number.
- Added a flag and methods to bypass customer number validation when authorized.
- Updated routes to set the bypass flag for users with appropriate permissions.
- Included customer number in command arguments for enhanced validation.
2025-12-16 11:40:41 +01:00
Jeppe Bundgaard
b6371455ca
Enforce command-specific permissions for self-serve lane operations and update related tests
2025-12-15 16:00:00 +01:00
Jeppe Bundgaard
46c7a2f2cd
Add http-client.env.json for HTTP client test environment configuration
2025-12-15 10:34:48 +01:00
Jeppe Bundgaard
fff5637fe6
Refactor self-serve.http tests to use dynamic variables for API URL, customer number, license plate, and lane ID
2025-12-15 10:34:42 +01:00
Jeppe Bundgaard
4e1404f070
Add invoices-pdf.http test for invoice PDF endpoint validation
2025-12-15 10:33:14 +01:00
Jeppe Bundgaard
d0bd305b0b
Add orders-potential-duplicates.http test for endpoint validation
2025-12-15 10:32:16 +01:00
Jeppe Bundgaard
761096495a
Update numberplatescans.http to use dynamic variables for API URL, plate, bay ID, and authorization token
2025-12-15 10:30:59 +01:00
Jeppe Bundgaard
06e0f58ce2
Fix mismatched array brackets in plateScansRoute response structure
2025-12-15 10:25:47 +01:00
Jeppe Bundgaard
5a71889b26
Add support for optional bayId in license plate scans
...
- Updated `plateScansRoute` to handle an optional `bay_id` parameter in plate scan requests.
- Extended `plate_scans_o` object to include `bay_id` property and related database operations.
- Enhanced `add` method to validate and process `bayId` if provided.
2025-12-15 10:14:00 +01:00
Jeppe Bundgaard
9c9df0f1f4
Validate access and booking status for retrieving invoice PDFs
...
- Added validation to ensure the user owns the invoice and it has been booked before generating the PDF.
- Updated logic to retrieve and store booked invoice PDFs using the correct `booked_invoice_id`.
- Improved error handling for unauthorized access and unbooked invoices.
2025-12-10 14:22:37 +01:00
Jeppe Bundgaard
f8af8cae46
Add lane management extensions to department functionality
...
- Introduced `getLanes` method in `departments_o` to retrieve associated lanes.
- Extended `department_lanes_o` with `getLaneStatus` and `getDepartmentLanes` methods for lane data handling.
- Updated guest route to support `include_lanes` parameter, enabling retrieval of lanes and their statuses for departments.
- Enhanced response structure with lane information when requested.
2025-12-09 14:38:59 +01:00
Jeppe Bundgaard
3cbce2a68f
Add detailed customer booking notifications with message formatting
...
- Enhanced booking notifications to include comprehensive customer and booking details.
- Implemented message formatting for clarity: customer info, date, vehicle(s), items, references, PO, and pickup status.
- Improved notification structure by integrating branding name into messages.
2025-12-09 10:58:34 +01:00
Jeppe Bundgaard
68e93fdd9d
Add relay_machine_id property to department_lanes_o object and extend related functionality
...
- Introduced `relay_machine_id` to `department_lanes_o` for managing Shelly relay associated with machines.
- Updated `add` method and database interactions to support the new property.
- Included `relay_machine_id` in `asArray` and field initialization logic.
- Enhanced `departmentLanesRoute` to handle `relay_machine_id` via API for creation and updates.
2025-12-09 10:26:32 +01:00