X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fpayment_terms.php;h=e58a9fded3bf811a622c8a11887524673229e7a4;hb=55c51a9db64c9fe402d615e204824f8e4cd6a310;hp=4e07c6e4a95706d9fe7e76e13d537361dc8d891d;hpb=d9b4de9d7e9d3ba77f6ece752fd6cc988effd8f1;p=fa-stable.git diff --git a/admin/payment_terms.php b/admin/payment_terms.php index 4e07c6e4..e58a9fde 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;