fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12080] Added fix on furnished status


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [12080] Added fix on furnished status
Date: Mon, 08 Sep 2014 07:03:33 +0000

Revision: 12080
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12080
Author:   erikhl
Date:     2014-09-08 07:03:33 +0000 (Mon, 08 Sep 2014)
Log Message:
-----------
Added fix on furnished status

Modified Paths:
--------------
    trunk/rental/templates/base/composite_list_partial.php

Modified: trunk/rental/templates/base/composite_list_partial.php
===================================================================
--- trunk/rental/templates/base/composite_list_partial.php      2014-09-08 
07:03:00 UTC (rev 12079)
+++ trunk/rental/templates/base/composite_list_partial.php      2014-09-08 
07:03:33 UTC (rev 12080)
@@ -122,10 +122,15 @@
     function composite_export(compType) {
         var availabilityselect = document.getElementById('<?php echo $list_id 
?>_ctrl_toggle_active_rental_composites');
         var availabilityoption = 
availabilityselect.options[availabilityselect.selectedIndex].value;
-
+<?php
+       if(isset($config->config_data['contract_future_info']) && 
$config->config_data['contract_future_info'])
+       {
+?>
         var furnished_select = document.getElementById('<?php echo $list_id 
?>_ctrl_toggle_furnished_status_rental_composites');
         var furnished_status_id = 
furnished_select.options[furnished_select.selectedIndex].value;
-
+<?php
+       }
+?>
         var query = document.getElementById('<?php echo $list_id 
?>_ctrl_search_query').value;
 
         var sSelect = document.getElementById('<?php echo $list_id 
?>_ctrl_search_option');




reply via email to

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