X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=inventory%2Freorder_level.php;h=a39d094e4b7e519974f77ab54629a05dceac3726;hb=59233fde6a6ea38e17c1ce5b089cb0b798a98e2d;hp=3d92cebfb108e652d6cb9fb324153ab020cfe119;hpb=0ad7b92c6cf2e4e65ca0fa94ba31f30f7b292ba8;p=fa-stable.git diff --git a/inventory/reorder_level.php b/inventory/reorder_level.php index 3d92cebf..a39d094e 100644 --- a/inventory/reorder_level.php +++ b/inventory/reorder_level.php @@ -31,7 +31,7 @@ if (!isset($_POST['stock_id'])) echo "
" . _("Item:"). " "; stock_costable_items_list('stock_id', $_POST['stock_id'], false, true); -echo "
"; +echo "
"; stock_item_heading($_POST['stock_id']); @@ -47,7 +47,7 @@ $k=0; //row colour counter $result = get_loc_details($_POST['stock_id']); -while ($myrow = db_fetch($result)) +while ($myrow = db_fetch($result)) { alt_table_row_color($k); @@ -60,13 +60,13 @@ while ($myrow = db_fetch($result)) } $qoh = get_qoh_on_date($_POST['stock_id'], $myrow["loc_code"]); - + label_cell($myrow["location_name"]); $_POST[$myrow["loc_code"]] = qty_format($myrow["reorder_level"]); label_cell(number_format2($qoh,user_qty_dec()), "nowrap align='right'"); - amount_cells(null, $myrow["loc_code"]); + qty_cells(null, $myrow["loc_code"]); end_row(); $j++; If ($j == 12) @@ -78,7 +78,7 @@ while ($myrow = db_fetch($result)) end_table(1); -submit('UpdateData', _("Update")); +submit_center('UpdateData', _("Update")); end_form(); end_page();