fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12800] modifying request class


From: Alejandro
Subject: [Fmsystem-commits] [12800] modifying request class
Date: Thu, 26 Feb 2015 08:10:44 +0000

Revision: 12800
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12800
Author:   nudrick
Date:     2015-02-26 08:10:43 +0000 (Thu, 26 Feb 2015)
Log Message:
-----------
modifying request class

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uirequest.inc.php

Modified: branches/dev-syncromind/property/inc/class.uirequest.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-02-26 08:10:10 UTC (rev 12799)
+++ branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-02-26 08:10:43 UTC (rev 12800)
@@ -2220,7 +2220,8 @@
                                'origin_id'                     => $id
                        );
 
-
+                       $conditions = "";
+                       
                        $data = array
                                (
                                        'datatable_def'                         
                => $datatable_def,
@@ -2360,12 +2361,13 @@
                                        'building_part_list'                    
        => array('options' => 
$this->bocommon->select_category_list(array('type'=> 'building_part','selected' 
=>$values['building_part'], 'order' => 'id', 'id_in_name' => 'num', 'filter' => 
$_filter_buildingpart))),
                                        'value_consume'                         
                => isset($receipt['error']) ? $values['consume_value'] : '',
                                        'value_multiplier'                      
                => $values['multiplier'],
-                                       'value_total_cost_estimate'             
        => $values['multiplier'] ? number_format(($values['budget'] * 
$values['multiplier']) , 0, ',', ' ') : ''
+                                       'value_total_cost_estimate'             
        => $values['multiplier'] ? number_format(($values['budget'] * 
$values['multiplier']) , 0, ',', ' ') : '',
+                                       'validator'                             
                        => 
phpgwapi_jquery::formvalidator_generate(array('location', 'date', 'security', 
'file')) 
                                );
                        $appname        = lang('request');
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('property') . ' - ' . $appname . ': ' . $function_msg;
-
+                       
                        self::add_javascript('property', 'portico', 
'request.edit.js');
                        self::render_template_xsl(array('request', 
'datatable_inline', 'files','attributes_form'), array('edit' => $data));
                }




reply via email to

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