X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_invoice.php;h=48b79d69884769da8a78ab8fd0a608d59da6e0e8;hb=3cf9ab70d79ebd01b13b6cc0c9366ccb5b8c496a;hp=ce56148738dfe0720000cec842b72fe007e11198;hpb=21ba0553185531c12f16efef9010033d5dd62cdc;p=fa-stable.git diff --git a/purchasing/supplier_invoice.php b/purchasing/supplier_invoice.php index ce561487..48b79d69 100644 --- a/purchasing/supplier_invoice.php +++ b/purchasing/supplier_invoice.php @@ -65,8 +65,7 @@ if (isset($_GET['New'])) unset ($_SESSION['supp_trans']); } - $_SESSION['supp_trans'] = new supp_trans; - $_SESSION['supp_trans']->is_invoice = true; + $_SESSION['supp_trans'] = new supp_trans(ST_SUPPINVOICE); } //--------------------------------------------------------------------------------------------------