-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net rate calculation bug #509
Comments
@keang what do you think if we add |
I don't much like the idea of adding Names can change, so I'm fan of adding |
Yes, |
Yeah... I think we have lots of similar |
We need to have to make a decision here. Our options are:
OR
Since All our other entity classes don't perform calls to repositories and @keang @kkolotyuk what about refactoring of host fee calculation and finding a better place for it? |
Refactoring is a good thing. All developers know it =) But how we are going to solve the real problem here? Looks like from concierge side we can only try to find unique property per supplier (by supplier name). |
During
Quotation#net_rate
calculation we tried to find property byproperty_id
But property_id is not unique in our DB. We need to use
supplier_name
or even betterhost_id
The text was updated successfully, but these errors were encountered: