Implement economic config round-trip test and enhance department handling
- Added a test to ensure correct round-tripping of default distribution department config value through economic config updates. - Improved department handling by adding fallback logic to use the default economic distribution department id when a customer's department id is missing. - Enhanced weather API routes to fetch, cache, and return detailed employee contributions per department for a given time slot.
This commit is contained in:
@@ -825,6 +825,7 @@ class authRoute
|
||||
[
|
||||
'economic' => [
|
||||
'transaction_draft_customer_number' => (new economic())->getTransactionDraftCustomerNumber(),
|
||||
'default_distribution_department_id' => (new economic())->getDefaultDistributionDepartmentId(),
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user