X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fview%2Fview_adjustment.php;h=ca3a7edc73a03a28eefd4e8e4d6365d99acc69a6;hb=5a3cbfe6d2df1c8c32edcab8bf93e8a8432a15fc;hp=953e6018e1eab816910ca14c8fe1e9c9b26a4b4d;hpb=9478a0cdeaf9201d2f3947e11e58d90354050025;p=fa-stable.git diff --git a/inventory/view/view_adjustment.php b/inventory/view/view_adjustment.php index 953e6018..ca3a7edc 100644 --- a/inventory/view/view_adjustment.php +++ b/inventory/view/view_adjustment.php @@ -36,14 +36,12 @@ while ($adjustment = db_fetch($adjustment_items)) if (!$header_shown) { - $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"); label_cells(_("Date"), sql2date($adjustment['tran_date']), "class='tableheader2'"); - label_cells(_("Adjustment Type"), $adjustment_type['name'], "class='tableheader2'"); end_row(); comments_display_row(ST_INVADJUST, $trans_no); @@ -51,9 +49,9 @@ while ($adjustment = db_fetch($adjustment_items)) $header_shown = true; echo "
"; - start_table("$table_style width=90%"); + start_table(TABLESTYLE, "width='90%'"); - $th = array(_("Item"), _("Description"), _("Quantity"), + $th = array(_("Item Code"), _("Description"), _("Quantity"), _("Units"), _("Unit Cost")); table_header($th); } @@ -72,5 +70,4 @@ end_table(1); is_voided_display(ST_INVADJUST, $trans_no, _("This adjustment has been voided.")); -end_page(true); -?> \ No newline at end of file +end_page(true, false, false, ST_INVADJUST, $trans_no);