@ -7,6 +7,7 @@ import info.bukova.isspst.services.requirement.RequirementService;
import info.bukova.isspst.services.workgroups.WorkgroupService ;
import info.bukova.isspst.services.workgroups.WorkgroupService ;
import info.bukova.isspst.ui.requirement.RequirementSubpage ;
import info.bukova.isspst.ui.requirement.RequirementSubpage ;
import java.math.BigDecimal ;
import java.util.ArrayList ;
import java.util.ArrayList ;
import java.util.List ;
import java.util.List ;
@ -64,4 +65,18 @@ public class ReqListMyWorkgroups extends RequirementSubpage<Requirement>
protected void beforeSelectViaUrl ( ) {
protected void beforeSelectViaUrl ( ) {
BindUtils . postGlobalCommand ( null , null , "selectWorkgroup" , null ) ;
BindUtils . postGlobalCommand ( null , null , "selectWorkgroup" , null ) ;
}
}
public BigDecimal getInvoicedAmount ( ) {
if ( getDataBean ( ) ! = null ) {
return requirementService . getInvoicedAmount ( getDataBean ( ) ) ;
} else {
return null ;
}
}
@Override
@NotifyChange ( { "dataBean" , "ableToDelete" , "canApprove" , "invoicedAmount" } )
public void setDataBean ( Requirement data ) {
super . setDataBean ( data ) ;
}
}
}