Commit d0ff2a80 by Nilu

minor modification

parent cefcfd1f
...@@ -149,7 +149,14 @@ public class Company extends BaseCompany ...@@ -149,7 +149,14 @@ public class Company extends BaseCompany
{ {
return getPaymentPlan() != null && getPaymentPlan().getActiveJobCount() > getUsedCredits(); return getPaymentPlan() != null && getPaymentPlan().getActiveJobCount() > getUsedCredits();
} }
@Override
public Integer getUsedCredits()
{
return super.getUsedCredits() != null ? super.getUsedCredits() : 0;
}
public Job[] getOpenJobs() public Job[] getOpenJobs()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment