X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sales%2Fcustomer_invoice.php;h=bd0e2d2bd9bfa6429fe827f2e917ea655a480de6;hb=2383d33373d6ddec06906658a0ed6398077c1147;hp=b0bdbd65539ae9fc88ee269cad73b620dca8c241;hpb=e91772a2716825a6aeb358d1defba47d5f3892c1;p=fa-stable.git diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php index b0bdbd65..bd0e2d2b 100644 --- a/sales/customer_invoice.php +++ b/sales/customer_invoice.php @@ -298,7 +298,7 @@ if (isset($_POST['process_invoice']) && check_data()) { $newinvoice= $_SESSION['Items']->trans_no == 0; copy_to_cart(); - if ($new_invoice) new_doc_date($_SESSION['Items']->document_date); + if ($newinvoice) new_doc_date($_SESSION['Items']->document_date); $invoice_no = $_SESSION['Items']->write(); processing_end();