fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15248]


From: nelson . guerra
Subject: [Fmsystem-commits] [15248]
Date: Thu, 2 Jun 2016 02:23:25 +0000 (UTC)

Revision: 15248
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15248
Author:   nelson224
Date:     2016-06-02 02:23:25 +0000 (Thu, 02 Jun 2016)
Log Message:
-----------


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

Modified: 
branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php     
2016-06-02 02:23:12 UTC (rev 15247)
+++ branches/dev-syncromind-2/property/inc/class.uigeneric_document.inc.php     
2016-06-02 02:23:25 UTC (rev 15248)
@@ -327,7 +327,7 @@
                                }
                                
                                $values[] = array(
-                                       'location_code' => 
$item['location_code'],
+                                       'location_code' => '<a 
href="'.self::link(array('menuaction' => 'property.uilocation.view', 
'location_code' => $item['location_code'])).'">'.$item['location_code'].'</a>',
                                        'loc1_name' => $item['loc1_name'],
                                        'relate' => '<input 
value="'.$item['id'].'" class="locations mychecks" type="checkbox" 
'.$checked.'>'
                                );                              
@@ -419,7 +419,8 @@
                                
                                $related_def = array
                                        (
-                                       array('key' => 'name', 'label' => 
lang('name'), 'sortable' => false, 'resizeable' => true),
+                                       array('key' => 'id', 'label' => 
lang('id'), 'sortable' => false, 'resizeable' => true),
+                                       array('key' => 'name', 'label' => 
lang('Benevnelse'), 'sortable' => false, 'resizeable' => true),
                                        array('key' => 'relate', 'label' => 
lang('related'), 'sortable' => false, 'resizeable' => true),
                                );
 
@@ -461,8 +462,8 @@
                                
                                $related_def2 = array
                                        (
-                                       array('key' => 'location_code', 'label' 
=> lang('name'), 'sortable' => false, 'resizeable' => true),
-                                       array('key' => 'loc1_name', 'label' => 
lang('eiendom name'), 'sortable' => false, 'resizeable' => true),
+                                       array('key' => 'location_code', 'label' 
=> lang('location'), 'sortable' => false, 'resizeable' => true),
+                                       array('key' => 'loc1_name', 'label' => 
lang('name'), 'sortable' => false, 'resizeable' => true),
                                        //array('key' => 'location_id', 'label' 
=> lang('location id'), 'sortable' => false, 'resizeable' => true, 'hidden' => 
true),
                                        array('key' => 'relate', 'label' => 
lang('related'), 'sortable' => false, 'resizeable' => true),
                                );
@@ -690,7 +691,7 @@
                 'location_id' => $location_id,
                 'filter_item' => array()
                 ));
-                       
+
                        if ($file_id)
                        {
                                $relation_values = 
$this->bo->get_file_relations($location_id, $file_id);
@@ -715,6 +716,7 @@
                                }
                                
                                $values[] = array(
+                                       'id' => '<a 
href="'.self::link(array('menuaction' => 'property.uientity.view', 
'location_id' => $location_id, 'id' => $item['id'])).'">'.$item['id'].'</a>',
                                        'name' => $item['benevnelse'],
                                        'relate' => '<input 
value="'.$item['id'].'" class="components mychecks" type="checkbox" 
'.$checked.'>',
                                );




reply via email to

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