X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcredit_note_entry.php;h=f27bf8f0ad8617c4c9f9f81bbb6b58179253c707;hb=2383d33373d6ddec06906658a0ed6398077c1147;hp=63c5ea2ff8541054ba58c6adee7781d097200cc1;hpb=e8ae3516539a520338117f25d401c0fc234973a4;p=fa-stable.git
diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php
index 63c5ea2f..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");
@@ -278,7 +279,7 @@ if ($customer_error == "") {
echo "