X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fpayment_terms.php;h=76ccd53eb3f3ebebcf0768cc92cebbf2422d428b;hb=7ce9ff6a73214a39ff495f04b330563212b43acb;hp=df7401ea4e5a7fad5fce4e3e983387ad4674b6b6;hpb=1cfffbdacba09fac8ea10bea4e08ec338ce5841a;p=fa-stable.git diff --git a/admin/payment_terms.php b/admin/payment_terms.php index df7401ea..76ccd53e 100644 --- a/admin/payment_terms.php +++ b/admin/payment_terms.php @@ -56,18 +56,6 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') $input_error = 1; display_error( _("The Terms description must be entered.")); set_focus('terms'); - } // 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')) - //{ - // $input_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 && get_post('type')==PTT_DAYS) - { - $input_error = 1; - display_error( _("When the Day of the Following Month is selected the number entered should be less than 500 days.")); - set_focus('DayNumber'); } if ($_POST['DayNumber'] == '')