fmsystem-commits
[Top][All Lists]
Advanced

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

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


From: Sigurd Nes
Subject: [Fmsystem-commits] [10734] property: budget handling
Date: Wed, 30 Jan 2013 13:23:54 +0000

Revision: 10734
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10734
Author:   sigurdne
Date:     2013-01-30 13:23:52 +0000 (Wed, 30 Jan 2013)
Log Message:
-----------
property: budget handling

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

Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php        2013-01-30 07:43:13 UTC 
(rev 10733)
+++ trunk/property/inc/class.uiworkorder.inc.php        2013-01-30 13:23:52 UTC 
(rev 10734)
@@ -1055,7 +1055,7 @@
                                        
$receipt['error'][]=array('msg'=>lang('budget') . ': ' . lang('Please enter an 
integer !'));
                                }
 
-                               if(!$values['contract_sum'] && 
!$values['budget'])
+                               if(!$id && (!$values['contract_sum'] && 
!$values['budget']))
                                {
                                        
$receipt['error'][]=array('msg'=>lang('please enter either a budget or contrakt 
sum'));
                                }




reply via email to

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