Bug in gl/includes/db/gl_journal.inc. Fixed by @barbarian.
[fa-stable.git] / purchasing / view / view_supp_payment.php
index a23e8d713574a4a90b726305bf3f0fb1a98ae5b0..c9a455f1d614645da9c24bd791175db7021ce94c 100644 (file)
@@ -17,7 +17,7 @@ include($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/purchasing/includes/purchasing_db.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 page(_($help_context = "View Payment to Supplier"), true, false, "", $js);
 
@@ -47,7 +47,7 @@ echo "<center>";
 display_heading(_("Payment to Supplier") . " #$trans_no");
 
 echo "<br>";
-start_table(TABLESTYLE2, "width=80%");
+start_table(TABLESTYLE2, "width='80%'");
 
 start_row();
 label_cells(_("To Supplier"), $receipt['supplier_name'], "class='tableheader2'");
@@ -91,4 +91,3 @@ if (!$voided)
 }
 
 end_page(true, false, false, ST_SUPPAYMENT, $trans_no);
-?>
\ No newline at end of file