0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-12-22 12:28:31 +00:00
salesagility_SuiteCRM/modules/Project/metadata/dashletviewdefs.php

79 lines
1.5 KiB
PHP

<?php
$dashletData['ProjectDashlet']['searchFields'] = array(
'date_entered' =>
array(
'default' => '',
),
'date_modified' =>
array(
'default' => '',
),
'assigned_user_id' =>
array(
'type' => 'assigned_user_name',
'default' => 'Administrator',
),
);
$dashletData['ProjectDashlet']['columns'] = array(
'name' =>
array(
'width' => '30%',
'label' => 'LBL_LIST_NAME',
'link' => true,
'default' => true,
'name' => 'name',
),
'status' =>
array(
'type' => 'enum',
'default' => true,
'label' => 'LBL_STATUS',
'width' => '10%',
'name' => 'status',
),
'estimated_start_date' =>
array(
'type' => 'date',
'label' => 'LBL_DATE_START',
'width' => '10%',
'default' => true,
'name' => 'estimated_start_date',
),
'assigned_user_name' =>
array(
'width' => '8%',
'label' => 'LBL_LIST_ASSIGNED_USER',
'name' => 'assigned_user_name',
'default' => true,
),
'estimated_end_date' =>
array(
'type' => 'date',
'label' => 'LBL_DATE_END',
'width' => '10%',
'default' => true,
'name' => 'estimated_end_date',
),
'date_modified' =>
array(
'width' => '15%',
'label' => 'LBL_DATE_MODIFIED',
'name' => 'date_modified',
'default' => false,
),
'date_entered' =>
array(
'width' => '15%',
'label' => 'LBL_DATE_ENTERED',
'default' => false,
'name' => 'date_entered',
),
'created_by' =>
array(
'width' => '8%',
'label' => 'LBL_CREATED',
'name' => 'created_by',
'default' => false,
),
);