X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_grn.php;h=b47881996db4706b041ab4ea6e6afcd64e5f109c;hb=131fcadb832694065ea08b857cfe758cd131494f;hp=9a8cbc7fb6b5233c822103ecf62083398a8fcb4b;hpb=9b852b19c91b5af6400cf94a9ff65d37d1a730b4;p=fa-stable.git diff --git a/purchasing/view/view_grn.php b/purchasing/view/view_grn.php index 9a8cbc7f..b4788199 100644 --- a/purchasing/view/view_grn.php +++ b/purchasing/view/view_grn.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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"); @@ -58,7 +58,7 @@ foreach ($purchase_order->line_items as $stock_item) $dec = get_qty_dec($stock_item->stock_id); qty_cell($stock_item->qty_received, false, $dec); label_cell($stock_item->units); - amount_cell($stock_item->price); + amount_decimal_cell($stock_item->price); amount_cell($line_total); qty_cell($stock_item->qty_inv, false, $dec); end_row();