Skip to content
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

TRUNK-4150 Added service to revise an order #630

Closed
wants to merge 5 commits into from
Closed

Conversation

shruthidipali
Copy link
Member

No description provided.

@@ -59,6 +59,18 @@
public Order saveOrder(Order order) throws APIException;

/**
* Save or update the given <code>order</code> in the database
*
* @param order the Order to revise
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the new REVISE order not the order you are revising

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should say the revised order

@shruthidipali
Copy link
Member Author

Implemented the feedback from last night's call. Please let us know what you think.

}

/**
* Make necessary checks, set necessary fields for discontinuing <code>orderToDiscontinue</code>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These javadocs seem incorrect, by the way i think you can call markAsDiscontinued instead of adding this method

@shruthidipali
Copy link
Member Author

@wluyima Implemented pretty much all the feedback. The only task remaining is pending on the decision if saveRevisedOrder should be included in saveOrder.

* @since 1.10
* @should return all the order frequencies
*/
public List<OrderFrequency> getOrderFrequencies();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this in this pull request, this ticket says revise order, fetching order frequencies is a separate task if its own that belongs to another ticket that revising an order doesn't depend on

@wluyima wluyima closed this Feb 14, 2014
@wluyima wluyima deleted the 4150 branch February 14, 2014 18:21
@wluyima wluyima restored the 4150 branch February 14, 2014 18:25
@wluyima wluyima reopened this Feb 14, 2014
@wluyima wluyima closed this Feb 16, 2014
@wluyima wluyima deleted the 4150 branch February 16, 2014 23:36
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants