X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcredit_note_entry.php;h=f27bf8f0ad8617c4c9f9f81bbb6b58179253c707;hb=5dec41f0d87e407e1c9ffcb8eb63b92e4e471a9b;hp=a33f3407152cea083d6ce715a8e272897bbb326e;hpb=4d4371fb200bb27fd6b680ebd2d1aaa450a0be7e;p=fa-stable.git diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php index a33f3407..f27bf8f0 100644 --- a/sales/credit_note_entry.php +++ b/sales/credit_note_entry.php @@ -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");