This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
global $app_strings;
$dashletMeta['ev_OrdersDashlet'] = array(
'module' => 'ev_Orders',
'title' => translate('LBL_HOMEPAGE_TITLE', 'ev_Orders'),
'description' => 'A customizable view into ev_Orders',
'category' => 'Module Views'
);

View File

@@ -0,0 +1,27 @@
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
require_once('include/Dashlets/DashletGeneric.php');
require_once('modules/ev_Orders/ev_Orders.php');
class ev_OrdersDashlet extends DashletGeneric {
function __construct($id, $def = null)
{
global $current_user, $app_strings;
require('modules/ev_Orders/metadata/dashletviewdefs.php');
parent::__construct($id, $def);
if (empty($def['title'])) {
$this->title = translate('LBL_HOMEPAGE_TITLE', 'ev_Orders');
}
$this->searchFields = $dashletData['ev_OrdersDashlet']['searchFields'];
$this->columns = $dashletData['ev_OrdersDashlet']['columns'];
$this->seedBean = BeanFactory::newBean('ev_Orders');
}
}