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...
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → FA Modifications → 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...
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.
FrontAccounting forum → FA Modifications → before overdue sales order
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.