fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11565] property: clean up


From: Sigurd Nes
Subject: [Fmsystem-commits] [11565] property: clean up
Date: Mon, 23 Dec 2013 12:48:26 +0000

Revision: 11565
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11565
Author:   sigurdne
Date:     2013-12-23 12:48:26 +0000 (Mon, 23 Dec 2013)
Log Message:
-----------
property: clean up

Modified Paths:
--------------
    trunk/property/inc/class.uiworkorder.inc.php
    trunk/property/templates/base/workorder.xsl

Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php        2013-12-23 12:47:59 UTC 
(rev 11564)
+++ trunk/property/inc/class.uiworkorder.inc.php        2013-12-23 12:48:26 UTC 
(rev 11565)
@@ -1582,7 +1582,6 @@
 
                        $sum_estimated_cost             = 
number_format($sum_estimated_cost, 2, ',', '');
                        $values['calculation']  = 
number_format($values['calculation'], 2, ',', '');
-                       $values['actual_cost']  = 
number_format($values['actual_cost'], 2, ',', '');
 
                        $link_data = array
                        (
@@ -1935,8 +1934,6 @@
 
 //---------
 
-
-
                        $link_claim = '';
                        
if(isset($values['charge_tenant'])?$values['charge_tenant']:'')
                        {
@@ -1951,18 +1948,6 @@
                                }
                        }
 
-/*
-                       if(isset($project['cat_id']) && $project['cat_id'])
-                       {
-                               $catetory = 
$this->cats->return_single($project['cat_id']);
-                               $cat_sub = 
$this->cats->return_sorted_array($start = 0,$limit = false,$query = '',$sort = 
'',$order = '',$globals = False, $parent_id = $project['cat_id']);
-                               $cat_sub = array_merge($catetory,$cat_sub);
-                       }
-                       else
-                       {
-                               $cat_sub = 
$this->cats->return_sorted_array($start = 0,$limit = false,$query = '',$sort = 
'',$order = '',$globals = False, false);
-                       }
-*/
                        $cat_sub = $this->cats->return_sorted_array($start = 
0,$limit = false,$query = '',$sort = '',$order = '',$globals = False, false);
 
 
@@ -2082,8 +2067,6 @@
 
                                'value_contract_sum'                            
        => isset($receipt['error']) && $receipt['error'] ? 
$_POST['values']['contract_sum'] : '',
 
-                               'actual_cost'                                   
                => (isset($values['actual_cost'])?$values['actual_cost']:''),
-                               'lang_actual_cost'                              
                => lang('Actual cost'),
                                'ecodimb_data'                                  
                => $ecodimb_data,
                                'vendor_data'                                   
                => $vendor_data,
                                'location_data'                                 
                => $location_data,
@@ -2120,11 +2103,6 @@
 
                                'lang_done_statustext'                          
        => lang('Back to the list'),
                                'lang_save_statustext'                          
        => lang('Save the workorder'),
-                               //      'lang_no_cat'                           
                        => lang('Select category'),
-                               //      'lang_cat_statustext'                   
                => lang('Select the category the project belongs to. To do not 
use a category select NO CATEGORY'),
-                               //      'select_name'                           
                        => 'values[cat_id]',
-                               //      'value_cat_id'                          
                        => (isset($values['cat_id'])?$values['cat_id']:''),
-                               //      'cat_list'                              
                                => $categories['cat_list'],
 
                                'lang_cat_sub'                                  
                => lang('category'),
                                'cat_sub_list'                                  
                => $this->bocommon->select_list($values['cat_id'] ? 
$values['cat_id']: $project['cat_id'], $cat_sub),

Modified: trunk/property/templates/base/workorder.xsl
===================================================================
--- trunk/property/templates/base/workorder.xsl 2013-12-23 12:47:59 UTC (rev 
11564)
+++ trunk/property/templates/base/workorder.xsl 2013-12-23 12:48:26 UTC (rev 
11565)
@@ -715,15 +715,7 @@
                                                                </td>
                                                        </tr>
                                                        <tr>
-                                                               <td 
valign="top">
-                                                                       
<xsl:value-of select="lang_actual_cost"/>
-                                                               </td>
                                                                <td>
-                                                                       
<xsl:value-of select="actual_cost"/><xsl:text> </xsl:text> [ <xsl:value-of 
select="currency"/> ]
-                                                               </td>
-                                                       </tr>
-                                                       <tr>
-                                                               <td>
                                                                        
<xsl:value-of select="php:function('lang', 'billable hours')"/>
                                                                </td>
                                                                <td>




reply via email to

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