[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15515] property: calculation of funding
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15515] property: calculation of funding |
Date: |
Fri, 26 Aug 2016 13:00:37 +0000 (UTC) |
Revision: 15515
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15515
Author: sigurdne
Date: 2016-08-26 13:00:37 +0000 (Fri, 26 Aug 2016)
Log Message:
-----------
property: calculation of funding
Modified Paths:
--------------
branches/Version-1_0-branch/property/inc/class.soworkorder.inc.php
Modified: branches/Version-1_0-branch/property/inc/class.soworkorder.inc.php
===================================================================
--- branches/Version-1_0-branch/property/inc/class.soworkorder.inc.php
2016-08-26 01:28:25 UTC (rev 15514)
+++ branches/Version-1_0-branch/property/inc/class.soworkorder.inc.php
2016-08-26 13:00:37 UTC (rev 15515)
@@ -2390,7 +2390,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] [15515] property: calculation of funding,
sigurdne <=