Supplier Payment, Payments, Bank Transfer: fixed account balance limit checks.
[fa-stable.git] / gl / gl_journal.php
index 035de8ac0c22fe4990911eb3496ccd09aac087a0..be1dc607c0c16a50c5055df236cfde030b1cfd83 100644 (file)
@@ -58,6 +58,8 @@ if (isset($_GET['AddedID']))
        reset_focus();
        hyperlink_params($_SERVER['PHP_SELF'], _("Enter &New Journal Entry"), "NewJournal=Yes");
 
+       hyperlink_params("$path_to_root/admin/attachments.php", _("Add an Attachment"), "filterType=$trans_type&trans_no=$trans_no");
+
        display_footer_exit();
 } elseif (isset($_GET['UpdatedID'])) 
 {
@@ -321,7 +323,7 @@ start_form();
 
 display_order_header($_SESSION['journal_items']);
 
-start_table("$table_style2 width=90%", 10);
+start_table(TABLESTYLE2, "width=90%", 10);
 start_row();
 echo "<td>";
 display_gl_items(_("Rows"), $_SESSION['journal_items']);