ItEr58S04ValidacionEProbasFuncionaisItEr57S04: [Bug #437] The Order detail header is correctly shown.
This commit is contained in:
parent
a97fb6342f
commit
dde70f4b91
2 changed files with 4 additions and 2 deletions
|
|
@ -1048,14 +1048,14 @@ public class OrderCRUDController extends GenericForwardComposer {
|
|||
orderElementFilter.setVisible(false);
|
||||
}
|
||||
|
||||
private void showOrderElementFilter() {
|
||||
public void showOrderElementFilter() {
|
||||
if (orderFilter != null)
|
||||
orderFilter.setVisible(false);
|
||||
if (orderElementFilter != null)
|
||||
orderElementFilter.setVisible(true);
|
||||
}
|
||||
|
||||
private void showCreateButtons(boolean showCreate) {
|
||||
public void showCreateButtons(boolean showCreate) {
|
||||
createOrderButton.setVisible(showCreate);
|
||||
createOrderFromTemplateButton.setVisible(showCreate);
|
||||
saveOrderAndContinueButton.setVisible(!showCreate);
|
||||
|
|
|
|||
|
|
@ -138,6 +138,8 @@ public class OrdersTabCreator {
|
|||
breadcrumbs.appendChild(new Label(ORDER_ORDERS_VIEW));
|
||||
breadcrumbs.appendChild(new Image(BREADCRUMBS_SEPARATOR));
|
||||
if (mode.isOf(ModeType.ORDER)) {
|
||||
orderCRUDController.showOrderElementFilter();
|
||||
orderCRUDController.showCreateButtons(false);
|
||||
orderCRUDController.initEdit(mode.getOrder());
|
||||
breadcrumbs
|
||||
.appendChild(new Label(mode.getOrder().getName()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue