fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10887] Property: budget handling


From: Sigurd Nes
Subject: [Fmsystem-commits] [10887] Property: budget handling
Date: Sun, 17 Feb 2013 12:50:21 +0000

Revision: 10887
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10887
Author:   sigurdne
Date:     2013-02-17 12:50:21 +0000 (Sun, 17 Feb 2013)
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        2013-02-17 12:35:59 UTC 
(rev 10886)
+++ trunk/property/inc/class.soworkorder.inc.php        2013-02-17 12:50:21 UTC 
(rev 10887)
@@ -2260,13 +2260,13 @@
                                $paid_last_year = $this->db->f('paid');
                                
                                $subtract = $last_budget - $paid_last_year;
-//_debug_array($subtract);die();
-                               $transferred = $this->_update_order_budget($id, 
$latest_year, $periodization_id, $subtract, $subtract, $subtract, $action = 
'subtract');
+       //                      $transferred = $this->_update_order_budget($id, 
$latest_year, $periodization_id, $subtract, $subtract, $subtract, $action = 
'subtract');
+                               $transferred = $this->_update_order_budget($id, 
$latest_year, $periodization_id, $paid_last_year, $paid_last_year, 
$paid_last_year, $action = 'update', true);
 
                                $new_budget = $last_budget - $paid_last_year;
                                $this->_update_order_budget($id, $year, 
$periodization_id, $new_budget, $new_budget, $new_budget, $action = 'update', 
true);
                        }
-
+//die();
                        $this->db->transaction_commit();
                }
 




reply via email to

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