0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-22 07:52:36 +00:00
salesagility_SuiteCRM/modules/jjwg_Markers/metadata/dashletviewdefs.php

143 lines
2.7 KiB
PHP
Executable File

<?php
$dashletData['jjwg_MarkersDashlet']['searchFields'] = array(
'name' =>
array(
'default' => '',
),
'city' =>
array(
'default' => '',
),
'state' =>
array(
'default' => '',
),
'country' =>
array(
'default' => '',
),
'assigned_user_name' =>
array(
'default' => '',
),
'date_entered' =>
array(
'default' => '',
),
);
$dashletData['jjwg_MarkersDashlet']['columns'] = array(
'name' =>
array(
'width' => '40%',
'label' => 'LBL_LIST_NAME',
'link' => true,
'default' => true,
'name' => 'name',
),
'city' =>
array(
'type' => 'varchar',
'label' => 'LBL_CITY',
'width' => '10%',
'default' => true,
'name' => 'city',
),
'state' =>
array(
'type' => 'varchar',
'label' => 'LBL_STATE',
'width' => '10%',
'default' => true,
'name' => 'state',
),
'country' =>
array(
'type' => 'varchar',
'label' => 'LBL_COUNTRY',
'width' => '10%',
'default' => true,
'name' => 'country',
),
'marker_image' =>
array(
'type' => 'enum',
'default' => true,
'studio' => 'visible',
'label' => 'LBL_MARKER_IMAGE',
'sortable' => false,
'width' => '10%',
'name' => 'marker_image',
),
'assigned_user_name' =>
array(
'width' => '8%',
'label' => 'LBL_LIST_ASSIGNED_USER',
'name' => 'assigned_user_name',
'default' => true,
),
'jjwg_maps_lng' =>
array(
'type' => 'decimal',
'default' => false,
'label' => 'LBL_JJWG_MAPS_LNG',
'width' => '10%',
'name' => 'jjwg_maps_lng',
),
'jjwg_maps_lat' =>
array(
'type' => 'decimal',
'default' => false,
'label' => 'LBL_JJWG_MAPS_LAT',
'width' => '10%',
'name' => 'jjwg_maps_lat',
),
'date_entered' =>
array(
'width' => '15%',
'label' => 'LBL_DATE_ENTERED',
'default' => false,
'name' => 'date_entered',
),
'created_by_name' =>
array(
'type' => 'relate',
'link' => 'created_by_link',
'label' => 'LBL_CREATED',
'width' => '10%',
'default' => false,
'name' => 'created_by_name',
),
'modified_by_name' =>
array(
'type' => 'relate',
'link' => 'modified_user_link',
'label' => 'LBL_MODIFIED_NAME',
'width' => '10%',
'default' => false,
'name' => 'modified_by_name',
),
'date_modified' =>
array(
'width' => '15%',
'label' => 'LBL_DATE_MODIFIED',
'name' => 'date_modified',
'default' => false,
),
'created_by' =>
array(
'width' => '8%',
'label' => 'LBL_CREATED',
'name' => 'created_by',
'default' => false,
),
'description' =>
array(
'type' => 'text',
'label' => 'LBL_DESCRIPTION',
'sortable' => false,
'width' => '10%',
'default' => false,
'name' => 'description',
),
);