Požadavky na objednávky přepracovány do záložek.
Funkčnost sjednocena s požadavky na cestovní příkaz. closes #109multitenant
parent
c48fb65949
commit
50ee0215c0
@ -1,8 +1,8 @@
|
||||
package info.bukova.isspst.services.requirement;
|
||||
|
||||
import info.bukova.isspst.data.Requirement;
|
||||
import info.bukova.isspst.services.Service;
|
||||
|
||||
public interface RequirementService extends Service<Requirement> {
|
||||
public interface RequirementService extends RequirementBaseService<Requirement>
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -1,15 +1,10 @@
|
||||
package info.bukova.isspst.services.requirement;
|
||||
|
||||
import info.bukova.isspst.data.TripRequirement;
|
||||
import info.bukova.isspst.services.Service;
|
||||
|
||||
import java.util.List;
|
||||
public interface TripRequirementService extends RequirementBaseService<TripRequirement>
|
||||
{
|
||||
|
||||
public interface TripRequirementService extends Service<TripRequirement> {
|
||||
|
||||
public List<TripRequirement> getCentreReq();
|
||||
public List<TripRequirement> getWorkgroupReq();
|
||||
public List<TripRequirement> getFromAll();
|
||||
public void loadPassangers(TripRequirement entity);
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,56 @@
|
||||
package info.bukova.isspst.ui.main;
|
||||
|
||||
import org.zkoss.bind.annotation.GlobalCommand;
|
||||
import org.zkoss.bind.annotation.Init;
|
||||
import org.zkoss.bind.annotation.NotifyChange;
|
||||
|
||||
public class TabPanelsVM
|
||||
{
|
||||
private boolean showCentre;
|
||||
private boolean showWorkgroup;
|
||||
private boolean showAll;
|
||||
|
||||
@Init
|
||||
public void init()
|
||||
{
|
||||
showCentre = true;
|
||||
showWorkgroup = true;
|
||||
showAll = true;
|
||||
}
|
||||
|
||||
@GlobalCommand
|
||||
@NotifyChange("showCentre")
|
||||
public void disableCentre()
|
||||
{
|
||||
showCentre = false;
|
||||
}
|
||||
|
||||
@GlobalCommand
|
||||
@NotifyChange("showWorkgroup")
|
||||
public void disableWorkgroup()
|
||||
{
|
||||
showWorkgroup = false;
|
||||
}
|
||||
|
||||
@GlobalCommand
|
||||
@NotifyChange("showAll")
|
||||
public void disableAll()
|
||||
{
|
||||
showAll = false;
|
||||
}
|
||||
|
||||
public boolean isShowCentre()
|
||||
{
|
||||
return showCentre;
|
||||
}
|
||||
|
||||
public boolean isShowWorkgroup()
|
||||
{
|
||||
return showWorkgroup;
|
||||
}
|
||||
|
||||
public boolean isShowAll()
|
||||
{
|
||||
return showAll;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue