X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcredit_note_entry.php;h=63c5ea2ff8541054ba58c6adee7781d097200cc1;hb=2250f142e1034dc28adb819c4d8f7cce05911489;hp=348b2c3c75ad40a0732eebf76ab731a4f8a09a2b;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php index 348b2c3c..63c5ea2f 100644 --- a/sales/credit_note_entry.php +++ b/sales/credit_note_entry.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ //--------------------------------------------------------------------------- // @@ -178,6 +178,7 @@ if (isset($_POST['ProcessCredit']) && can_process()) { if (!isset($_POST['WriteOffGLCode'])) { $_POST['WriteOffGLCode'] = 0; } + copy_to_cn(); $credit_no = $_SESSION['Items']->write($_POST['WriteOffGLCode']); processing_end(); meta_forward($_SERVER['PHP_SELF'], "AddedID=$credit_no"); @@ -259,7 +260,7 @@ if (!processing_active()) { //----------------------------------------------------------------------------- -start_form(false, true); +start_form(); hidden('cart_id'); $customer_error = display_credit_header($_SESSION['Items']);