X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_supp_credit.php;h=ec5cb40b20fd92ba764c3b5dd4dc98a7ad3da198;hb=90533b5a9a1a5e337b657e3e3fc251149d489fab;hp=5c8ec92fc9cf057ea5c5810536b0ce8dd8d4bfb2;hpb=d9b4de9d7e9d3ba77f6ece752fd6cc988effd8f1;p=fa-stable.git diff --git a/purchasing/view/view_supp_credit.php b/purchasing/view/view_supp_credit.php index 5c8ec92f..ec5cb40b 100644 --- a/purchasing/view/view_supp_credit.php +++ b/purchasing/view/view_supp_credit.php @@ -31,8 +31,7 @@ elseif (isset($_POST["trans_no"])) $trans_no = $_POST["trans_no"]; } -$supp_trans = new supp_trans(); -$supp_trans->is_invoice = false; +$supp_trans = new supp_trans(ST_SUPPCREDIT); read_supp_invoice($trans_no, ST_SUPPCREDIT, $supp_trans);