fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10703] property: budget handling - disable listing f


From: Sigurd Nes
Subject: [Fmsystem-commits] [10703] property: budget handling - disable listing for now at project and order list
Date: Tue, 22 Jan 2013 10:14:43 +0000

Revision: 10703
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10703
Author:   sigurdne
Date:     2013-01-22 10:14:42 +0000 (Tue, 22 Jan 2013)
Log Message:
-----------
property: budget handling - disable listing for now at project and order list

Modified Paths:
--------------
    trunk/property/inc/class.soproject.inc.php
    trunk/property/inc/class.soworkorder.inc.php

Modified: trunk/property/inc/class.soproject.inc.php
===================================================================
--- trunk/property/inc/class.soproject.inc.php  2013-01-22 09:32:25 UTC (rev 
10702)
+++ trunk/property/inc/class.soproject.inc.php  2013-01-22 10:14:42 UTC (rev 
10703)
@@ -710,6 +710,10 @@
 
 */
 
+                                       $_get_accounting = false;
+                                       if($_get_accounting)
+                                       {
+
                                        $get_spesific = false;
                                        if ($filter_year && $filter_year != 
'all')
                                        {
@@ -827,6 +831,7 @@
                                        $project['combined_cost']       = 
$project['obligation'];
                                        $project['diff'] =  $project['budget'] 
- $project['combined_cost'] - $project['actual_cost'];
                                }
+                               }
 
                                unset($project);
 

Modified: trunk/property/inc/class.soworkorder.inc.php
===================================================================
--- trunk/property/inc/class.soworkorder.inc.php        2013-01-22 09:32:25 UTC 
(rev 10702)
+++ trunk/property/inc/class.soworkorder.inc.php        2013-01-22 10:14:42 UTC 
(rev 10703)
@@ -776,6 +776,10 @@
                                . ' WHERE fm_workorder.id IN (' . implode(',', 
$_order_list ) .')'
                                . " GROUP BY fm_workorder.id,closed, 
fm_location1.mva";
 
+
+                               $_get_accounting = false;
+                               if($_get_accounting)
+                               {
                                $this->db->query($sql_cost,__LINE__,__FILE__);
                                while ($this->db->next_record())
                                {
@@ -795,6 +799,7 @@
                                }
 
                                unset($_order_list);
+                               }
 
 
                        }




reply via email to

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