fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13887]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13887]
Date: Sat, 12 Sep 2015 00:08:12 +0000

Revision: 13887
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13887
Author:   nelson224
Date:     2015-09-12 00:08:12 +0000 (Sat, 12 Sep 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/rental/inc/class.uicomposite.inc.php

Modified: branches/dev-syncromind/rental/inc/class.uicomposite.inc.php
===================================================================
--- branches/dev-syncromind/rental/inc/class.uicomposite.inc.php        
2015-09-12 00:07:44 UTC (rev 13886)
+++ branches/dev-syncromind/rental/inc/class.uicomposite.inc.php        
2015-09-12 00:08:12 UTC (rev 13887)
@@ -837,6 +837,22 @@
                                                'parameters'    => 
json_encode(array('parameter'=>array(array('name'=>'id', 'source'=>'id'))))
                                        );
                                
+                               $tabletools3[] = array
+                                       (                       
+                                               'my_name'               => 
'download_contracts',
+                                               'text'                  => 
lang('download'),
+                                               'type'                  => 
'custom',
+                                               'custom_code'   => "
+                                                       var oArgs = 
".json_encode(array(
+                                                                       
'menuaction'            => 'rental.uicontract.download', 
+                                                                       
'composite_id'          => $composite_id,
+                                                                       'type'  
                        => 'contracts_for_composite',
+                                                                       
'export'                        => true
+                                                               )).";
+                                                       
downloadContracts(oArgs);
+                                               "
+                                       );
+                       
                                $datatable_def[] = array
                                (
                                        'container'             => 
'datatable-container_2',
@@ -865,7 +881,7 @@
                                        'menuaction'    => 
'rental.uicomposite.index'
                                );
                
-                       $GLOBALS['phpgw']->jqcal->add_listener('date_status');
+                       $GLOBALS['phpgw']->jqcal->add_listener('status_date');
 
                        /*$config       = 
CreateObject('phpgwapi.config','rental');
                        $config->read();*/




reply via email to

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