Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,121 @@
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/**
* English language file for History
*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU 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 General Public License for more
* details.
*
* You should have received a copy of the GNU 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 General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
$mod_strings = array (
'LBL_MODULE_NAME' => 'History',
'LBL_MODULE_TITLE' => 'History: Home',
'LBL_SEARCH_FORM_TITLE' => 'History Search',
'LBL_LIST_FORM_TITLE' => 'History',
'LBL_LIST_SUBJECT' => 'Subject',
'LBL_LIST_CONTACT' => 'Contact',
'LBL_LIST_RELATED_TO' => 'Related to',
'LBL_LIST_DATE' => 'Date',
'LBL_LIST_TIME' => 'Start Time',
'LBL_LIST_CLOSE' => 'Close',
'LBL_SUBJECT' => 'Subject:',
'LBL_STATUS' => 'Status:',
'LBL_LOCATION' => 'Location:',
'LBL_DATE_TIME' => 'Start Date & Time:',
'LBL_DATE' => 'Start Date:',
'LBL_TIME' => 'Start Time:',
'LBL_DURATION' => 'Duration:',
'LBL_HOURS_MINS' => '(hours/minutes)',
'LBL_CONTACT_NAME' => 'Contact Name: ',
'LBL_MEETING' => 'Meeting:',
'LBL_DESCRIPTION_INFORMATION' => 'Description Information',
'LBL_DESCRIPTION' => 'Description:',
'LBL_COLON' => ':',
'LBL_DEFAULT_STATUS' => 'Planned',
'LNK_NEW_CALL' => 'Schedule Call',
'LNK_NEW_MEETING' => 'Schedule Meeting',
'LNK_NEW_TASK' => 'Create Task',
'LNK_NEW_NOTE' => 'Create Note or Attachment',
'LNK_NEW_EMAIL' => 'Archive Email',
'LNK_CALL_LIST' => 'Calls',
'LNK_MEETING_LIST' => 'Meetings',
'LNK_TASK_LIST' => 'Tasks',
'LNK_NOTE_LIST' => 'Notes',
'LNK_EMAIL_LIST' => 'Emails',
'ERR_DELETE_RECORD' => 'A record number must be specified to delete the account.',
'NTC_REMOVE_INVITEE' => 'Are you sure you want to remove this invitee from the meeting?',
'LBL_INVITEE' => 'Invitees',
'LBL_LIST_DIRECTION' => 'Direction',
'LBL_DIRECTION' => 'Direction',
'LNK_NEW_APPOINTMENT' => 'New Appointment',
'LNK_VIEW_CALENDAR' => 'Today',
'LBL_OPEN_ACTIVITIES' => 'Open Activities',
'LBL_HISTORY' => 'History',
'LBL_UPCOMING' => 'My Upcoming Appointments',
'LBL_TODAY' => 'through ',
'LBL_NEW_TASK_BUTTON_TITLE' => 'Create Task [Alt+N]',
'LBL_NEW_TASK_BUTTON_KEY' => 'N',
'LBL_NEW_TASK_BUTTON_LABEL' => 'Create Task',
'LBL_SCHEDULE_MEETING_BUTTON_TITLE' => 'Schedule Meeting [Alt+M]',
'LBL_SCHEDULE_MEETING_BUTTON_KEY' => 'M',
'LBL_SCHEDULE_MEETING_BUTTON_LABEL' => 'Schedule Meeting',
'LBL_SCHEDULE_CALL_BUTTON_TITLE' => 'Schedule Call [Alt+C]',
'LBL_SCHEDULE_CALL_BUTTON_KEY' => 'C',
'LBL_SCHEDULE_CALL_BUTTON_LABEL' => 'Schedule Call',
'LBL_NEW_NOTE_BUTTON_TITLE' => 'Create Note or Attachment [Alt+T]',
'LBL_NEW_NOTE_BUTTON_KEY' => 'T',
'LBL_NEW_NOTE_BUTTON_LABEL' => 'Create Note or Attachment',
'LBL_TRACK_EMAIL_BUTTON_TITLE' => 'Archive Email [Alt+K]',
'LBL_TRACK_EMAIL_BUTTON_KEY' => 'K',
'LBL_TRACK_EMAIL_BUTTON_LABEL' => 'Archive Email',
'LBL_LIST_STATUS' => 'Status',
'LBL_LIST_DUE_DATE' => 'Due Date',
'LBL_LIST_LAST_MODIFIED' => 'Last Modified',
'NTC_NONE_SCHEDULED' => 'None scheduled.',
'appointment_filter_dom' => array(
'today' => 'today'
,'tomorrow' => 'tomorrow'
,'this Saturday' => 'this week'
,'next Saturday' => 'next week'
,'last this_month' => 'this month'
,'last next_month' => 'next month'
),
'LNK_IMPORT_NOTES'=>'Import Notes',
'NTC_NONE'=>'None',
'LBL_ACCEPT_THIS'=>'Accept?',
'LBL_DEFAULT_SUBPANEL_TITLE' => 'History',
);
?>

View File

@@ -0,0 +1,121 @@
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/**
* English language file for History
*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU 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 General Public License for more
* details.
*
* You should have received a copy of the GNU 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 General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
$mod_strings = array (
'LBL_MODULE_NAME' => 'Verlauf',
'LBL_MODULE_TITLE' => 'Verlauf: Home',
'LBL_SEARCH_FORM_TITLE' => 'Verlauf Suche',
'LBL_LIST_FORM_TITLE' => 'Verlauf',
'LBL_LIST_SUBJECT' => 'Betreff',
'LBL_LIST_CONTACT' => 'Kontakt',
'LBL_LIST_RELATED_TO' => 'Gehört zu',
'LBL_LIST_DATE' => 'Datum',
'LBL_LIST_TIME' => 'Startzeit',
'LBL_LIST_CLOSE' => 'Schließen',
'LBL_SUBJECT' => 'Betreff:',
'LBL_STATUS' => 'Status:',
'LBL_LOCATION' => 'Ort:',
'LBL_DATE_TIME' => 'Startdatum und -zeit:',
'LBL_DATE' => 'Startdatum:',
'LBL_TIME' => 'Beginn:',
'LBL_DURATION' => 'Dauer:',
'LBL_HOURS_MINS' => '(Stunden/Minuten)',
'LBL_CONTACT_NAME' => 'Name:',
'LBL_MEETING' => 'Meeting:',
'LBL_DESCRIPTION_INFORMATION' => 'Beschreibungsinformation',
'LBL_DESCRIPTION' => 'Beschreibung:',
'LBL_COLON' => ':',
'LBL_DEFAULT_STATUS' => 'Geplant',
'LNK_NEW_CALL' => 'Neuer Anruf',
'LNK_NEW_MEETING' => 'Neues Meeting',
'LNK_NEW_TASK' => 'Neue Aufgabe',
'LNK_NEW_NOTE' => 'Neue Notiz oder Anlage',
'LNK_NEW_EMAIL' => 'E-Mail archivieren',
'LNK_CALL_LIST' => 'Anrufe',
'LNK_MEETING_LIST' => 'Meetings',
'LNK_TASK_LIST' => 'Aufgaben',
'LNK_NOTE_LIST' => 'Notizen',
'LNK_EMAIL_LIST' => 'E-Mails',
'ERR_DELETE_RECORD' => 'Um diese Firma zu löschen, muss eine Datensatznummer angegeben werden.',
'NTC_REMOVE_INVITEE' => 'Möchten Sie diesen Teilnehmer wirklich aus diesem Meeting entfernen?',
'LBL_INVITEE' => 'Teilnehmer',
'LBL_LIST_DIRECTION' => 'Richtung',
'LBL_DIRECTION' => 'Richtung',
'LNK_NEW_APPOINTMENT' => 'Neues Meeting',
'LNK_VIEW_CALENDAR' => 'Heute',
'LBL_OPEN_ACTIVITIES' => 'Offene Aktivitäten',
'LBL_HISTORY' => 'Verlauf',
'LBL_UPCOMING' => 'Meine nächsten Termine',
'LBL_TODAY' => 'bis',
'LBL_NEW_TASK_BUTTON_TITLE' => 'Neue Aufgabe [Alt+N]',
'LBL_NEW_TASK_BUTTON_KEY' => 'N',
'LBL_NEW_TASK_BUTTON_LABEL' => 'Neue Aufgabe',
'LBL_SCHEDULE_MEETING_BUTTON_TITLE' => 'Neues Meeting [Alt+M]',
'LBL_SCHEDULE_MEETING_BUTTON_KEY' => 'M',
'LBL_SCHEDULE_MEETING_BUTTON_LABEL' => 'Neues Meeting',
'LBL_SCHEDULE_CALL_BUTTON_TITLE' => 'Neuer Anruf [Alt+C]',
'LBL_SCHEDULE_CALL_BUTTON_KEY' => 'C',
'LBL_SCHEDULE_CALL_BUTTON_LABEL' => 'Neuer Anruf',
'LBL_NEW_NOTE_BUTTON_TITLE' => 'Neue Notiz oder Anlage [Alt+T]',
'LBL_NEW_NOTE_BUTTON_KEY' => 'T',
'LBL_NEW_NOTE_BUTTON_LABEL' => 'Neue Notiz oder Anlage',
'LBL_TRACK_EMAIL_BUTTON_TITLE' => 'E-Mail archivieren [Alt+K]',
'LBL_TRACK_EMAIL_BUTTON_KEY' => 'K',
'LBL_TRACK_EMAIL_BUTTON_LABEL' => 'E-Mail archivieren',
'LBL_LIST_STATUS' => 'Status',
'LBL_LIST_DUE_DATE' => 'Fällig am',
'LBL_LIST_LAST_MODIFIED' => 'Geändert am:',
'NTC_NONE_SCHEDULED' => 'Keine Termine.',
'appointment_filter_dom' => array(
'today' => 'Heute'
,'tomorrow' => 'Morgen'
,'this Saturday' => 'Diese Woche'
,'next Saturday' => 'Nächste Woche'
,'last this_month' => 'Dieser Monat'
,'last next_month' => 'Nächster Monat'
),
'LNK_IMPORT_NOTES'=>'Notizen importieren',
'NTC_NONE'=>'Kein(e)',
'LBL_ACCEPT_THIS'=>'Bestätigen?',
'LBL_DEFAULT_SUBPANEL_TITLE' => 'Verlauf',
);
?>

View File

@@ -0,0 +1,112 @@
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Public License Version
* 1.1.3 ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* All copies of the Covered Code must include on each user interface screen:
* (i) the "Powered by SugarCRM" logo and
* (ii) the SugarCRM copyright notice
* in the same form as they appear in the distribution. See full license for
* requirements.
*
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) 2004-2005 SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
********************************************************************************/
/*********************************************************************************
* pl_pl.lang.php,v for SugarCRM 4.5-->>
* Translator: Krzysztof Morawski
* All Rights Reserved.
* Any bugs report welcome: krzysiek<at>mojsklepik<dot>net
* Contributor(s): ______________________________________..
********************************************************************************/
$mod_strings = array (
'LBL_MODULE_NAME' => 'Historia',
'LBL_MODULE_TITLE' => 'Historia: Strona Główna',
'LBL_SEARCH_FORM_TITLE' => 'Przeszukiwanie Historii',
'LBL_LIST_FORM_TITLE' => 'Historia',
'LBL_LIST_SUBJECT' => 'Temat',
'LBL_LIST_CONTACT' => 'Kontakt',
'LBL_LIST_RELATED_TO' => 'Połączone z',
'LBL_LIST_DATE' => 'Data',
'LBL_LIST_TIME' => 'Czas rozpoczęcia',
'LBL_LIST_CLOSE' => 'Zamknij',
'LBL_SUBJECT' => 'Temat:',
'LBL_STATUS' => 'Status:',
'LBL_LOCATION' => 'Położenie:',
'LBL_DATE_TIME' => 'Data i czas rozpoczęcia:',
'LBL_DATE' => 'Data rozpoczęcia:',
'LBL_TIME' => 'Czas rozpoczęcia:',
'LBL_DURATION' => 'Okres trwania:',
'LBL_HOURS_MINS' => '(godziny/minuty)',
'LBL_CONTACT_NAME' => 'Nazwa Kontaktu: ',
'LBL_MEETING' => 'Spotkanie:',
'LBL_DESCRIPTION_INFORMATION' => 'Informacje Opisowe',
'LBL_DESCRIPTION' => 'Opis:',
'LBL_COLON' => ':',
'LBL_DEFAULT_STATUS' => 'Zaplanowane',
'LNK_NEW_CALL' => 'Plan Rozmowy Telefoniczne',
'LNK_NEW_MEETING' => 'Plan Spotkania',
'LNK_NEW_TASK' => 'Utwórz Zadanie',
'LNK_NEW_NOTE' => 'Utwórz Notatke lub Załącznikt',
'LNK_NEW_EMAIL' => 'Zarchiwizowane Wiadomości',
'LNK_CALL_LIST' => 'Rozmowy Telefoniczne',
'LNK_MEETING_LIST' => 'Spotkania',
'LNK_TASK_LIST' => 'Zadania',
'LNK_NOTE_LIST' => 'Notatki',
'LNK_EMAIL_LIST' => 'Poczta Email',
'ERR_DELETE_RECORD' => 'Numer rekordu musi być okreslony, aby usunąć tego Klienta.',
'NTC_REMOVE_INVITEE' => 'Czy na pewno chcesz usunąć tych zaproszonych ze Spotkania?',
'LBL_INVITEE' => 'Zaproszeni',
'LBL_LIST_DIRECTION' => 'Kierunek',
'LBL_DIRECTION' => 'Kierunek',
'LNK_NEW_APPOINTMENT' => 'Nowe Spotkanie',
'LNK_VIEW_CALENDAR' => 'Dzisiaj',
'LBL_OPEN_ACTIVITIES' => 'Działania w trakcie',
'LBL_HISTORY' => 'Historia',
'LBL_UPCOMING' => 'Moje nadchodzące spotkania',
'LBL_TODAY' => 'przez ',
'LBL_NEW_TASK_BUTTON_TITLE' => 'Utwórz zadanie [Alt+N]',
'LBL_NEW_TASK_BUTTON_KEY' => 'N',
'LBL_NEW_TASK_BUTTON_LABEL' => 'Utwórz zadanie',
'LBL_SCHEDULE_MEETING_BUTTON_TITLE' => 'Zaplanowane Spotkania [Alt+M]',
'LBL_SCHEDULE_MEETING_BUTTON_KEY' => 'M',
'LBL_SCHEDULE_MEETING_BUTTON_LABEL' => 'Zaplanowane Spotkania',
'LBL_SCHEDULE_CALL_BUTTON_TITLE' => 'Zaplanowane Rozmowy Telefoniczne [Alt+C]',
'LBL_SCHEDULE_CALL_BUTTON_KEY' => 'C',
'LBL_SCHEDULE_CALL_BUTTON_LABEL' => 'Zaplanowane Rozmowy Telefoniczne',
'LBL_NEW_NOTE_BUTTON_TITLE' => 'Utwórz Notatkę lub Załącznik [Alt+T]',
'LBL_NEW_NOTE_BUTTON_KEY' => 'T',
'LBL_NEW_NOTE_BUTTON_LABEL' => 'Utwórz Notatkę lub Załącznik',
'LBL_TRACK_EMAIL_BUTTON_TITLE' => 'Zarchiwizowane Emaile [Alt+K]',
'LBL_TRACK_EMAIL_BUTTON_KEY' => 'K',
'LBL_TRACK_EMAIL_BUTTON_LABEL' => 'Zarchiwizowane Emaile',
'LBL_LIST_STATUS' => 'Status',
'LBL_LIST_DUE_DATE' => 'Czas Trwania',
'LBL_LIST_LAST_MODIFIED' => 'Ostatnia Modyfikacja',
'LBL_LIST_DATE_MODIFIED' => 'Data Modyfikacji',
'NTC_NONE_SCHEDULED' => 'Nie zaplanowane.',
'appointment_filter_dom' => array(
'today' => 'dziś'
,'tomorrow' => 'jutro'
,'this Saturday' => 'w tym tygodniu'
,'next Saturday' => 'w przyszłym tygodniu'
,'last this_month' => 'w tym miesiącu'
,'last next_month' => 'w nastepnym miesiącu'
),
'LNK_IMPORT_NOTES'=>'Zaimportuj Notatki',
'NTC_NONE'=>'Pustka',
'LBL_ACCEPT_THIS'=>'Akeptujesz?',
'LBL_DEFAULT_SUBPANEL_TITLE' => 'Historia',
);
?>

