X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep203.php;h=112b3447e7bda08ba7df8c075903bc2eba9740f6;hb=fabc8d3e9dbd0ebeb28cefcdf85c5abf90a3496f;hp=2a5c7bb089094d963f76abbe7e16accbe79c4fe6;hpb=68bf09b0ddf5bbe3a0155d288f4d0334104a9538;p=fa-stable.git diff --git a/reporting/rep203.php b/reporting/rep203.php index 2a5c7bb0..112b3447 100644 --- a/reporting/rep203.php +++ b/reporting/rep203.php @@ -111,7 +111,7 @@ function print_payment_report() WHERE "; if ($fromsupp != ALL_TEXT) $sql .= "supplier_id=".db_escape($fromsupp)." AND "; - $sql .= "".TB_PREF."suppliers.payment_terms = ".TB_PREF."payment_terms.terms_indicator + $sql .= "".TB_PREF."suppliers.payment_terms = ".TB_PREF."payment_terms.id ORDER BY supp_name"; $result = db_query($sql, "The customers could not be retrieved");