X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep203.php;h=112b3447e7bda08ba7df8c075903bc2eba9740f6;hb=128be63f9ae68744f37eae8072f95d0f524f86b4;hp=daa5d8a78d084a1d88475a4c751f8f89b3f934a0;hpb=a9d55e1c13cbd6a6305b9322ec8621a06516f9f3;p=fa-stable.git diff --git a/reporting/rep203.php b/reporting/rep203.php index daa5d8a7..112b3447 100644 --- a/reporting/rep203.php +++ b/reporting/rep203.php @@ -83,7 +83,7 @@ function print_payment_report() if ($no_zeros) $nozeros = _('Yes'); else $nozeros = _('No'); - $cols = array(0, 100, 130, 190, 250, 320, 385, 450, 515); + $cols = array(0, 100, 160, 210, 250, 320, 385, 450, 515); $headers = array(_('Trans Type'), _('#'), _('Due Date'), '', '', '', _('Total'), _('Balance')); @@ -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");