X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fview%2Fview_adjustment.php;h=a4eb1fe9b3f37e06e61cb80d2b5b4ccb6b7ffa75;hb=c09be0dad6b05131e240349a375af7a4b7bf3444;hp=f5d9cbd692c4fcb467ab2d64907fcd3448b7340c;hpb=089cd98e0008223e0418389a0f3cdd4b7e7f5bac;p=fa-stable.git diff --git a/inventory/view/view_adjustment.php b/inventory/view/view_adjustment.php index f5d9cbd6..a4eb1fe9 100644 --- a/inventory/view/view_adjustment.php +++ b/inventory/view/view_adjustment.php @@ -21,13 +21,13 @@ display_heading(systypes::name(systypes::inventory_adjustment()) . " #$trans_no" $adjustment_items = get_stock_adjustment_items($trans_no); $k = 0; $header_shown = false; -while ($adjustment = db_fetch($adjustment_items)) +while ($adjustment = db_fetch($adjustment_items)) { - if (!$header_shown) + if (!$header_shown) { $adjustment_type = get_movement_type($adjustment['person_id']) ; - + start_table("$table_style2 width=90%"); start_row(); label_cells(_("At Location"), $adjustment['location_name'], "class='tableheader2'"); @@ -45,14 +45,14 @@ while ($adjustment = db_fetch($adjustment_items)) $th = array(_("Item"), _("Description"), _("Quantity"), _("Units"), _("Unit Cost")); - table_header($th); + table_header($th); } alt_table_row_color($k); label_cell($adjustment['stock_id']); label_cell($adjustment['description']); - qty_cell($adjustment['qty']); + qty_cell($adjustment['qty'], false, get_qty_dec($adjustment['stock_id'])); label_cell($adjustment['units']); amount_cell($adjustment['standard_cost']); end_row();