46 lines
1.0 KiB
PHP
46 lines
1.0 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
if (!defined('sugarEntry') || !sugarEntry) {
|
||
|
|
die('Not A Valid Entry Point');
|
||
|
|
}
|
||
|
|
|
||
|
|
global $current_user;
|
||
|
|
|
||
|
|
$dashletData['ev_OrdersDashlet']['searchFields'] = array(
|
||
|
|
'date_entered' => array(
|
||
|
|
'default' => ''
|
||
|
|
),
|
||
|
|
'date_modified' => array(
|
||
|
|
'default' => ''
|
||
|
|
),
|
||
|
|
'assigned_user_id' => array(
|
||
|
|
'type' => 'assigned_user_name',
|
||
|
|
'default' => $current_user->name
|
||
|
|
),
|
||
|
|
);
|
||
|
|
$dashletData['ev_OrdersDashlet']['columns'] = array(
|
||
|
|
'name' => array(
|
||
|
|
'width' => '40',
|
||
|
|
'label' => 'LBL_LIST_NAME',
|
||
|
|
'link' => true,
|
||
|
|
'default' => true
|
||
|
|
),
|
||
|
|
'date_entered' => array(
|
||
|
|
'width' => '15',
|
||
|
|
'label' => 'LBL_DATE_ENTERED',
|
||
|
|
'default' => true
|
||
|
|
),
|
||
|
|
'date_modified' => array(
|
||
|
|
'width' => '15',
|
||
|
|
'label' => 'LBL_DATE_MODIFIED'
|
||
|
|
),
|
||
|
|
'created_by' => array(
|
||
|
|
'width' => '8',
|
||
|
|
'label' => 'LBL_CREATED'
|
||
|
|
),
|
||
|
|
'assigned_user_name' => array(
|
||
|
|
'width' => '8',
|
||
|
|
'label' => 'LBL_LIST_ASSIGNED_USER'
|
||
|
|
),
|
||
|
|
);
|