fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6761] property: new criteria at search


From: Sigurd Nes
Subject: [Fmsystem-commits] [6761] property: new criteria at search
Date: Thu, 13 Jan 2011 13:02:07 +0000

Revision: 6761
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6761
Author:   sigurdne
Date:     2011-01-13 13:02:07 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
property: new criteria at search

Modified Paths:
--------------
    trunk/property/inc/class.boproject.inc.php
    trunk/property/inc/class.boworkorder.inc.php

Modified: trunk/property/inc/class.boproject.inc.php
===================================================================
--- trunk/property/inc/class.boproject.inc.php  2011-01-13 12:51:39 UTC (rev 
6760)
+++ trunk/property/inc/class.boproject.inc.php  2011-01-13 13:02:07 UTC (rev 
6761)
@@ -266,8 +266,14 @@
                                        (
                                                'id'    => '7',
                                                'name'  => lang('accounting dim 
b')
+                                       ),
+                                       array
+                                       (
+                                               'id'    => '8',
+                                               'name'  => lang('budget account 
group')
                                        )
                                );
+
                        return 
$this->bocommon->select_list($selected,$criteria);
                }
 
@@ -331,6 +337,14 @@
                                        'front' => '',
                                        'back' => ''
                                );
+                       $criteria[8] = array
+                               (
+                                       'field' => 'fm_project.account_group',
+                                       'type'  => 'int',
+                                       'matchtype' => 'exact',
+                                       'front' => '',
+                                       'back' => ''
+                               );
 
                        if($id)
                        {

Modified: trunk/property/inc/class.boworkorder.inc.php
===================================================================
--- trunk/property/inc/class.boworkorder.inc.php        2011-01-13 12:51:39 UTC 
(rev 6760)
+++ trunk/property/inc/class.boworkorder.inc.php        2011-01-13 13:02:07 UTC 
(rev 6761)
@@ -323,6 +323,11 @@
                                        (
                                                'id'    => '9',
                                                'name'  => lang('accounting dim 
b')
+                                       ),
+                                       array
+                                       (
+                                               'id'    => '10',
+                                               'name'  => lang('budget account 
group')
                                        )
                                );
                        return 
$this->bocommon->select_list($selected,$criteria);
@@ -404,6 +409,14 @@
                                        'front' => '',
                                        'back' => ''
                                );
+                       $criteria[10] = array
+                               (
+                                       'field' => 'fm_project.account_group',
+                                       'type'  => 'int',
+                                       'matchtype' => 'exact',
+                                       'front' => '',
+                                       'back' => ''
+                               );
 
                        if($id)
                        {




reply via email to

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