Replaced the global variables for table styles to defined CSS classes.
[fa-stable.git] / purchasing / view / view_supp_credit.php
index 9313484799bd487f07c0e6789df99678049ff8c9..5c8ec92fc9cf057ea5c5810536b0ce8dd8d4bfb2 100644 (file)
@@ -38,7 +38,7 @@ read_supp_invoice($trans_no, ST_SUPPCREDIT, $supp_trans);
 
 display_heading(_("SUPPLIER CREDIT NOTE") . " # " . $trans_no);
 echo "<br>";
-start_table($table_style2);
+start_table(TABLESTYLE2);
 start_row();
 label_cells(_("Supplier"), $supp_trans->supplier_name, "class='tableheader2'");
 label_cells(_("Reference"), $supp_trans->reference, "class='tableheader2'");
@@ -57,7 +57,7 @@ $total_grn = display_grn_items($supp_trans, 2);
 
 $display_sub_tot = number_format2($total_gl+$total_grn,user_price_dec());
 
-start_table("$table_style width=95%");
+start_table(TABLESTYLE, "width=95%");
 label_row(_("Sub Total"), $display_sub_tot, "align=right", "nowrap align=right width=17%");
 
 $tax_items = get_trans_tax_details(ST_SUPPCREDIT, $trans_no);