View File

@@ -0,0 +1,342 @@
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/**
* Layout definition for History
*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU 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 General Public License for more
* details.
*
* You should have received a copy of the GNU 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 General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
$layout_defs['History'] = array(
// default subpanel provided by this SugarBean
'default_subpanel_define' => array(
'subpanel_title' => 'LBL_DEFAULT_SUBPANEL_TITLE',
'top_buttons' => array(
array('widget_class' => 'SubPanelTopCreateNoteButton'),
array('widget_class' => 'SubPanelTopArchiveEmailButton'),
array('widget_class' => 'SubPanelTopSummaryButton'),
),
//TODO try and merge with the activities
'list_fields' => array(
'Meetings' => array(
'columns' => array(
array(
'name' => 'nothing',
'widget_class' => 'SubPanelIcon',
'module' => 'Meetings',
'width' => '2%',
),
array(
'name' => 'name',
'vname' => 'LBL_LIST_SUBJECT',
'widget_class' => 'SubPanelDetailViewLink',
'width' => '28%',
),
array(
'name' => 'status',
'vname' => 'LBL_LIST_STATUS',
'width' => '10%',
),
array(
'name' => 'contact_name',
'module' => 'Contacts',
'widget_class' => 'SubPanelDetailViewLink',
'target_record_key' => 'contact_id',
'target_module' => 'Contacts',
'vname' => 'LBL_LIST_CONTACT',
'width' => '20%',
),
array(
'name' => 'parent_name',
'module' => 'Meetings',
'vname' => 'LBL_LIST_RELATED_TO',
'width' => '22%',
),
array(
'name' => 'date_modified',
//'db_alias_to' => 'the_date',
'vname' => 'LBL_LIST_LAST_MODIFIED',
'width' => '10%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelEditButton',
'module' => 'Meetings',
'width' => '4%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelRemoveButton',
'linked_field' => 'meetings',
'module' => 'Meetings',
'width' => '4%',
),
),
'where' => "(meetings.status='Held' OR meetings.status='Not Held')",
'order_by' => 'meetings.date_modified',
),
'Emails' => array(
'columns' => array(
array(
'name' => 'nothing',
'widget_class' => 'SubPanelIcon',
'module' => 'Emails',
'width' => '2%',
),
array(
'name' => 'name',
'vname' => 'LBL_LIST_SUBJECT',
'widget_class' => 'SubPanelDetailViewLink',
'width' => '28%',
),
array(
'name' => 'status',
'vname' => 'LBL_LIST_STATUS',
'width' => '10%',
),
array(
'name' => 'contact_name',
'module' => 'Contacts',
'widget_class' => 'SubPanelDetailViewLink',
'target_record_key' => 'contact_id',
'target_module' => 'Contacts',
'vname' => 'LBL_LIST_CONTACT',
'width' => '20%',
),
array(
'name' => 'parent_name',
'module' => 'Emails',
'vname' => 'LBL_LIST_RELATED_TO',
'width' => '22%',
),
array(
'name' => 'date_modified',
//'db_alias_to' => 'the_date',
'vname' => 'LBL_LIST_LAST_MODIFIED',
'width' => '10%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelEditButton',
'module' => 'Emails',
'width' => '4%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelRemoveButton',
'linked_field' => 'emails',
'module' => 'Emails',
'width' => '4%',
),
),
'where' => "(emails.status='sent')",
'order_by' => 'emails.date_modified',
),
'Notes' => array(
'columns' => array(
array(
'name' => 'nothing',
'widget_class' => 'SubPanelIcon',
'module' => 'Notes',
'width' => '2%',
),
array(
'name' => 'name',
'vname' => 'LBL_LIST_SUBJECT',
'widget_class' => 'SubPanelDetailViewLink',
'width' => '28%',
),
array( // this column does not exist on
'name' => 'status',
'vname' => 'LBL_LIST_STATUS',
'width' => '10%',
),
array(
'name' => 'contact_name',
'module' => 'Contacts',
'widget_class' => 'SubPanelDetailViewLink',
'target_record_key' => 'contact_id',
'target_module' => 'Contacts',
'vname' => 'LBL_LIST_CONTACT',
'width' => '20%',
),
array(
'name' => 'parent_name',
'module' => 'Notes',
'vname' => 'LBL_LIST_RELATED_TO',
'width' => '22%',
),
array(
'name' => 'date_modified',
//'db_alias_to' => 'the_date',
'vname' => 'LBL_LIST_LAST_MODIFIED',
'width' => '10%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelEditButton',
'module' => 'Notes',
'width' => '4%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelRemoveButton',
'linked_field' => 'notes',
'module' => 'Notes',
'width' => '4%',
),
),
'where' => '',
'order_by' => 'notes.date_modified',
),
'Tasks' => array(
'columns' => array(
array(
'name' => 'nothing',
'widget_class' => 'SubPanelIcon',
'module' => 'Tasks',
'width' => '2%',
),
array(
'name' => 'name',
'vname' => 'LBL_LIST_SUBJECT',
'widget_class' => 'SubPanelDetailViewLink',
'width' => '28%',
),
array(
'name' => 'status',
'vname' => 'LBL_LIST_STATUS',
'width' => '10%',
),
array(
'name' => 'contact_name',
'module' => 'Contacts',
'widget_class' => 'SubPanelDetailViewLink',
'target_record_key' => 'contact_id',
'target_module' => 'Contacts',
'vname' => 'LBL_LIST_CONTACT',
'width' => '20%',
),
array(
'name' => 'parent_name',
'module' => 'Tasks',
'vname' => 'LBL_LIST_RELATED_TO',
'width' => '22%',
),
array(
'name' => 'date_modified',
//'db_alias_to' => 'the_date',
'vname' => 'LBL_LIST_LAST_MODIFIED',
'width' => '10%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelEditButton',
'module' => 'Tasks',
'width' => '4%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelRemoveButton',
'linked_field' => 'tasks',
'module' => 'Tasks',
'width' => '4%',
),
),
'where' => "(tasks.status='Completed' OR tasks.status='Deferred')",
'order_by' => 'tasks.date_start',
),
'Calls' => array(
'columns' => array(
array(
'name' => 'nothing',
'widget_class' => 'SubPanelIcon',
'module' => 'Calls',
'width' => '2%',
),
array(
'name' => 'name',
'vname' => 'LBL_LIST_SUBJECT',
'widget_class' => 'SubPanelDetailViewLink',
'width' => '28%',
),
array(
'name' => 'status',
'vname' => 'LBL_LIST_STATUS',
'width' => '10%',
),
array(
'name' => 'contact_name',
'module' => 'Contacts',
'widget_class' => 'SubPanelDetailViewLink',
'target_record_key' => 'contact_id',
'target_module' => 'Contacts',
'vname' => 'LBL_LIST_CONTACT',
'width' => '20%',
),
array(
'name' => 'parent_name',
'module' => 'Meetings',
'vname' => 'LBL_LIST_RELATED_TO',
'width' => '22%',
),
array(
'name' => 'date_modified',
//'db_alias_to' => 'the_date',
'vname' => 'LBL_LIST_LAST_MODIFIED',
'width' => '10%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelEditButton',
'module' => 'Calls',
'width' => '4%',
),
array(
'name' => 'nothing',
'widget_class' => 'SubPanelRemoveButton',
'linked_field' => 'calls',
'module' => 'Calls',
'width' => '4%',
),
),
'where' => "(calls.status='Held' OR calls.status='Not Held')",
'order_by' => 'calls.date_modified',
),
),
),
);
?>