From: Joe Hunt Date: Fri, 18 Jun 2010 21:34:01 +0000 (+0000) Subject: Removed constraint on day values in Payment Terms X-Git-Tag: 2.3-final~878 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ff3ad68ec5da00d6e906fdaad3a4df3658709ff3;p=fa-stable.git Removed constraint on day values in Payment Terms --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7333a928..9a2d81ea 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +18-Jun-2010 Joe Hunt +- Removed constraint on day values in Payment Terms +$ /admin/payment_terms.php + 18-Jun-2010 Janusz Dobrowolski # Small bug on final credit note screen redirection $ /sales/customer_credit_invoice.php diff --git a/admin/payment_terms.php b/admin/payment_terms.php index ffdc1168..8200241a 100644 --- a/admin/payment_terms.php +++ b/admin/payment_terms.php @@ -43,12 +43,13 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') // display_error( _("When the check box to indicate a day in the following month is the due date, the due date cannot be a day after the 30th. A number between 1 and 30 is expected.")); // set_focus('DayNumber'); //} - elseif ($_POST['DayNumber'] > 500 && check_value('DaysOrFoll')) - { - $inpug_error = 1; - display_error( _("When the check box is not checked to indicate that the term expects a number of days after which accounts are due, the number entered should be less than 500 days.")); - set_focus('DayNumber'); - } + // No constrain on day values, Joe Hunt 2010-06-18. + //elseif ($_POST['DayNumber'] > 500 && check_value('DaysOrFoll')) + //{ + // $inpug_error = 1; + // display_error( _("When the check box is not checked to indicate that the term expects a number of days after which accounts are due, the number entered should be less than 500 days.")); + // set_focus('DayNumber'); + //} if ($_POST['DayNumber'] == '') $_POST['DayNumber'] = 0;