projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d12907
)
Wrong parameter passed to qty_cell. Fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 5 Jul 2021 06:33:10 +0000
(08:33 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 5 Jul 2021 06:33:10 +0000
(08:33 +0200)
inventory/manage/sales_kits.php
patch
|
blob
|
history
diff --git
a/inventory/manage/sales_kits.php
b/inventory/manage/sales_kits.php
index 219f7f353d044e66eaf534b8cad260574439d703..c8a80687dfc098d7eb6077d4b75301cedde2548a 100644
(file)
--- a/
inventory/manage/sales_kits.php
+++ b/
inventory/manage/sales_kits.php
@@
-46,7
+46,7
@@
function display_kit_items($selected_kit)
label_cell($myrow["stock_id"]);
label_cell($myrow["comp_name"]);
qty_cell($myrow["quantity"], false,
- $myrow["units"] == '' ? 0 : get_qty_dec($myrow["
comp_name
"]));
+ $myrow["units"] == '' ? 0 : get_qty_dec($myrow["
stock_id
"]));
label_cell($myrow["units"] == '' ? _('kit') : $myrow["units"]);
edit_button_cell("Edit".$myrow['id'], _("Edit"));
delete_button_cell("Delete".$myrow['id'], _("Delete"));