die ("<br>" . _("This page must be called with a purchase order number to review."));
}
+if (!empty($SysPrefs->prefs['company_logo_on_views']))
+ company_logo_on_view();
+
display_heading(_("Purchase Order") . " #" . $_GET['trans_no']);
$purchase_order = new purch_order;
table_header($th);
$total = $k = 0;
$overdue_items = false;
-
foreach ($purchase_order->line_items as $stock_item)
{
table_header($th);
while ($myrow = db_fetch($grns_result))
{
+ if (get_voided_entry(ST_SUPPRECEIVE, $myrow['id']))
+ continue;
alt_table_row_color($k);
label_cell(get_trans_view_str(ST_SUPPRECEIVE,$myrow["id"]));
table_header($th);
while ($myrow = db_fetch($invoice_result))
{
+ if (get_voided_entry($myrow["type"],$myrow["trans_no"]))
+ continue;
alt_table_row_color($k);
label_cell(get_trans_view_str($myrow["type"],$myrow["trans_no"]));