projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[fa-stable.git]
/
inventory
/
view
/
view_adjustment.php
diff --git
a/inventory/view/view_adjustment.php
b/inventory/view/view_adjustment.php
index f5d9cbd692c4fcb467ab2d64907fcd3448b7340c..9aac2fd83c5e5cf8acf816d3ca30969e86c8c17d 100644
(file)
--- a/
inventory/view/view_adjustment.php
+++ b/
inventory/view/view_adjustment.php
@@
-18,16
+18,17
@@
if (isset($_GET["trans_no"]))
display_heading(systypes::name(systypes::inventory_adjustment()) . " #$trans_no");
display_heading(systypes::name(systypes::inventory_adjustment()) . " #$trans_no");
+br(1);
$adjustment_items = get_stock_adjustment_items($trans_no);
$k = 0;
$header_shown = false;
$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']) ;
{
$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'");
start_table("$table_style2 width=90%");
start_row();
label_cells(_("At Location"), $adjustment['location_name'], "class='tableheader2'");
@@
-45,14
+46,14
@@
while ($adjustment = db_fetch($adjustment_items))
$th = array(_("Item"), _("Description"), _("Quantity"),
_("Units"), _("Unit Cost"));
$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']);
}
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();
label_cell($adjustment['units']);
amount_cell($adjustment['standard_cost']);
end_row();