You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we've merged #5967, we can rewrite the GetCostCenterByAccountId() and GetPrincipalCenterByAccountId() to use the direct method for calculating the cost center,:
5969: chore(cost centers): use account table for lookup r=jniles a=jniles
After merging #5967, we can now rewrite these functions to use the account table directly.
Closes#5968.
Co-authored-by: Jonathan Niles <jonathanwniles@gmail.com>
Now that we've merged #5967, we can rewrite the
GetCostCenterByAccountId()
andGetPrincipalCenterByAccountId()
to use the direct method for calculating the cost center,:https://github.com/IMA-WorldHealth/bhima/blob/c1f98d84fd40a582b45f67c96da126a3d83b7161/server/models/procedures/cost_centers.sql#L18-L29
https://github.com/IMA-WorldHealth/bhima/blob/c1f98d84fd40a582b45f67c96da126a3d83b7161/server/models/procedures/cost_centers.sql#L42-L56
The text was updated successfully, but these errors were encountered: