fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16364]


From: nelson . guerra
Subject: [Fmsystem-commits] [16364]
Date: Tue, 21 Feb 2017 14:15:47 -0500 (EST)

Revision: 16364
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16364
Author:   nelson224
Date:     2017-02-21 14:15:46 -0500 (Tue, 21 Feb 2017)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/inc/class.uitts.inc.php

Modified: branches/dev-syncromind-2/property/inc/class.uitts.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uitts.inc.php  2017-02-21 
14:56:56 UTC (rev 16363)
+++ branches/dev-syncromind-2/property/inc/class.uitts.inc.php  2017-02-21 
19:15:46 UTC (rev 16364)
@@ -1191,9 +1191,10 @@
 
                        
$GLOBALS['phpgw']->jqcal->add_listener('filter_start_date');
                        
$GLOBALS['phpgw']->jqcal->add_listener('filter_end_date');
+                       phpgwapi_jquery::load_widget('chart');
                                
-                       $start_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0, 0, 0, date("m"), '01', 
date("Y")), 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
-                       $end_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0, 0, 0, date("m"), date("d"), 
date("Y")), 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
+                       $start_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0, 0, 0, date("m"), '01', 
date("Y")), $this->dateFormat);
+                       $end_date = 
$GLOBALS['phpgw']->common->show_date(mktime(0, 0, 0, date("m"), date("d"), 
date("Y")), $this->dateFormat);
                        
                        $tabs = array();
                        $tabs['report'] = array('label' => lang('report'), 
'link' => '#report');
@@ -1262,6 +1263,10 @@
                                $_status = array();
                                foreach ($list_status as $_item)
                                {
+                                       if ($_item['id'] == 'all' || 
$_item['id'] == 'X')
+                                       {
+                                               continue;
+                                       }
                                        $color = 
'#'.$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)];
                                        $_status[$_item['id']] = 
array('label'=>$_item['name'], 'count' => 0, 
                                                'backgroundColor' => $color, 
'hoverBackgroundColor' => $color);                                 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]