details: https://code.openbravo.com/erp/devel/pi/rev/0eb140120f4e changeset: 32147:0eb140120f4e user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Thu May 18 12:30:55 2017 +0200 summary: related to bug 35994: hide number of ws calls if the instance is unlimited
Do not show the number of ws calls performed throughout the day in the "Instance Activation" window if the current instance has unlimited number of ws calls. diffstat: src/org/openbravo/erpCommon/obps/ActivationKey.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diffs (20 lines): diff -r 383058dac569 -r 0eb140120f4e src/org/openbravo/erpCommon/obps/ActivationKey.java --- a/src/org/openbravo/erpCommon/obps/ActivationKey.java Thu May 18 09:00:59 2017 +0200 +++ b/src/org/openbravo/erpCommon/obps/ActivationKey.java Thu May 18 12:30:55 2017 +0200 @@ -1227,10 +1227,12 @@ sb.append(getWSExplanation(conn, lang)); sb.append("</td></tr>"); - sb.append("<tr><td>").append(Utility.messageBD(conn, "OPSWSCounterDay", lang)) - .append("</td><td>"); - sb.append(getNumberWSDayCounter()); - sb.append("</td></tr>"); + if (!hasUnlimitedWsAccess()) { + sb.append("<tr><td>").append(Utility.messageBD(conn, "OPSWSCounterDay", lang)) + .append("</td><td>"); + sb.append(getNumberWSDayCounter()); + sb.append("</td></tr>"); + } sb.append("<tr><td>").append(Utility.messageBD(conn, "OPSPOSLimitation", lang)) .append("</td><td>"); ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits