X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fprices.php;h=7132eb624c7fab66153285b2cb4e8c6fd38b9445;hb=2f3375b4493c1b1e0b17c2801298275f22f8d76e;hp=70dd97d8a39f4a4639fb885e12ff714e0ad32899;hpb=1ca0c7081f7a4cb3f68f3ffb6ee05739abb6cebf;p=fa-stable.git diff --git a/inventory/prices.php b/inventory/prices.php index 70dd97d8..7132eb62 100644 --- a/inventory/prices.php +++ b/inventory/prices.php @@ -200,7 +200,8 @@ if (!isset($_POST['price'])) { } $kit = get_item_code_dflts($_POST['stock_id']); -small_amount_row(_("Price:"), 'price', null, '', _('per') .' '.$kit["units"]); +$units = $kit ? $kit["units"] : ''; +small_amount_row(_("Price:"), 'price', null, '', _('per') .' '.$units); end_table(1); if ($calculated)