fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16422]


From: nelson . guerra
Subject: [Fmsystem-commits] [16422]
Date: Fri, 10 Mar 2017 23:40:13 -0500 (EST)

Revision: 16422
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16422
Author:   nelson224
Date:     2017-03-10 23:40:13 -0500 (Fri, 10 Mar 2017)
Log Message:
-----------


Added Paths:
-----------
    branches/dev-syncromind-2/property/inc/class.uireport.inc.php

Copied: branches/dev-syncromind-2/property/inc/class.uireport.inc.php (from rev 
16421, branches/dev-syncromind-2/property/inc/class.uiimport_components.inc.php)
===================================================================
--- branches/dev-syncromind-2/property/inc/class.uireport.inc.php               
                (rev 0)
+++ branches/dev-syncromind-2/property/inc/class.uireport.inc.php       
2017-03-11 04:40:13 UTC (rev 16422)
@@ -0,0 +1,82 @@
+<?php
+       /**
+        * phpGroupWare - property: a part of a Facilities Management System.
+        *
+        * @author Sigurd Nes <address@hidden>
+        * @copyright Copyright (C) 2012 Free Software Foundation, Inc. 
http://www.fsf.org/
+        * This file is part of phpGroupWare.
+        *
+        * phpGroupWare is free software; you can redistribute it and/or modify
+        * it under the terms of the GNU General Public License as published by
+        * the Free Software Foundation; either version 2 of the License, or
+        * (at your option) any later version.
+        *
+        * phpGroupWare is distributed in the hope that it will be useful,
+        * but WITHOUT ANY WARRANTY; without even the implied warranty of
+        * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+        * GNU General Public License for more details.
+        *
+        * You should have received a copy of the GNU General Public License
+        * along with phpGroupWare; if not, write to the Free Software
+        * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  
02110-1301  USA
+        *
+        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
+        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/
+        * @package property
+        * @subpackage logistic
+        * @version $Id: class.uireport.inc.php 14913 2017-03-10 12:27:37Z 
sigurdne $
+        */
+       phpgw::import_class('phpgwapi.uicommon_jquery');
+       phpgw::import_class('phpgwapi.jquery');
+
+       class property_uireport extends phpgwapi_uicommon_jquery
+       {
+               private $receipt = array();
+
+               public $public_functions = array(
+                       'query' => true,
+                       'index' => true,
+                       'download' => true
+               );
+
+               public function __construct()
+               {
+                       parent::__construct();
+               }
+
+               public function download()
+               {
+                       return;
+               }
+
+               /**
+                * Prepare UI
+                * @return void
+                */
+               public function index()
+               {
+                       $tabs = array();
+                       $tabs['report'] = array('label' => lang('Report'), 
'link' => '#report');
+
+                       $active_tab = 'report';
+
+                       $data = array
+                               (
+                               'datatable_def' => array(),
+                               'tabs' => 
phpgwapi_jquery::tabview_generate($tabs, $active_tab)
+                       );
+
+                       $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('property') . '::' . lang('Report');
+
+                       self::render_template_xsl(array('report'), $data);
+               }
+
+               /**
+                * Fetch data from $this->bo based on parametres
+                * @return array
+                */
+               public function query()
+               {
+                       return;
+               }
+       }
\ No newline at end of file




reply via email to

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