102605f15b4206ff5c04b7d5ee326ed1f1542383
productsRoute
- Introduced methods to apply customer-specific discounts and department-based pricing to products and addons. - Enhanced `productsRoute` to handle optional parameters (`customer_id`, `department_id`, `category`, `id`) for tailored pricing and filtering. - Updated response generation to include adjusted prices for both products and options based on customer and department context. - Added helper methods to streamline parameter validation and parsing in `productsRoute`. - Extended `products_o` to support discount application logic for customer pricing.
Description
Staging repo for api (CI + promotion to GitHub)
40 MiB
Languages
PHP
93.5%
HTML
3.5%
JavaScript
1.9%
Shell
0.4%
Python
0.3%
Other
0.3%