fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11674] property: budget handling


From: Sigurd Nes
Subject: [Fmsystem-commits] [11674] property: budget handling
Date: Tue, 11 Feb 2014 18:52:12 +0000

Revision: 11674
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11674
Author:   sigurdne
Date:     2014-02-11 18:52:12 +0000 (Tue, 11 Feb 2014)
Log Message:
-----------
property: budget handling

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

Modified: trunk/property/inc/class.soworkorder.inc.php
===================================================================
--- trunk/property/inc/class.soworkorder.inc.php        2014-02-11 18:32:26 UTC 
(rev 11673)
+++ trunk/property/inc/class.soworkorder.inc.php        2014-02-11 18:52:12 UTC 
(rev 11674)
@@ -1885,6 +1885,9 @@
                                                        $_current_month = 
date('n'); // Numeric representation of a month, without leading zeros 1 
through 12
                                                }
 
+                                               $_sum_year_combined_cost = 
$sum_year_combined_cost[$_budget['year']];
+
+/*
                                                $_sum_year_combined_cost = 
$sum_year_combined_cost[$_budget['year']] - $_actual_cost;
 
                                                
if($sum_year_combined_cost[$_budget['year']] > 0 )
@@ -1895,7 +1898,7 @@
                                                {
                                                        
$_sum_year_combined_cost = $_sum_year_combined_cost > 0 ? 0 : 
$_sum_year_combined_cost;
                                                }
-
+*/
                                                $distribution_key = 1/(13 - 
$_current_month);
 
                                                for ($i = $_current_month; 
$i<13; $i++)




reply via email to

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