[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15516] property: calculation of funding
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15516] property: calculation of funding |
Date: |
Fri, 26 Aug 2016 13:01:18 +0000 (UTC) |
Revision: 15516
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15516
Author: sigurdne
Date: 2016-08-26 13:01:17 +0000 (Fri, 26 Aug 2016)
Log Message:
-----------
property: calculation of funding
Modified Paths:
--------------
trunk/property/inc/class.soworkorder.inc.php
Modified: trunk/property/inc/class.soworkorder.inc.php
===================================================================
--- trunk/property/inc/class.soworkorder.inc.php 2016-08-26 13:00:37 UTC
(rev 15515)
+++ trunk/property/inc/class.soworkorder.inc.php 2016-08-26 13:01:17 UTC
(rev 15516)
@@ -2424,7 +2424,7 @@
$budget_acc = 0;
}
- if (abs($entry['actual_cost']) > 0)
+ if (abs($entry['actual_cost']) > 0 ||
$entry['period'] < date('Ym'))
{
$_diff_start = abs($entry['budget']) >
0 ? $entry['budget'] : $entry['sum_orders'];
$entry['diff'] = $_diff_start -
$entry['sum_oblications'] - $entry['actual_cost'];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15516] property: calculation of funding,
sigurdne <=