Fixed upgrade procedures (obsolete columns dropped in post_install phase), restored...
[fa-stable.git] / sales / customer_payments.php
index 1f49461c400f3d13f488295e31789b49061eb769..c2f09eff56da7a50d62f1974539cea2b7fb1717e 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/sales/includes/sales_db.inc");
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js .= get_js_open_window(900, 500);
 }
 if (user_use_date_picker()) {
@@ -326,7 +326,7 @@ start_form();
        hidden('trans_no');
        hidden('old_ref', $old_ref);
 
-       start_outer_table(TABLESTYLE2, "width=60%", 5);
+       start_outer_table(TABLESTYLE2, "width='60%'", 5);
 
        table_section(1);
 
@@ -392,7 +392,7 @@ start_form();
        show_allocatable(false);
        div_end();
 
-       start_table(TABLESTYLE, "width=60%");
+       start_table(TABLESTYLE, "width='60%'");
 
        label_row(_("Customer prompt payment discount :"), $display_discount_percent);