X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_po.php;h=052103deeff636c073bf4161085a329996ee85aa;hb=2cb57633d2f3e27b0c2b2e7448564f467e21e1fd;hp=fa527cf4d43fed2d5ce725bf88f72acbde460417;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/purchasing/view/view_po.php b/purchasing/view/view_po.php index fa527cf4..052103de 100644 --- a/purchasing/view/view_po.php +++ b/purchasing/view/view_po.php @@ -1,16 +1,16 @@ . + See the License here . ***********************************************************************/ -$page_security = 2; -$path_to_root="../.."; +$page_security = 'SA_SUPPTRANSVIEW'; +$path_to_root = "../.."; include($path_to_root . "/purchasing/includes/po_class.inc"); include($path_to_root . "/includes/session.inc"); @@ -70,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); @@ -108,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();