Topic: before overdue sales order

Is there an easy hack to implement a warning color (perhaps yellow) for sales orders about to be overdue.
The red color is great, but how about 2-3 days before to get a yellow mark...

Re: before overdue sales order

Check out the function check_overdue() in the file sales/inquiry/sales_orders_view.php and how it is called at nearly the end of the file:

$table->set_marker('check_overdue', _("Marked items are overdue."));

You might want another function in similar vein, say, called function check_nearly_overdue() and implement a call similar to it near the end of the file. It might mean making another method for the table object's class for a different colour.