1 (edited by tester1 02/06/2014 06:31:54 am)

Topic: Different Color Codes for Overdue Orders

Hi ,

Under 

manufacturing/search_work_orders.php

, Can we have multiple Color Ordering for Overdue Orders , By type or by Location as PER  required Date 

I have seen its PHP file :

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

Where check_overdue is a function , i have try writing if ..elseif .. if   condition in it but its taking Only ONE ROW ( that  FIRST IF condition as over marked color .

Kindly let me know what can be solution for it.

Re: Different Color Codes for Overdue Orders

send me code function file, i will change it.
email me=farhajuddin@hotmail.com
skype=farhaj2

Re: Different Color Codes for Overdue Orders

Hi Farhaj,

Thanks for reply , but luck i found the solution :

What i did is :

Under includes/ui/db_pager_view.inc

foreach($pager->data as $line_no => $row) {    

        $marker = $pager->marker;
        if ($marker && $marker($row)) 
                    
                if($row["statusid"] == A){
                start_row("class='overduebgA'");    
                }elseif($row["statusid"] == B){
                start_row("class='overduebgB'");         
                }elseif($row["statusid"] == C){
            start_row("class='overduebgC'");
                }elseif($row["statusid"] == D){
            start_row("class='overduebgD'");
                }elseif($row["statusid"] == E){
            start_row("class='overduebgE'");
                }else {
                  start_row("class='$pager->marker_class'");
                }

Note : row[statusid]    because its my Personal Page : ,

Also i let you know that i have made many such page which may or may not help FA .. will try to share all such page once i am done with my work .

Re: Different Color Codes for Overdue Orders

BTW which farhaj2 : 3 person listed

Re: Different Color Codes for Overdue Orders

hmm Good.

Re: Different Color Codes for Overdue Orders

thanks Farhaj , if i get time will try to make it as per function ext.