Replaced the global variables for table styles to defined CSS classes.
[fa-stable.git] / inventory / view / view_adjustment.php
index 1d87892bc703756cc59c8e055d6936643e0d63b0..e5722c54ff5e6fd4e08d5aa1503a89dbdbbd4679 100644 (file)
@@ -38,7 +38,7 @@ while ($adjustment = db_fetch($adjustment_items))
        {
                $adjustment_type = get_movement_type($adjustment['person_id']) ;
 
-               start_table("$table_style2 width=90%");
+               start_table(TABLESTYLE2, "width=90%");
                start_row();
                label_cells(_("At Location"), $adjustment['location_name'], "class='tableheader2'");
        label_cells(_("Reference"), $adjustment['reference'], "class='tableheader2'", "colspan=6");
@@ -51,7 +51,7 @@ while ($adjustment = db_fetch($adjustment_items))
                $header_shown = true;
 
                echo "<br>";
-               start_table("$table_style width=90%");
+               start_table(TABLESTYLE, "width=90%");
 
        $th = array(_("Item"), _("Description"), _("Quantity"),
                _("Units"), _("Unit Cost"));