X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcredit_note_entry.php;h=f27bf8f0ad8617c4c9f9f81bbb6b58179253c707;hb=231addc23887aa8b906dca18ea0b2a6fe63c3c39;hp=c53a080d7e31b760b85e937d9104795e0ad09082;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git
diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php
index c53a080d..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");
@@ -260,7 +261,7 @@ if (!processing_active()) {
//-----------------------------------------------------------------------------
-start_form(false, true);
+start_form();
hidden('cart_id');
$customer_error = display_credit_header($_SESSION['Items']);
@@ -278,7 +279,7 @@ if ($customer_error == "") {
echo "