X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_po.php;h=81028338c80d2be97fa7444662e6c8a4a922fa4f;hb=95303d7b5280820af76ddbd8908b120813f1e763;hp=144192df7f1021a43d5a9f40d0308352648c300b;hpb=f12dbe7523bb1abc6cd69b009ef8f0be838f5348;p=fa-stable.git diff --git a/purchasing/view/view_po.php b/purchasing/view/view_po.php index 144192df..81028338 100644 --- a/purchasing/view/view_po.php +++ b/purchasing/view/view_po.php @@ -1,6 +1,14 @@ . +***********************************************************************/ $page_security = 2; $path_to_root="../.."; include($path_to_root . "/purchasing/includes/po_class.inc"); @@ -21,11 +29,6 @@ if (!isset($_GET['trans_no'])) display_heading(_("Purchase Order") . " #" . $_GET['trans_no']); -if (isset($_SESSION['Items'])) -{ - unset ($_SESSION['Items']); -} - $purchase_order = new purch_order; read_po($_GET['trans_no'], $purchase_order); @@ -67,7 +70,7 @@ foreach ($purchase_order->line_items as $stock_item) $dec = get_qty_dec($stock_item->stock_id); qty_cell($stock_item->quantity, false, $dec); label_cell($stock_item->units); - amount_cell($stock_item->price); + amount_decimal_cell($stock_item->price); amount_cell($line_total); label_cell($stock_item->req_del_date); qty_cell($stock_item->qty_received, false, $dec);