X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_po.php;h=e84e4e33139039424ee3820a42c2d8164779d418;hb=9481e23e6d03f39f7d9e745f86bd1be5f703b96d;hp=ef54291f26ff4839e8654a151ff89f26baba8e23;hpb=a482c8ff040347dc7eb5a4962f23347053983f79;p=fa-stable.git diff --git a/purchasing/view/view_po.php b/purchasing/view/view_po.php index ef54291f..e84e4e33 100644 --- a/purchasing/view/view_po.php +++ b/purchasing/view/view_po.php @@ -17,7 +17,7 @@ include($path_to_root . "/includes/session.inc"); include($path_to_root . "/purchasing/includes/purchasing_ui.inc"); $js = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(900, 500); page(_($help_context = "View Purchase Order"), true, false, "", $js); @@ -35,12 +35,12 @@ read_po($_GET['trans_no'], $purchase_order); echo "
"; display_po_summary($purchase_order, true); -start_table(TABLESTYLE, "width=90%", 6); +start_table(TABLESTYLE, "width='90%'", 6); echo ""; // outer table display_heading2(_("Line Details")); -start_table(TABLESTYLE, "colspan=9 width=100%"); +start_table(TABLESTYLE, "width='100%'"); $th = array(_("Item Code"), _("Item Description"), _("Quantity"), _("Unit"), _("Price"), _("Requested By"), _("Line Total"), _("Quantity Received"), _("Quantity Invoiced")); @@ -155,8 +155,9 @@ echo ""; end_table(1); // outer table +display_allocations_to(PT_SUPPLIER, $purchase_order->supplier_id, ST_PURCHORDER, $purchase_order->order_no, $total + $tax_total); + //---------------------------------------------------------------------------------------------------- end_page(true, false, false, ST_PURCHORDER, $_GET['trans_no']); -?>