X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_po.php;h=052103deeff636c073bf4161085a329996ee85aa;hb=c99c4da3f3a009e48b536dc1cc5268d566dfc6cb;hp=c572cf59809205b66edb20ddc745c3c3fa6c69d8;hpb=032543e8bebfaf5ed19f8a8bad793893af497862;p=fa-stable.git diff --git a/purchasing/view/view_po.php b/purchasing/view/view_po.php index c572cf59..052103de 100644 --- a/purchasing/view/view_po.php +++ b/purchasing/view/view_po.php @@ -1,8 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_SUPPTRANSVIEW'; +$path_to_root = "../.."; include($path_to_root . "/purchasing/includes/po_class.inc"); include($path_to_root . "/includes/session.inc"); @@ -62,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); @@ -100,7 +108,7 @@ if (db_num_rows($grns_result) > 0) { alt_table_row_color($k); - label_cell(get_trans_view_str(25,$myrow["id"])); + label_cell(get_trans_view_str(ST_SUPPRECEIVE,$myrow["id"])); label_cell($myrow["reference"]); label_cell(sql2date($myrow["delivery_date"])); end_row();