[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16474] property: budget
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16474] property: budget |
Date: |
Fri, 24 Mar 2017 04:22:20 -0400 (EDT) |
Revision: 16474
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16474
Author: sigurdne
Date: 2017-03-24 04:22:19 -0400 (Fri, 24 Mar 2017)
Log Message:
-----------
property: budget
Modified Paths:
--------------
trunk/property/inc/class.uiworkorder.inc.php
Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php 2017-03-23 18:26:57 UTC
(rev 16473)
+++ trunk/property/inc/class.uiworkorder.inc.php 2017-03-24 08:22:19 UTC
(rev 16474)
@@ -764,6 +764,11 @@
'msg' => lang('please enter either a
budget or contrakt sum'));
}
+ if (((int)$values['contract_sum'] &&
(int)$values['budget']) && (abs($values['contract_sum']) >
abs($values['budget'])))
+ {
+ $values['budget'] = $values['contract_sum'];
+ }
+
if (isset($values['addition_rs']) &&
$values['addition_rs'] && !ctype_digit(ltrim($values['addition_rs'], '-')))
{
$this->receipt['error'][] = array(
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16474] property: budget,
sigurdne <=