-
Notifications
You must be signed in to change notification settings - Fork 3
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
Lh/request and lab ordered #307
Conversation
Anlab.Mvc/Services/IOrderService.cs
Outdated
|
||
var calcualtedTests = new List<TestDetails>(); | ||
|
||
foreach (var test in orderDetails.SelectedTests) | ||
foreach (var test in tests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@laholstege Is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking you want to keep the selectedTests, but add the LabOrder to the TestDetails model, then order by that in the return statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jSylvestre I want to keep LabOrder in the TestItemModel with RequestOrder. I ended up just removing dbTest because tests is already a list of TestItemModels that have the selected ids
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had the same question as @jSylvestre but if that part is correct then go for it
closes #287