X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fgl_journal.php;h=5bff91650ebf1dbb2f76297d16f3764acf54e3ec;hb=0917891be384286611592f13872cc9437826ce09;hp=ee4f05932e310c42073e60d4ebfb8c946539d9b3;hpb=70b1677c6f437b3ee9cee17147bd8b40591adbe6;p=fa-stable.git diff --git a/gl/gl_journal.php b/gl/gl_journal.php index ee4f0593..5bff9165 100644 --- a/gl/gl_journal.php +++ b/gl/gl_journal.php @@ -55,7 +55,8 @@ if (isset($_GET['AddedID'])) display_note(get_gl_view_str($trans_type, $trans_no, _("&View this Journal Entry"))); - hyperlink_no_params($_SERVER['PHP_SELF'], _("Enter &Another Journal Entry")); + reset_focus(); + hyperlink_params($_SERVER['PHP_SELF'], _("Entry &New Journal Entry"), "NewJournal=Yes"); display_footer_exit(); } elseif (isset($_GET['UpdatedID'])) @@ -184,7 +185,7 @@ if (isset($_POST['Process'])) $cart->memo_ = $_POST['memo_']; $cart->tran_date = $_POST['date_']; - $trans_no = write_journal_entries($cart); + $trans_no = write_journal_entries($cart, check_value('Reverse')); $cart->clear_items(); new_doc_date($_POST['date_']);