mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-16 14:23:33 +00:00
Cleanup scheduled reports views.
This commit is contained in:
parent
3c044c5b71
commit
4eaaa68653
5 changed files with 389 additions and 427 deletions
modules/AOR_Scheduled_Reports/metadata
|
@ -1,87 +1,159 @@
|
|||
<?php
|
||||
/*
|
||||
* Created on Aug 2, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
|
||||
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
|
||||
* Copyright (C) 2011 - 2014 Salesagility Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
|
||||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
|
||||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$searchFields[$module_name] =
|
||||
array (
|
||||
'name' => array( 'query_type'=>'default'),
|
||||
'account_type'=> array('query_type'=>'default', 'options' => 'account_type_dom', 'template_var' => 'ACCOUNT_TYPE_OPTIONS'),
|
||||
'industry'=> array('query_type'=>'default', 'options' => 'industry_dom', 'template_var' => 'INDUSTRY_OPTIONS'),
|
||||
'annual_revenue'=> array('query_type'=>'default'),
|
||||
'address_street'=> array('query_type'=>'default','db_field'=>array('billing_address_street','shipping_address_street')),
|
||||
'address_city'=> array('query_type'=>'default','db_field'=>array('billing_address_city','shipping_address_city')),
|
||||
'address_state'=> array('query_type'=>'default','db_field'=>array('billing_address_state','shipping_address_state')),
|
||||
'address_postalcode'=> array('query_type'=>'default','db_field'=>array('billing_address_postalcode','shipping_address_postalcode')),
|
||||
'address_country'=> array('query_type'=>'default','db_field'=>array('billing_address_country','shipping_address_country')),
|
||||
'rating'=> array('query_type'=>'default'),
|
||||
'phone'=> array('query_type'=>'default','db_field'=>array('phone_office')),
|
||||
'email'=> array(
|
||||
'query_type' => 'default',
|
||||
'operator' => 'subquery',
|
||||
'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
|
||||
'db_field' => array(
|
||||
'id',
|
||||
),
|
||||
'vname' =>'LBL_ANY_EMAIL',
|
||||
),
|
||||
'website'=> array('query_type'=>'default'),
|
||||
'ownership'=> array('query_type'=>'default'),
|
||||
'employees'=> array('query_type'=>'default'),
|
||||
'ticker_symbol'=> array('query_type'=>'default'),
|
||||
'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
|
||||
'assigned_user_id'=> array('query_type'=>'default'),
|
||||
|
||||
//Range Search Support
|
||||
'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
//Range Search Support
|
||||
);
|
||||
?>
|
||||
// created: 2014-12-10 12:48:04
|
||||
$searchFields['AOR_Scheduled_Reports'] = array (
|
||||
'name' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'account_type' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'options' => 'account_type_dom',
|
||||
'template_var' => 'ACCOUNT_TYPE_OPTIONS',
|
||||
),
|
||||
'industry' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'options' => 'industry_dom',
|
||||
'template_var' => 'INDUSTRY_OPTIONS',
|
||||
),
|
||||
'annual_revenue' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'address_street' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'billing_address_street',
|
||||
1 => 'shipping_address_street',
|
||||
),
|
||||
),
|
||||
'address_city' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'billing_address_city',
|
||||
1 => 'shipping_address_city',
|
||||
),
|
||||
),
|
||||
'address_state' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'billing_address_state',
|
||||
1 => 'shipping_address_state',
|
||||
),
|
||||
),
|
||||
'address_postalcode' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'billing_address_postalcode',
|
||||
1 => 'shipping_address_postalcode',
|
||||
),
|
||||
),
|
||||
'address_country' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'billing_address_country',
|
||||
1 => 'shipping_address_country',
|
||||
),
|
||||
),
|
||||
'rating' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'phone' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'phone_office',
|
||||
),
|
||||
),
|
||||
'email' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'operator' => 'subquery',
|
||||
'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'id',
|
||||
),
|
||||
'vname' => 'LBL_ANY_EMAIL',
|
||||
),
|
||||
'website' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'ownership' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'employees' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'ticker_symbol' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'current_user_only' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'db_field' =>
|
||||
array (
|
||||
0 => 'assigned_user_id',
|
||||
),
|
||||
'my_items' => true,
|
||||
'vname' => 'LBL_CURRENT_USER_FILTER',
|
||||
'type' => 'bool',
|
||||
),
|
||||
'assigned_user_id' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
),
|
||||
'range_date_entered' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
'start_range_date_entered' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
'end_range_date_entered' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
'range_date_modified' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
'start_range_date_modified' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
'end_range_date_modified' =>
|
||||
array (
|
||||
'query_type' => 'default',
|
||||
'enable_range_search' => true,
|
||||
'is_date_field' => true,
|
||||
),
|
||||
);
|
|
@ -1,127 +1,39 @@
|
|||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
|
||||
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
|
||||
* Copyright (C) 2011 - 2014 Salesagility Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
|
||||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
|
||||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$OBJECT_NAME = 'AOR_SCHEDULED_REPORTS';
|
||||
$listViewDefs[$module_name] = array(
|
||||
'NAME' => array(
|
||||
'width' => '40',
|
||||
'label' => 'LBL_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true),
|
||||
'BILLING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_CITY',
|
||||
'default' => true
|
||||
),
|
||||
'PHONE_OFFICE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_PHONE',
|
||||
'default' => true),
|
||||
$OBJECT_NAME . '_TYPE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_TYPE'),
|
||||
'INDUSTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_INDUSTRY'),
|
||||
'ANNUAL_REVENUE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_ANNUAL_REVENUE'),
|
||||
'PHONE_FAX' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_PHONE_FAX'),
|
||||
'BILLING_ADDRESS_STREET' => array(
|
||||
'width' => '15',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STREET'),
|
||||
'BILLING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STATE'),
|
||||
'BILLING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_POSTALCODE'),
|
||||
'BILLING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_COUNTRY'),
|
||||
'SHIPPING_ADDRESS_STREET' => array(
|
||||
'width' => '15',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STREET'),
|
||||
'SHIPPING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_CITY'),
|
||||
'SHIPPING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STATE'),
|
||||
'SHIPPING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE'),
|
||||
'SHIPPING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_COUNTRY'),
|
||||
'PHONE_ALTERNATE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_PHONE_ALT'),
|
||||
'WEBSITE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_WEBSITE'),
|
||||
'OWNERSHIP' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_OWNERSHIP'),
|
||||
'EMPLOYEES' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_EMPLOYEES'),
|
||||
'TICKER_SYMBOL' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_TICKER_SYMBOL'),
|
||||
'EMAIL1' => array(
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
'sortable' => false,
|
||||
'link' => true,
|
||||
'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
|
||||
'default' => true
|
||||
),
|
||||
'ASSIGNED_USER_NAME' => array(
|
||||
'width' => '2',
|
||||
'label' => 'LBL_ASSIGNED_USER',
|
||||
'module' => 'Employees',
|
||||
'id' => 'ASSIGNED_USER_ID',
|
||||
'default' => true),
|
||||
$listViewDefs [$module_name] =
|
||||
array (
|
||||
'NAME' =>
|
||||
array (
|
||||
'width' => '40%',
|
||||
'label' => 'LBL_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),
|
||||
'SCHEDULE' =>
|
||||
array (
|
||||
'type' => 'varchar',
|
||||
'label' => 'LBL_SCHEDULE',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'AOR_SCHEDULED_REPORTS_AOR_REPORTS_NAME' =>
|
||||
array (
|
||||
'type' => 'relate',
|
||||
'link' => true,
|
||||
'label' => 'LBL_AOR_SCHEDULED_REPORTS_AOR_REPORTS_FROM_AOR_REPORTS_TITLE',
|
||||
'id' => 'AOR_SCHEDULED_REPORTS_AOR_REPORTSAOR_REPORTS_IDA',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'EMAIL1' =>
|
||||
array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
'sortable' => false,
|
||||
'link' => true,
|
||||
'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
|
||||
'default' => true,
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
|
|
@ -1,68 +1,39 @@
|
|||
<?php
|
||||
/*
|
||||
* Created on Aug 2, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
|
||||
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
|
||||
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
|
||||
* Copyright (C) 2011 - 2014 Salesagility Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
|
||||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
|
||||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$object_name = 'AOR_Scheduled_Reports';
|
||||
$_module_name = 'aor_scheduled_reports';
|
||||
$popupMeta = array('moduleMain' => $module_name,
|
||||
'varName' => $object_name,
|
||||
'orderBy' => $_module_name.'.name',
|
||||
'whereClauses' =>
|
||||
array('name' => $_module_name.'.name',
|
||||
'billing_address_city' => $_module_name.'.billing_address_city',
|
||||
'phone_office' => $_module_name.'.phone_office'),
|
||||
'searchInputs' =>
|
||||
array('name',
|
||||
'billing_address_city',
|
||||
'phone_office',
|
||||
'industry'
|
||||
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
$popupMeta = array (
|
||||
'moduleMain' => 'AOR_Scheduled_Reports',
|
||||
'varName' => 'AOR_Scheduled_Reports',
|
||||
'orderBy' => 'aor_scheduled_reports.name',
|
||||
'whereClauses' => array (
|
||||
'name' => 'aor_scheduled_reports.name',
|
||||
'email' => 'aor_scheduled_reports.email',
|
||||
'aor_scheduled_reports_aor_reports_name' => 'aor_scheduled_reports.aor_scheduled_reports_aor_reports_name',
|
||||
),
|
||||
'searchInputs' => array (
|
||||
0 => 'name',
|
||||
4 => 'email',
|
||||
5 => 'aor_scheduled_reports_aor_reports_name',
|
||||
),
|
||||
'searchdefs' => array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'width' => '10%',
|
||||
),
|
||||
'email' =>
|
||||
array (
|
||||
'name' => 'email',
|
||||
'label' => 'LBL_ANY_EMAIL',
|
||||
'type' => 'name',
|
||||
'width' => '10%',
|
||||
),
|
||||
'aor_scheduled_reports_aor_reports_name' =>
|
||||
array (
|
||||
'type' => 'relate',
|
||||
'link' => true,
|
||||
'label' => 'LBL_AOR_SCHEDULED_REPORTS_AOR_REPORTS_FROM_AOR_REPORTS_TITLE',
|
||||
'id' => 'AOR_SCHEDULED_REPORTS_AOR_REPORTSAOR_REPORTS_IDA',
|
||||
'width' => '10%',
|
||||
'name' => 'aor_scheduled_reports_aor_reports_name',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -1,77 +1,84 @@
|
|||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
|
||||
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
|
||||
* Copyright (C) 2011 - 2014 Salesagility Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
|
||||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
|
||||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on Aug 2, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$_object_name = 'aor_scheduled_reports';
|
||||
$viewdefs[$module_name]['QuickCreate'] = array(
|
||||
'templateMeta' => array(
|
||||
'form' => array('buttons'=>array('SAVE', 'CANCEL')),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'includes'=> array(
|
||||
array('file'=>'modules/Accounts/Account.js'),
|
||||
),
|
||||
),
|
||||
|
||||
'panels' => array(
|
||||
'lbl_account_information'=>array(
|
||||
array(array('name'=>'name', 'displayParams'=>array('required'=>true)), 'assigned_user_name'),
|
||||
array('website',
|
||||
),
|
||||
array('industry', array('name'=>'phone_office')),
|
||||
array($_object_name . '_type', 'phone_fax'),
|
||||
array('annual_revenue', ''),
|
||||
),
|
||||
'lbl_email_addresses'=>array(
|
||||
array('email1')
|
||||
),
|
||||
)
|
||||
$viewdefs [$module_name] =
|
||||
array (
|
||||
'QuickCreate' =>
|
||||
array (
|
||||
'templateMeta' =>
|
||||
array (
|
||||
'form' =>
|
||||
array (
|
||||
'buttons' =>
|
||||
array (
|
||||
0 => 'SAVE',
|
||||
1 => 'CANCEL',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
'useTabs' => false,
|
||||
'tabDefs' =>
|
||||
array (
|
||||
'LBL_SCHEDULED_REPORTS_INFORMATION' =>
|
||||
array (
|
||||
'newTab' => false,
|
||||
'panelDefault' => 'expanded',
|
||||
),
|
||||
),
|
||||
),
|
||||
'panels' =>
|
||||
array (
|
||||
'lbl_scheduled_reports_information' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'aor_scheduled_reports_aor_reports_name',
|
||||
'label' => 'LBL_AOR_SCHEDULED_REPORTS_AOR_REPORTS_FROM_AOR_REPORTS_TITLE',
|
||||
),
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'schedule',
|
||||
'label' => 'LBL_SCHEDULE',
|
||||
),
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
0 => 'email1',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,82 +1,82 @@
|
|||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
|
||||
* SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd.
|
||||
* Copyright (C) 2011 - 2014 Salesagility Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along with
|
||||
* this program; if not, see http://www.gnu.org/licenses or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo and "Supercharged by SuiteCRM" logo. If the display of the logos is not
|
||||
* reasonably feasible for technical reasons, the Appropriate Legal Notices must
|
||||
* display the words "Powered by SugarCRM" and "Supercharged by SuiteCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on Aug 2, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$_module_name = 'aor_scheduled_reports';
|
||||
$searchdefs[$module_name] = array(
|
||||
'templateMeta' => array(
|
||||
'maxColumns' => '3',
|
||||
'maxColumnsBasic' => '4',
|
||||
'widths' => array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'layout' => array(
|
||||
'basic_search' => array(
|
||||
'name',
|
||||
array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
|
||||
),
|
||||
'advanced_search' => array(
|
||||
'name',
|
||||
array('name' => 'address_street', 'label' =>'LBL_ANY_ADDRESS', 'type' => 'name'),
|
||||
array('name' => 'phone', 'label' =>'LBL_ANY_PHONE', 'type' => 'name'),
|
||||
'website',
|
||||
array('name' => 'address_city', 'label' =>'LBL_CITY', 'type' => 'name'),
|
||||
array('name' => 'email', 'label' =>'LBL_ANY_EMAIL', 'type' => 'name'),
|
||||
'annual_revenue',
|
||||
array('name' => 'address_state', 'label' =>'LBL_STATE', 'type' => 'name'),
|
||||
'employees',
|
||||
'industry',
|
||||
array('name' => 'address_postalcode', 'label' =>'LBL_POSTAL_CODE', 'type' => 'name'),
|
||||
'ticker_symbol',
|
||||
$_module_name . '_type',
|
||||
array('name' => 'address_country', 'label' =>'LBL_COUNTRY', 'type' => 'name'),
|
||||
'rating',
|
||||
array('name' => 'assigned_user_id', 'type' => 'enum', 'label' => 'LBL_ASSIGNED_TO', 'function' => array('name' => 'get_user_array', 'params' => array(false))),
|
||||
'ownership',
|
||||
),
|
||||
),
|
||||
);
|
||||
$module_name = 'AOR_Scheduled_Reports';
|
||||
$_module_name = 'aor_scheduled_reports';
|
||||
$searchdefs [$module_name] =
|
||||
array (
|
||||
'layout' =>
|
||||
array (
|
||||
'basic_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'aor_scheduled_reports_aor_reports_name' =>
|
||||
array (
|
||||
'type' => 'relate',
|
||||
'link' => true,
|
||||
'label' => 'LBL_AOR_SCHEDULED_REPORTS_AOR_REPORTS_FROM_AOR_REPORTS_TITLE',
|
||||
'id' => 'AOR_SCHEDULED_REPORTS_AOR_REPORTSAOR_REPORTS_IDA',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
'name' => 'aor_scheduled_reports_aor_reports_name',
|
||||
),
|
||||
'current_user_only' =>
|
||||
array (
|
||||
'name' => 'current_user_only',
|
||||
'label' => 'LBL_CURRENT_USER_FILTER',
|
||||
'type' => 'bool',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
),
|
||||
'advanced_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'aor_scheduled_reports_aor_reports_name' =>
|
||||
array (
|
||||
'type' => 'relate',
|
||||
'link' => true,
|
||||
'label' => 'LBL_AOR_SCHEDULED_REPORTS_AOR_REPORTS_FROM_AOR_REPORTS_TITLE',
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
'id' => 'AOR_SCHEDULED_REPORTS_AOR_REPORTSAOR_REPORTS_IDA',
|
||||
'name' => 'aor_scheduled_reports_aor_reports_name',
|
||||
),
|
||||
'current_user_only' =>
|
||||
array (
|
||||
'label' => 'LBL_CURRENT_USER_FILTER',
|
||||
'type' => 'bool',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
'name' => 'current_user_only',
|
||||
),
|
||||
'email' =>
|
||||
array (
|
||||
'name' => 'email',
|
||||
'label' => 'LBL_ANY_EMAIL',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
),
|
||||
),
|
||||
'templateMeta' =>
|
||||
array (
|
||||
'maxColumns' => '3',
|
||||
'maxColumnsBasic' => '4',
|
||||
'widths' =>
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue