Added audit trail.
[fa-stable.git] / sales / credit_note_entry.php
index a33f3407152cea083d6ce715a8e272897bbb326e..f27bf8f0ad8617c4c9f9f81bbb6b58179253c707 100644 (file)
@@ -180,6 +180,7 @@ if (isset($_POST['ProcessCredit']) && can_process()) {
        }
        copy_to_cn();
        $credit_no = $_SESSION['Items']->write($_POST['WriteOffGLCode']);
+       new_doc_date($_SESSION['Items']->document_date);
        processing_end();
        meta_forward($_SERVER['PHP_SELF'], "AddedID=$credit_no");