fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [6506] Property: add jasper to tenant claim


From: Sigurd Nes
Subject: [Fmsystem-commits] [6506] Property: add jasper to tenant claim
Date: Thu, 21 Oct 2010 12:30:55 +0000

Revision: 6506
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6506
Author:   sigurdne
Date:     2010-10-21 12:30:54 +0000 (Thu, 21 Oct 2010)
Log Message:
-----------
Property: add jasper to tenant claim

Modified Paths:
--------------
    trunk/property/inc/class.uitenant_claim.inc.php

Modified: trunk/property/inc/class.uitenant_claim.inc.php
===================================================================
--- trunk/property/inc/class.uitenant_claim.inc.php     2010-10-21 08:00:59 UTC 
(rev 6505)
+++ trunk/property/inc/class.uitenant_claim.inc.php     2010-10-21 12:30:54 UTC 
(rev 6506)
@@ -361,6 +361,23 @@
                                );
                        }
 
+                       $jasper = execMethod('property.sojasper.read', 
array('location_id' => $GLOBALS['phpgw']->locations->get_id('property', 
$this->acl_location)));
+
+                       foreach ($jasper as $report)
+                       {
+                               $datatable['rowactions']['action'][] = array(
+                                               'my_name'               => 
'edit',
+                                               'text'                  => 
lang('open JasperReport %1 in new window', $report['title']),
+                                               'action'                => 
$GLOBALS['phpgw']->link('/index.php',array
+                                                                               
                                (
+                                                                               
                                                'menuaction'    => 
'property.uijasper.view',
+                                                                               
                                                'jasper_id'                     
=> $report['id'],
+                                                                               
                                                'target'                => 
'_blank'
+                                                                               
                                )),
+                                               'parameters'                    
=> $parameters
+                               );
+                       }
+
                        if ($this->acl_delete)
                        {
                                $datatable['rowactions']['action'][] = array




reply via email to

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