X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fview%2Fview_po.php;h=be8826440cf41ee4f5109c31933861e6a494f8de;hb=efa2530a7c385a329c3fc76f4560b28ba97c3efe;hp=6463f55d18c5d0acd67cf5bba44b2b68dae0d60d;hpb=fc24ee893402902fc58632dabb5d7c2594e191d0;p=fa-stable.git diff --git a/purchasing/view/view_po.php b/purchasing/view/view_po.php index 6463f55d..be882644 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); @@ -123,7 +123,7 @@ if (db_num_rows($grns_result) > 0) label_cell(sql2date($myrow["delivery_date"])); end_row(); } - end_table();; + end_table(); } $invoice_result = get_po_invoices_credits($_GET['trans_no']); @@ -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']); -?>