X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcredit_note_entry.php;h=63c5ea2ff8541054ba58c6adee7781d097200cc1;hb=2250f142e1034dc28adb819c4d8f7cce05911489;hp=cab8c3dc810a6a7edbf64284187fdf9878c76bcd;hpb=b119b85ae454cf0cab51dce950d24b85ae37f54a;p=fa-stable.git diff --git a/sales/credit_note_entry.php b/sales/credit_note_entry.php index cab8c3dc..63c5ea2f 100644 --- a/sales/credit_note_entry.php +++ b/sales/credit_note_entry.php @@ -1,4 +1,14 @@ . +***********************************************************************/ //--------------------------------------------------------------------------- // // Entry/Modify free hand Credit Note @@ -168,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"); @@ -249,7 +260,7 @@ if (!processing_active()) { //----------------------------------------------------------------------------- -start_form(false, true); +start_form(); hidden('cart_id'); $customer_error = display_credit_header($_SESSION['Items']);