+ // if overdue and outstanding quantities, then highlight as so
+ if (date1_greater_date2($purchase_order->orig_order_date, $stock_item->req_del_date))
+ {
+ start_row("class='overduebg'");
+ $overdue_items = true;
+ }
+ else
+ {
+ alt_table_row_color($k);
+ }