Leave in x++ :
public boolean leave()
{
boolean ret;
ret = super();
if(SessionQty.valuestr() > remainQty.valuestr())
{
error ("Order Quantity cannot more than Remain Quantity");
ret = false;
}
else
{
ret = true;
}
return ret;
}
public boolean leave()
{
boolean ret;
ret = super();
if(SessionQty.valuestr() > remainQty.valuestr())
{
error ("Order Quantity cannot more than Remain Quantity");
ret = false;
}
else
{
ret = true;
}
return ret;
}
0 comments:
Post a Comment