From: Joe Hunt Date: Mon, 31 May 2010 14:17:38 +0000 (+0000) Subject: No limit on 30 days in Payment terms if end of month. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=ba22bbdc8d6566ba0372441a0de568ac9cd2aa6f;p=textcart.git No limit on 30 days in Payment terms if end of month. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 94934e4..9c12707 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +31-May-2010 Joe Hunt +# No limit on 30 days in Payment terms if end of month. +$ /admin/payment_terms.php + 30-May-2010 Joe Hunt ! Global variabel, $def_print_destination, config.php can be set to 0 or 1 $ config.default.php diff --git a/admin/payment_terms.php b/admin/payment_terms.php index 1e0f8c6..ffdc116 100644 --- a/admin/payment_terms.php +++ b/admin/payment_terms.php @@ -36,13 +36,13 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') $inpug_error = 1; display_error( _("The Terms description must be entered.")); set_focus('terms'); - } - elseif ($_POST['DayNumber'] > 30 && !check_value('DaysOrFoll')) - { - $inpug_error = 1; - 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'); - } + } // there should be no limits by 30 here if they want longer payment terms. Joe Hunt 2010-05-31 + //elseif ($_POST['DayNumber'] > 30 && !check_value('DaysOrFoll')) + //{ + // $inpug_error = 1; + // 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;