Add php files
This commit is contained in:
51
modules/EcmWorkers/Dashlets/EcmWorkersDashlet/EcmWorkersDashlet.meta.php
Executable file
51
modules/EcmWorkers/Dashlets/EcmWorkersDashlet/EcmWorkersDashlet.meta.php
Executable file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
/*********************************************************************************
|
||||
|
||||
* Description: Defines the English language pack for the base application.
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________..
|
||||
********************************************************************************/
|
||||
|
||||
global $app_strings;
|
||||
|
||||
$dashletMeta['EcmWorkerDashlet'] = array('module' => 'EcmWorkers',
|
||||
'title' => translate('LBL_HOMEPAGE_TITLE', 'EcmWorkers'),
|
||||
'description' => 'A customizable view into EcmWorker',
|
||||
'icon' => 'icon_EcmWorker_32.gif',
|
||||
'category' => 'Module Views');
|
||||
62
modules/EcmWorkers/Dashlets/EcmWorkersDashlet/EcmWorkersDashlet.php
Executable file
62
modules/EcmWorkers/Dashlets/EcmWorkersDashlet/EcmWorkersDashlet.php
Executable file
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
/*********************************************************************************
|
||||
|
||||
* Description: Defines the English language pack for the base application.
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________..
|
||||
********************************************************************************/
|
||||
|
||||
require_once('include/Dashlets/DashletGeneric.php');
|
||||
require_once('modules/EcmWorkers/EcmWorker.php');
|
||||
|
||||
class EcmWorkerDashlet extends DashletGeneric {
|
||||
function EcmWorkerDashlet($id, $def = null) {
|
||||
global $current_user, $app_strings;
|
||||
require('modules/EcmWorker/metadata/dashletviewdefs.php');
|
||||
|
||||
parent::DashletGeneric($id, $def);
|
||||
|
||||
if(empty($def['title'])) $this->title = translate('LBL_HOMEPAGE_TITLE', 'EcmWorker');
|
||||
|
||||
$this->searchFields = $dashletData['EcmWorkerDashlet']['searchFields'];
|
||||
$this->columns = $dashletData['EcmWorkerDashlet']['columns'];
|
||||
|
||||
$this->seedBean = new EcmWorker();
|
||||
}
|
||||
}
|
||||
200
modules/EcmWorkers/EcmWorker.php
Executable file
200
modules/EcmWorkers/EcmWorker.php
Executable file
@@ -0,0 +1,200 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
|
||||
/**
|
||||
* THIS CLASS IS FOR DEVELOPERS TO MAKE CUSTOMIZATIONS IN
|
||||
*/
|
||||
class EcmWorker extends SugarBean {
|
||||
|
||||
var $new_schema = true;
|
||||
var $module_dir = 'EcmWorkers';
|
||||
var $object_name = 'EcmWorker';
|
||||
var $table_name = 'ecmworkers';
|
||||
var $importable = false;
|
||||
var $disable_row_level_security = true; // to ensure that modules created and deployed under CE will continue to function under team security if the instance is upgraded to PRO
|
||||
var $id;
|
||||
var $name;
|
||||
var $date_entered;
|
||||
var $date_modified;
|
||||
var $modified_user_id;
|
||||
var $modified_by_name;
|
||||
var $created_by;
|
||||
var $created_by_name;
|
||||
var $description;
|
||||
var $deleted;
|
||||
var $created_by_link;
|
||||
var $modified_user_link;
|
||||
var $assigned_user_id;
|
||||
var $assigned_user_name;
|
||||
var $assigned_user_link;
|
||||
var $salutation;
|
||||
var $department;
|
||||
var $first_name;
|
||||
var $last_name;
|
||||
var $phone_home;
|
||||
var $phone_mobile;
|
||||
var $phone_work;
|
||||
var $email1;
|
||||
var $email2;
|
||||
var $primary_address_street;
|
||||
var $primary_address_city;
|
||||
var $primary_address_state;
|
||||
var $primary_address_postalcode;
|
||||
var $primary_address_country;
|
||||
var $alt_address_street;
|
||||
var $alt_address_city;
|
||||
var $alt_address_state;
|
||||
var $alt_address_postalcode;
|
||||
var $alt_address_country;
|
||||
var $second_name;
|
||||
var $inland_revenue;
|
||||
var $health_insurance;
|
||||
var $pesel;
|
||||
var $birthday;
|
||||
var $birth_place;
|
||||
var $marital_status;
|
||||
var $family_name;
|
||||
var $gender;
|
||||
var $spouse_name;
|
||||
var $id_card_number;
|
||||
var $id_card_issued;
|
||||
var $id_card_date;
|
||||
var $citizenship;
|
||||
var $nationality;
|
||||
var $education;
|
||||
var $school_completed;
|
||||
var $account_ledger;
|
||||
var $position_office;
|
||||
var $cost;
|
||||
var $registration_number;
|
||||
var $form_employment;
|
||||
var $date_employment;
|
||||
var $date_internship;
|
||||
var $employment;
|
||||
var $zus_group;
|
||||
var $work_group;
|
||||
var $primary_address_community;
|
||||
var $primary_address_district;
|
||||
var $alt_address_community;
|
||||
var $alt_address_district;
|
||||
var $alt_mail;
|
||||
var $primary_mail;
|
||||
var $permanent_residence_card;
|
||||
var $mother_name;
|
||||
var $father_name;
|
||||
var $base_salary;
|
||||
var $category;
|
||||
var $temporary_residence_card;
|
||||
var $insurance_code;
|
||||
var $period_of_disability_from;
|
||||
var $period_of_disability_to;
|
||||
var $date_insurance;
|
||||
var $working_time;
|
||||
var $retirement;
|
||||
var $form_dismissal;
|
||||
var $sickness;
|
||||
var $disability;
|
||||
var $accidental;
|
||||
var $date_obligation;
|
||||
var $date_sickness;
|
||||
var $date_commencement;
|
||||
var $date_dismissal;
|
||||
var $date_graduation;
|
||||
var $phone_fax;
|
||||
var $date_retirement;
|
||||
var $employee_group;
|
||||
var $work_schedule;
|
||||
var $code_relationship;
|
||||
var $code_education;
|
||||
var $code_deregistration;
|
||||
var $code_profession;
|
||||
var $amount_contributions;
|
||||
var $name_bank;
|
||||
var $bank_account_number;
|
||||
var $bank_account;
|
||||
var $dismissal_reason;
|
||||
var $debtors_account;
|
||||
var $zus_date_disability;
|
||||
var $zus_annual_amount;
|
||||
var $zus_annual_base;
|
||||
var $person_id_series_number;
|
||||
var $person_relief;
|
||||
var $person_child_tax_credit;
|
||||
var $zus_common_household_employer;
|
||||
var $person_current_profession;
|
||||
var $person_learned_profession;
|
||||
var $zus_code_discrepancies;
|
||||
var $zus_date_discrepancies_from;
|
||||
var $zus_date_discrepancies_to;
|
||||
var $zus_code_mining_work;
|
||||
var $zus_date_mining_work_from;
|
||||
var $zus_date_mining_work_to;
|
||||
var $zus_code_charity_work;
|
||||
var $zus_date_charity_work_from;
|
||||
var $zus_date_charity_work_to;
|
||||
// var $worker_name;
|
||||
// var $worker_id;
|
||||
|
||||
function EcmWorker() {
|
||||
parent::SugarBean();
|
||||
$worker_name = $this->first_name . " " . $this->last_name;
|
||||
}
|
||||
|
||||
function bean_implements($interface) {
|
||||
switch ($interface) {
|
||||
case 'ACL': return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function save($check_notify = FALSE) {
|
||||
$this->name = $this->first_name . " " . $this->last_name;
|
||||
parent::save($check_notify);
|
||||
|
||||
}
|
||||
|
||||
function get_summary_text() {
|
||||
return $this->first_name . " " . $this->last_name;
|
||||
}
|
||||
|
||||
function fill_in_additional_detail_fields() {
|
||||
parent::fill_in_additional_detail_fields();
|
||||
// $worker_name = $this->first_name;
|
||||
// $worker_id = $this->id;
|
||||
}
|
||||
|
||||
}
|
||||
41
modules/EcmWorkers/Menu.php
Executable file
41
modules/EcmWorkers/Menu.php
Executable file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
global $mod_strings, $app_strings, $sugar_config;
|
||||
|
||||
if(ACLController::checkAccess('EcmWorkers', 'edit', true))$module_menu[]=Array("index.php?module=EcmWorkers&action=EditView&return_module=EcmWorkers&return_action=DetailView", $mod_strings['LNK_NEW_RECORD'],"CreateEcmWorker", 'EcmWorker');
|
||||
if(ACLController::checkAccess('EcmWorkers', 'list', true))$module_menu[]=Array("index.php?module=EcmWorkers&action=index&return_module=EcmWorkers&return_action=DetailView", $mod_strings['LNK_LIST'],"EcmWorker", 'EcmWorker');
|
||||
186
modules/EcmWorkers/language/en_us.lang.php
Executable file
186
modules/EcmWorkers/language/en_us.lang.php
Executable file
@@ -0,0 +1,186 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. 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_ACCIDENTAL' => 'Accidental',
|
||||
'LBL_ACCOUNT_LEDGER' => 'Konto księgowe',
|
||||
'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
|
||||
'LBL_ADDRESS_INFORMATION' => 'Address(es)',
|
||||
'LBL_ALT_ADDRESS_CITY' => 'Alternate City',
|
||||
'LBL_ALT_ADDRESS_COMMUNITY' => 'Primary community',
|
||||
'LBL_ALT_ADDRESS_COUNTRY' => 'Alternate Country',
|
||||
'LBL_ALT_ADDRESS_DISTRICT' => 'District',
|
||||
'LBL_ALT_ADDRESS_HOME' => 'Alternatywny numer domu',
|
||||
'LBL_ALT_ADDRESS_HOME_NUMBER' => 'Alternatywny numer mieszkania',
|
||||
'LBL_ALT_ADDRESS_POSTALCODE' => 'Alternate Postal Code',
|
||||
'LBL_ALT_ADDRESS_STATE' => 'Alternate State',
|
||||
'LBL_ALT_ADDRESS_STREET' => 'Alternate Address',
|
||||
'LBL_ALT_MAIL' => 'Mail',
|
||||
'LBL_AMOUNT_CONTRIBUTIONS' => 'Kwota i składki',
|
||||
'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
|
||||
'LBL_ASSIGNED_TO_NAME' => 'User',
|
||||
'LBL_BANK_ACCOUNT' => 'Rachunek bankowy',
|
||||
'LBL_BANK_ACCOUNT_NUMBER' => 'Numer rachunku',
|
||||
'LBL_BASE_SALARY' => 'Base salary',
|
||||
'LBL_BIRTHDAY' => 'Data urodzin',
|
||||
'LBL_BIRTH_PLACE' => 'Miejsce urodzenia',
|
||||
'LBL_CITIZENSHIP' => 'Obywatelstwo',
|
||||
'LBL_CITY' => 'City',
|
||||
'LBL_CODE_DEREGISTRATION' => 'Kod wyrejestrowania',
|
||||
'LBL_CODE_EDUCATION' => 'Education code',
|
||||
'LBL_CODE_PROFESSION' => 'Kod zawodu',
|
||||
'LBL_CODE_RELATIONSHIP' => 'Relationship code',
|
||||
'LBL_CONTACT_INFO' => 'Contact details',
|
||||
'LBL_CONTACT_INFORMATION' => 'Contact Information',
|
||||
'LBL_COST' => 'Koszt',
|
||||
'LBL_COUNTRY' => 'Country',
|
||||
'LBL_CREATED' => 'Created By',
|
||||
'LBL_CREATED_ID' => 'Created By Id',
|
||||
'LBL_CREATED_USER' => 'Created by User',
|
||||
'LBL_DATE_COMMENCEMENT' => 'Date commencement',
|
||||
'LBL_DATE_DISMISSAL' => 'Date dismissal',
|
||||
'LBL_DATE_EMPLOYMENT' => 'Date of Employment',
|
||||
'LBL_DATE_ENTERED' => 'Date Created',
|
||||
'LBL_DATE_GRADUATION' => 'Date of graduation',
|
||||
'LBL_DATE_INSURANCE' => 'Date of duty insurance',
|
||||
'LBL_DATE_INTERNSHIP' => 'Date internship',
|
||||
'LBL_DATE_MODIFIED' => 'Date Modified',
|
||||
'LBL_DATE_OBLIGATION' => 'Date obligation',
|
||||
'LBL_DATE_RETIREMENT' => 'Date of retirement',
|
||||
'LBL_DATE_SICKNESS' => 'Date_sickness',
|
||||
'LBL_DEBTORS_ACCOUNT' => 'Rachunku dłużnika',
|
||||
'LBL_DELETED' => 'Deleted',
|
||||
'LBL_DEPARTMENT' => 'Department',
|
||||
'LBL_DESCRIPTION' => 'Description',
|
||||
'LBL_DISABILITY' => 'Disability',
|
||||
'LBL_DISMISSAL' => 'Information dismissal',
|
||||
'LBL_DISMISSAL_REASON' => 'Przyczyna',
|
||||
'LBL_ECMWORKERS_SUBPANEL_TITLE' => 'Pracownicy',
|
||||
'LBL_EDUCATION' => 'Wykształcenie',
|
||||
'LBL_EMAIL_ADDRESS' => 'Email Address(es)',
|
||||
'LBL_EMAIL_ADDRESSES' => 'email',
|
||||
'LBL_EMPLOYEE_GROUP' => 'Employee group',
|
||||
'LBL_EMPLOYMENT' => 'Employment',
|
||||
'LBL_FAMILY_INFO' => 'Family information',
|
||||
'LBL_FAMILY_NAME' => 'Nazwisko rodowe',
|
||||
'LBL_FATHER_NAME' => 'Father name',
|
||||
'LBL_FAX_PHONE' => 'Fax',
|
||||
'LBL_FIRST_NAME' => 'First Name',
|
||||
'LBL_FORM_DISMISSAL' => 'Form dismissal',
|
||||
'LBL_FORM_EMPLOYMENT' => 'Form of Employment',
|
||||
'LBL_GENDER' => 'Płeć',
|
||||
'LBL_HEALTH_INSURANCE' => 'Kasa chorych',
|
||||
'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
|
||||
'LBL_HOMEPAGE_TITLE' => 'My Pracownicy',
|
||||
'LBL_HOME_PHONE' => 'Home Phone',
|
||||
'LBL_ID' => 'ID',
|
||||
'LBL_ID_CARD_DATE' => 'Data wydania',
|
||||
'LBL_ID_CARD_ISSUED' => 'Wydane przez',
|
||||
'LBL_ID_CARD_NUMBER' => 'Numer dowodu osobistego',
|
||||
'LBL_INLAND_REVENUE' => 'Urząd Skarbowy',
|
||||
'LBL_INSURANCE_CODE' => 'insurance code',
|
||||
'LBL_LAST_NAME' => 'Last Name',
|
||||
'LBL_LIST_FORM_TITLE' => 'Pracownicy List',
|
||||
'LBL_LIST_NAME' => 'Name',
|
||||
'LBL_MARITAL_STATUS' => 'Stan Cywilny',
|
||||
'LBL_MOBILE_PHONE' => 'Mobile Phone',
|
||||
'LBL_MODIFIED' => 'Modified By',
|
||||
'LBL_MODIFIED_ID' => 'Modified By Id',
|
||||
'LBL_MODIFIED_NAME' => 'Modified By Name',
|
||||
'LBL_MODIFIED_USER' => 'Modified by User',
|
||||
'LBL_MODULE_NAME' => 'Pracownicy',
|
||||
'LBL_MODULE_TITLE' => 'Pracownicy',
|
||||
'LBL_MOTHER_NAME' => 'Mother name',
|
||||
'LBL_NAME' => 'Name',
|
||||
'LBL_NAME_BANK' => 'Nazwa banku',
|
||||
'LBL_NATIONALITY' => 'Narodowość',
|
||||
'LBL_NEW_FORM_TITLE' => 'New Pracownicy',
|
||||
'LBL_OFFICE' => 'Information of employment',
|
||||
'LBL_OFFICE' => 'Office',
|
||||
'LBL_OFFICE_PHONE' => 'Office Phone',
|
||||
'LBL_OTHER_EMAIL_ADDRESS' => 'Other Email:',
|
||||
'LBL_OTHER_PHONE' => 'Other Phone',
|
||||
'LBL_PERIOD_OF_DISABILITY_FROM' => 'Period of disability from',
|
||||
'LBL_PERIOD_OF_DISABILITY_TO' => 'Period of disability to',
|
||||
'LBL_PERNAMENT_RESIDENCE_CARD' => 'Pernament residence card',
|
||||
'LBL_PERSONAL_INFO' => 'Personal info',
|
||||
'LBL_PERSON_CHILD_TAX_CREDIT' => 'Ulga na dzieci',
|
||||
'LBL_PERSON_CURRENT_PROFESSION' => 'Zawód wykonywany',
|
||||
'LBL_PERSON_ID_SERIES_NUMBER' => 'Seria i numer dokumentu',
|
||||
'LBL_PERSON_LEARNED_PROFESSION' => 'Zawód wyuczony',
|
||||
'LBL_PERSON_RELIEF' => 'Ulga',
|
||||
'LBL_PESEL' => 'Pesel',
|
||||
'LBL_PHONE_FAX' => 'Fax phone',
|
||||
'LBL_POSITION_OFFICE' => 'Stanowisko',
|
||||
'LBL_POSTALCODE' => 'Postal Code',
|
||||
'LBL_POSTAL_CODE' => 'Postal Code',
|
||||
'LBL_PRIMARY_ADDRESS' => 'Primary Address',
|
||||
'LBL_PRIMARY_ADDRESS_CITY' => 'Primary City',
|
||||
'LBL_PRIMARY_ADDRESS_COMMUNITY' => 'Primary community',
|
||||
'LBL_PRIMARY_ADDRESS_COUNTRY' => 'Primary Address Country:',
|
||||
'LBL_PRIMARY_ADDRESS_DISTRICT' => 'District',
|
||||
'LBL_PRIMARY_ADDRESS_HOME' => 'Numer domu',
|
||||
'LBL_PRIMARY_ADDRESS_HOME_NUMBER' => 'Numer mieszkania',
|
||||
'LBL_PRIMARY_ADDRESS_POSTALCODE' => 'Primary Postal Code',
|
||||
'LBL_PRIMARY_ADDRESS_STATE' => 'Primary State',
|
||||
'LBL_PRIMARY_ADDRESS_STREET' => 'Primary Address',
|
||||
'LBL_PRIMARY_MAIL' => 'Mail',
|
||||
'LBL_REGISTRATION_NUMBER' => 'Numer ewidencyjny',
|
||||
'LBL_RETIREMENT' => 'Retirement',
|
||||
'LBL_SALUTATION' => 'Salutation',
|
||||
'LBL_SCHOOL_COMPLETED' => 'Ukończona szkoła',
|
||||
'LBL_SEARCH_FORM_TITLE' => 'Search Pracownicy',
|
||||
'LBL_SECOND_NAME' => 'Drugie imię',
|
||||
'LBL_SICKNESS' => 'Sickness',
|
||||
'LBL_SPOUSE_NAME' => 'Imię współmałżonka',
|
||||
'LBL_STATE' => 'State',
|
||||
'LBL_STREET' => 'Other Address',
|
||||
'LBL_TEMPORARY_RESIDENCE_CARD' => 'Temporary residence card',
|
||||
'LBL_WORKING_TIME' => 'Working time',
|
||||
'LBL_WORK_PHONE' => 'Work Phone',
|
||||
'LBL_WORK_SCHEDULE' => 'work schedule',
|
||||
'LBL_ZUS_ANNUAL_AMOUNT' => 'Roczna kwota ZUS',
|
||||
'LBL_ZUS_ANNUAL_BASE' => 'Roczna podstawa ZUS',
|
||||
'LBL_ZUS_COMMON_HOUSEHOLD_EMPLOYER' => 'Wspólne gospodarstwo domowe z pracodawcą',
|
||||
'LBL_ZUS_DATE_DISABILITY' => 'Rentowe',
|
||||
'LBL_ZUS_GROUP' => 'Group ZUS',
|
||||
'LBL_ZUS_INFO' => 'ZUS information',
|
||||
'LNK_IMPORT_ECMWORKERS' => 'Import Pracownicy',
|
||||
'LNK_IMPORT_VCARD' => 'Create From vCard',
|
||||
'LNK_LIST' => 'View Pracownicy',
|
||||
'LNK_NEW_RECORD' => 'Create Pracownicy',
|
||||
);
|
||||
?>
|
||||
201
modules/EcmWorkers/language/pl_pl.lang.php
Executable file
201
modules/EcmWorkers/language/pl_pl.lang.php
Executable file
@@ -0,0 +1,201 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. 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_ACCIDENTAL' => 'Wypadkowemu',
|
||||
'LBL_ACCOUNT_LEDGER' => 'Konto księgowe',
|
||||
'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Działania',
|
||||
'LBL_ADDRESS_INFORMATION' => 'Adresy',
|
||||
'LBL_ALT_ADDRESS_CITY' => 'Miasto',
|
||||
'LBL_ALT_ADDRESS_COMMUNITY' => 'Gmina',
|
||||
'LBL_ALT_ADDRESS_COUNTRY' => 'Państwo',
|
||||
'LBL_ALT_ADDRESS_DISTRICT' => 'Powiat',
|
||||
'LBL_ALT_ADDRESS_HOME' => 'Numer domu',
|
||||
'LBL_ALT_ADDRESS_HOME_NUMBER' => 'Numer mieszkania',
|
||||
'LBL_ALT_ADDRESS_POSTALCODE' => 'Kod pocztowy',
|
||||
'LBL_ALT_ADDRESS_STATE' => 'Województwo',
|
||||
'LBL_ALT_ADDRESS_STREET' => 'Adres',
|
||||
'LBL_ALT_MAIL' => 'Poczta',
|
||||
'LBL_AMOUNT_CONTRIBUTIONS' => 'Kwota i składki',
|
||||
'LBL_ASSIGNED_TO_ID' => 'ID przydzielonego użytkownika',
|
||||
'LBL_ASSIGNED_TO_NAME' => 'Przydzielone do',
|
||||
'LBL_BANK_ACCOUNT' => 'Rachunek bankowy',
|
||||
'LBL_BANK_ACCOUNT_NUMBER' => 'Numer rachunku',
|
||||
'LBL_BASE_SALARY' => 'Wynagrodzenie zasadnicze',
|
||||
'LBL_BIRTHDAY' => 'Data urodzin',
|
||||
'LBL_BIRTH_PLACE' => 'Miejsce urodzenia',
|
||||
'LBL_CITIZENSHIP' => 'Obywatelstwo',
|
||||
'LBL_CITY' => 'Miasto',
|
||||
'LBL_CODE_DEREGISTRATION' => 'Kod wyrejestrowania',
|
||||
'LBL_CODE_EDUCATION' => 'Kod wykształcenia',
|
||||
'LBL_CODE_PROFESSION' => 'Kod zawodu',
|
||||
'LBL_CODE_RELATIONSHIP' => 'Kod pokrewieństwa',
|
||||
'LBL_CONTACT_INFO' => 'Dane kontaktowe',
|
||||
'LBL_CONTACT_INFORMATION' => 'Informacje o kontakcie',
|
||||
'LBL_COST' => 'Koszt',
|
||||
'LBL_COUNTRY' => 'Kraj',
|
||||
'LBL_CREATED' => 'Utworzone przez',
|
||||
'LBL_CREATED_ID' => 'ID tworzącego',
|
||||
'LBL_CREATED_USER' => 'Stworzone przez użytkownika',
|
||||
'LBL_DATE_COMMENCEMENT' => 'Data rozpoczęcia',
|
||||
'LBL_DATE_DISMISSAL' => 'Data zwolnienia',
|
||||
'LBL_DATE_EMPLOYMENT' => 'Data zatrudnienia',
|
||||
'LBL_DATE_EMPLOYMENT_TO' => 'Data zatrudnienia do',
|
||||
'LBL_DATE_ENTERED' => 'Data utworzenia',
|
||||
'LBL_DATE_GRADUATION' => 'Data ukończenia nauki',
|
||||
'LBL_DATE_INSURANCE' => 'Data Obowiązku ubezpieczenia',
|
||||
'LBL_DATE_INTERNSHIP' => 'Data do stażu pracy',
|
||||
'LBL_DATE_MODIFIED' => 'Data modyfikacji',
|
||||
'LBL_DATE_OBLIGATION' => 'Data powstania obowiązku',
|
||||
'LBL_DATE_RETIREMENT' => 'Emerytalne',
|
||||
'LBL_DATE_SICKNESS' => 'Chorobowe',
|
||||
'LBL_DEBTORS_ACCOUNT' => 'Rachunku dłużnika',
|
||||
'LBL_DELETED' => 'Usunięto',
|
||||
'LBL_DEPARTMENT' => 'Oddział',
|
||||
'LBL_DESCRIPTION' => 'Opis',
|
||||
'LBL_DISABILITY' => 'Rentownym',
|
||||
'LBL_DISMISSAL' => 'Informacje o zwolnieniu',
|
||||
'LBL_DISMISSAL_REASON' => 'Przyczyna',
|
||||
'LBL_ECMWORKERS_SUBPANEL_TITLE' => 'Pracownicy',
|
||||
'LBL_EDUCATION' => 'Wykształcenie',
|
||||
'LBL_EMAIL_ADDRESS' => 'Adres email',
|
||||
'LBL_EMAIL_ADDRESSES' => 'email',
|
||||
'LBL_EMPLOYEE_GROUP' => 'Grupa pracownicza',
|
||||
'LBL_EMPLOYMENT' => 'Zatrudnienie',
|
||||
'LBL_FAMILY_INFO' => 'Informacje o rodzinie',
|
||||
'LBL_FAMILY_NAME' => 'Nazwisko rodowe',
|
||||
'LBL_FATHER_NAME' => 'Imię ojca',
|
||||
'LBL_FAX_PHONE' => 'Fax',
|
||||
'LBL_FIRST_NAME' => 'Imię',
|
||||
'LBL_FORM_DISMISSAL' => 'Forma zwolnienia',
|
||||
'LBL_FORM_EMPLOYMENT' => 'Forma zatrudnienia',
|
||||
'LBL_GENDER' => 'Płeć',
|
||||
'LBL_HEALTH_INSURANCE' => 'Kasa chorych',
|
||||
'LBL_HISTORY_SUBPANEL_TITLE' => 'Zobacz historię',
|
||||
'LBL_HOMEPAGE_TITLE' => 'Moja Pracownicy',
|
||||
'LBL_HOME_PHONE' => 'Telefon domowy',
|
||||
'LBL_ID' => 'ID',
|
||||
'LBL_ID_CARD_DATE' => 'Data wydania',
|
||||
'LBL_ID_CARD_ISSUED' => 'Wydany przez',
|
||||
'LBL_ID_CARD_NUMBER' => 'Rodzaj dowodu',
|
||||
'LBL_INLAND_REVENUE' => 'Urząd Skarbowy',
|
||||
'LBL_INSURANCE_CODE' => 'Kod ubezpieczenia',
|
||||
'LBL_LAST_NAME' => 'Nazwisko',
|
||||
'LBL_LIST_FORM_TITLE' => 'Pracownicy Lista',
|
||||
'LBL_LIST_NAME' => 'Nazwa',
|
||||
'LBL_MARITAL_STATUS' => 'Stan Cywilny',
|
||||
'LBL_MOBILE_PHONE' => 'Telefon komórkowy',
|
||||
'LBL_MODIFIED' => 'Zmodyfikowane przez',
|
||||
'LBL_MODIFIED_ID' => 'ID modyfikującego',
|
||||
'LBL_MODIFIED_NAME' => 'Nazwa modyfikującego',
|
||||
'LBL_MODIFIED_USER' => 'Zmodyfikowane przez użytkownika',
|
||||
'LBL_MODULE_NAME' => 'Pracownicy',
|
||||
'LBL_MODULE_TITLE' => 'Pracownicy',
|
||||
'LBL_MOTHER_NAME' => 'Imię matki',
|
||||
'LBL_NAME' => 'Nazwa',
|
||||
'LBL_NAME_BANK' => 'Nazwa banku',
|
||||
'LBL_NATIONALITY' => 'Narodowość',
|
||||
'LBL_NEW_FORM_TITLE' => 'Nowy Pracownicy',
|
||||
'LBL_OFFICE' => 'Informacje o zatrudnieniu',
|
||||
'LBL_OFFICE_PHONE' => 'Telefon służbowy',
|
||||
'LBL_OTHER_EMAIL_ADDRESS' => 'Inny email:',
|
||||
'LBL_OTHER_PHONE' => 'Inny tel.',
|
||||
'LBL_PERIOD' => 'Okres',
|
||||
'LBL_PERIOD_OF_DISABILITY_FROM' => 'Okres niepełnosprawności od',
|
||||
'LBL_PERIOD_OF_DISABILITY_TO' => 'Okres niepełnosprawności do',
|
||||
'LBL_PERNAMENT_RESIDENCE_CARD' => 'Karta stałego pobytu',
|
||||
'LBL_PERSONAL_INFO' => 'Dane personalne',
|
||||
'LBL_PERSON_CHILD_TAX_CREDIT' =>'Ulga na dzieci',
|
||||
'LBL_PERSON_CURRENT_PROFESSION' => 'Zawód wykonywany',
|
||||
'LBL_PERSON_ID_SERIES_NUMBER' => 'Seria i numer dokumentu',
|
||||
'LBL_PERSON_LEARNED_PROFESSION' => 'Zawód wyuczony',
|
||||
'LBL_PERSON_RELIEF' => 'Ulga',
|
||||
'LBL_PESEL' => 'Pesel',
|
||||
'LBL_PHONE_FAX' => 'Fax',
|
||||
'LBL_POSITION_OFFICE' => 'Stanowisko',
|
||||
'LBL_POSTALCODE' => 'Kod pocztowy',
|
||||
'LBL_POSTAL_CODE' => 'Kod pocztowy',
|
||||
'LBL_PRIMARY_ADDRESS' => 'Adres zamieszkania',
|
||||
'LBL_PRIMARY_ADDRESS_CITY' => 'Miasto',
|
||||
'LBL_PRIMARY_ADDRESS_COMMUNITY' => 'Gmina',
|
||||
'LBL_PRIMARY_ADDRESS_COUNTRY' => 'Państwo',
|
||||
'LBL_PRIMARY_ADDRESS_DISTRICT' => 'Powiat',
|
||||
'LBL_PRIMARY_ADDRESS_HOME' => 'Numer domu',
|
||||
'LBL_PRIMARY_ADDRESS_HOME_NUMBER' => 'Numer mieszkania',
|
||||
'LBL_PRIMARY_ADDRESS_POSTALCODE' => 'Kod pocztowy',
|
||||
'LBL_PRIMARY_ADDRESS_STATE' => 'Województwo',
|
||||
'LBL_PRIMARY_ADDRESS_STREET' => 'Ulica',
|
||||
'LBL_PRIMARY_MAIL' => 'Poczta',
|
||||
'LBL_REGISTRATION_NUMBER' => 'Numer ewidencyjny',
|
||||
'LBL_RETIREMENT' => 'Emerytalnemu',
|
||||
'LBL_SALUTATION' => 'Pozdrowienie',
|
||||
'LBL_SCHOOL_COMPLETED' => 'Ukończona szkoła',
|
||||
'LBL_SEARCH_FORM_TITLE' => 'Szukaj Pracownicy',
|
||||
'LBL_SECOND_NAME' => 'Drugie imię',
|
||||
'LBL_SICKNESS' => 'Chorobowemu',
|
||||
'LBL_SPOUSE_NAME' => 'Imię współmałżonka',
|
||||
'LBL_STATE' => 'Woj.',
|
||||
'LBL_STREET' => 'Ulica',
|
||||
'LBL_TEMPORARY_RESIDENCE_CARD' => 'Karta tymczasowego pobytu',
|
||||
'LBL_WORKING_TIME' => 'Wymiar czasu pracy',
|
||||
'LBL_WORK_PHONE' => 'Telefon do pracy',
|
||||
'LBL_WORK_SCHEDULE' => 'Harmonogram pracy',
|
||||
'LBL_ZUS_ANNUAL_AMOUNT' => 'Roczna kwota ZUS',
|
||||
'LBL_ZUS_ANNUAL_BASE' => 'Roczna podstawa ZUS',
|
||||
'LBL_ZUS_CODE_CHARITY_WORK' => 'Kod pracy charetatywnej',
|
||||
'LBL_ZUS_CODE_DISCREPANCIES' => 'Kod niezgodności',
|
||||
'LBL_ZUS_CODE_MINING_WORK' => 'Kod pracy górniczej',
|
||||
'LBL_ZUS_COMMON_HOUSEHOLD_EMPLOYER' => 'Wspólne gospodarstwo domowe z pracodawcą',
|
||||
'LBL_ZUS_DATE_CHARITY_WORK_FROM' => 'Okres pracy charytatywnej od',
|
||||
'LBL_ZUS_DATE_CHARITY_WORK_TO' => 'Okres pracy charytatywnej do',
|
||||
'LBL_ZUS_DATE_DISABILITY' => 'Rentowe',
|
||||
'LBL_ZUS_DATE_DISCREPANCIES_FROM' => 'Okres niezgodności od',
|
||||
'LBL_ZUS_DATE_DISCREPANCIES_TO' => 'Okres niezgodności do',
|
||||
'LBL_ZUS_DATE_MINING_WORK_FROM' => 'Okres pracy górniczej od',
|
||||
'LBL_ZUS_DATE_MINING_WORK_TO' => 'Okres pracy górniczej do',
|
||||
'LBL_ZUS_GROUP' => 'Grupa ZUS',
|
||||
'LBL_ZUS_LABEL1' => 'Dane do ZUS: Dane o obowiązkowych ubezpieczeniach społecznych',
|
||||
'LBL_ZUS_LABEL2' => 'Dane do ZUS: Osoba podlega ubezpieczeniom',
|
||||
'LBL_ZUS_LABEL3' => 'Dane do ZUS: Inne dane',
|
||||
'LBL_ZUS_LABEL4' => 'Dane do ZUS: Dane o dobrowolnych ubezpieczeniach społecznych',
|
||||
'LNK_IMPORT_ECMWORKERS' => 'Import Pracownicy',
|
||||
'LNK_IMPORT_VCARD' => 'Utwórz z vCard',
|
||||
'LNK_LIST' => ' Lista Pracowników',
|
||||
'LNK_NEW_RECORD' => 'Nowy Pracownik',
|
||||
'LBL_ACTIVE' => 'Aktywny',
|
||||
);
|
||||
?>
|
||||
51
modules/EcmWorkers/metadata/SearchFields.php
Executable file
51
modules/EcmWorkers/metadata/SearchFields.php
Executable file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
$module_name = 'EcmWorkers';
|
||||
$searchFields[$module_name] =
|
||||
array (
|
||||
'first_name' => array( 'query_type'=>'default'),
|
||||
'last_name'=> array('query_type'=>'default'),
|
||||
'search_name'=> array('query_type'=>'default','db_field'=>array('first_name','last_name'),'force_unifiedsearch'=>true),
|
||||
'phone'=> array('query_type'=>'default','db_field'=>array('phone_mobile','phone_work',)),
|
||||
'address_street'=> array('query_type'=>'default','db_field'=>array('primary_address_street','alt_address_street')),
|
||||
'address_city'=> array('query_type'=>'default','db_field'=>array('primary_address_city','alt_address_city')),
|
||||
'address_state'=> array('query_type'=>'default','db_field'=>array('primary_address_state','alt_address_state')),
|
||||
'address_postalcode'=> array('query_type'=>'default','db_field'=>array('primary_address_postalcode','alt_address_postalcode')),
|
||||
'address_country'=> array('query_type'=>'default','db_field'=>array('primary_address_country','alt_address_country')),
|
||||
'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
|
||||
);
|
||||
?>
|
||||
60
modules/EcmWorkers/metadata/dashletviewdefs.php
Executable file
60
modules/EcmWorkers/metadata/dashletviewdefs.php
Executable file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
if (!defined('sugarEntry') || !sugarEntry)
|
||||
die('Not A Valid Entry Point');
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
|
||||
|
||||
|
||||
global $current_user;
|
||||
$dashletData['EcmWorkersDashlet']['searchFields'] = array('date_entered' => array('default' => ''),
|
||||
'date_modified' => array('default' => ''),
|
||||
'assigned_user_id' => array('type' => 'assigned_user_name',
|
||||
'default' => $current_user->name));
|
||||
$dashletData['EcmWorkersDashlet']['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'),
|
||||
);
|
||||
589
modules/EcmWorkers/metadata/detailviewdefs.php
Executable file
589
modules/EcmWorkers/metadata/detailviewdefs.php
Executable file
@@ -0,0 +1,589 @@
|
||||
<?php
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
$module_name = 'EcmWorkers';
|
||||
$viewdefs[$module_name]['DetailView'] = array(
|
||||
'templateMeta' => array(
|
||||
'form' => array(
|
||||
'buttons' => array(
|
||||
'EDIT',
|
||||
'DELETE',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'includes' => array(
|
||||
0 => array(
|
||||
'file' => 'modules/EcmWorkers/js/detailView.js'
|
||||
),
|
||||
),
|
||||
),
|
||||
'panels' => array(
|
||||
'LBL_PERSONAL_INFO' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'first_name',
|
||||
'label' => 'LBL_FIRST_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'gender',
|
||||
'label' => 'LBL_GENDER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'second_name',
|
||||
'label' => 'LBL_SECOND_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_number',
|
||||
'label' => 'LBL_ID_CARD_NUMBER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'last_name',
|
||||
'label' => 'LBL_LAST_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_date',
|
||||
'label' => 'LBL_ID_CARD_DATE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'birthday',
|
||||
'label' => 'LBL_BIRTHDAY',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_issued',
|
||||
'label' => 'LBL_ID_CARD_ISSUED',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'birth_place',
|
||||
'label' => 'LBL_BIRTH_PLACE',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_id_series_number',
|
||||
'label' => 'LBL_PERSON_ID_SERIES_NUMBER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'pesel',
|
||||
'label' => 'LBL_PESEL',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_relief',
|
||||
'label' => 'LBL_PERSON_RELIEF',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'citizenship',
|
||||
'label' => 'LBL_CITIZENSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_child_tax_credit',
|
||||
'label' => 'LBL_PERSON_CHILD_TAX_CREDIT'
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'nationality',
|
||||
'label' => 'LBL_NATIONALITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'account_ledger',
|
||||
'label' => 'LBL_ACCOUNT_LEDGER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'debtors_account',
|
||||
'label' => 'LBL_DEBTORS_ACCOUNT',
|
||||
),
|
||||
array(
|
||||
'name' => 'school_completed',
|
||||
'label' => 'LBL_SCHOOL_COMPLETED',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'bank_account',
|
||||
'label' => 'LBL_BANK_ACCOUNT',
|
||||
),
|
||||
array(
|
||||
'name' => 'education',
|
||||
'label' => 'LBL_EDUCATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'name_bank',
|
||||
'label' => 'LBL_NAME_BANK',
|
||||
),
|
||||
array(
|
||||
'name' => 'date_graduation',
|
||||
'label' => 'LBL_DATE_GRADUATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'bank_account_number',
|
||||
'label' => 'LBL_BANK_ACCOUNT_NUMBER',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_learned_profession',
|
||||
'label' => 'LBL_PERSON_LEARNED_PROFESSION'
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(),
|
||||
array(
|
||||
'name' => 'person_current_profession',
|
||||
'label' => 'LBL_PERSON_CURRENT_PROFESSION',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ADDRESS_INFORMATION' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_country',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_COUNTRY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_country',
|
||||
'label' => 'LBL_ALT_ADDRESS_COUNTRY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_state',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STATE',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_state',
|
||||
'label' => 'LBL_ALT_ADDRESS_STATE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_city',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_CITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_city',
|
||||
'label' => 'LBL_ALT_ADDRESS_CITY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_postalcode',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_postalcode',
|
||||
'label' => 'LBL_ALT_ADDRESS_POSTALCODE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_street',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STREET',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_street',
|
||||
'label' => 'LBL_ALT_ADDRESS_STREET',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_community',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_COMMUNITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_community',
|
||||
'label' => 'LBL_ALT_ADDRESS_COMMUNITY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_district',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_DISTRICT',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_district',
|
||||
'label' => 'LBL_ALT_ADDRESS_DISTRICT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_mail',
|
||||
'label' => 'LBL_PRIMARY_MAIL',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_mail',
|
||||
'label' => 'LBL_ALT_MAIL',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'email1',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
),
|
||||
array(
|
||||
'name' => 'email2',
|
||||
'label' => 'LBL_OTHER_EMAIL_ADDRESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'phone_mobile',
|
||||
'label' => 'LBL_MOBILE_PHONE',
|
||||
),
|
||||
array(
|
||||
'name' => 'phone_work',
|
||||
'label' => 'LBL_OFFICE_PHONE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'phone_home',
|
||||
'label' => 'LBL_HOME_PHONE',
|
||||
),
|
||||
array(
|
||||
'name' => 'phone_fax',
|
||||
'label' => 'LBL_HOME_PHONE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_OFFICE' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'registration_number',
|
||||
'label' => 'LBL_REGISTRATION_NUMBER',
|
||||
),
|
||||
array(
|
||||
'name' => 'department',
|
||||
'label' => 'LBL_DEPARTMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'inland_revenue',
|
||||
'label' => 'LBL_INLAND_REVENUE',
|
||||
),
|
||||
array(
|
||||
'name' => 'cost',
|
||||
'label' => 'LBL_COST',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'health_insurance',
|
||||
'label' => 'LBL_HEALTH_INSURANCE',
|
||||
),
|
||||
array(
|
||||
'name' => 'position_office',
|
||||
'label' => 'LBL_POSITION_OFFICE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'form_employment',
|
||||
'label' => 'LBL_FORM_EMPLOYMENT',
|
||||
),
|
||||
array(
|
||||
'name' => 'date_employment',
|
||||
'customCode' => '{$fields.date_employment.value} - {$fields.date_employment_to.value}',
|
||||
'label' => 'LBL_DATE_EMPLOYMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_internship',
|
||||
'label' => 'LBL_DATE_INTERNSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'employment',
|
||||
'label' => 'LBL_EMPLOYMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_group',
|
||||
'label' => 'LBL_ZUS_GROUP',
|
||||
),
|
||||
array(
|
||||
'name' => 'employee_group',
|
||||
'label' => 'LBL_EMPLOYEE_GROUP',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'base_salary',
|
||||
'label' => 'LBL_BASE_SALARY',
|
||||
),
|
||||
array(
|
||||
'name' => 'work_schedule',
|
||||
'label' => 'LBL_WORK_SCHEDULE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'active',
|
||||
'label' => 'LBL_ACTIVE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_FAMILY_INFO' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'father_name',
|
||||
'label' => 'LBL_FATHER_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'family_name',
|
||||
'label' => 'LBL_FAMILY_NAME',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'mother_name',
|
||||
'label' => 'LBL_MOTHER_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'marital_status',
|
||||
'label' => 'LBL_MARITAL_STATUS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'spouse_name',
|
||||
'label' => 'LBL_SPOUSE_NAME',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL1' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'permanent_residence_card',
|
||||
'label' => 'LBL_PERNAMENT_RESIDENCE_CARD',
|
||||
),
|
||||
array(
|
||||
'name' => 'temporary_residence_card',
|
||||
'label' => 'LBL_TEMPORARY_RESIDENCE_CARD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'insurance_code',
|
||||
'label' => 'LBL_INSURANCE_CODE',
|
||||
),
|
||||
array(
|
||||
'name' => 'period_of_disability_from',
|
||||
'label' => 'LBL_PERIOD_OF_DISABILITY_FROM',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'working_time',
|
||||
'label' => 'LBL_WORKING_TIME'
|
||||
),
|
||||
array(
|
||||
'name' => 'period_of_disability_to',
|
||||
'label' => 'LBL_PERIOD_OF_DISABILITY_TO',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_insurance',
|
||||
'label' => 'LBL_DATE_INSURANCE',
|
||||
),
|
||||
array(
|
||||
'name' => 'amount_contributions',
|
||||
'label' => 'LBL_AMOUNT_CONTRIBUTIONS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_commencement',
|
||||
'label' => 'LBL_DATE_COMMENCEMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_obligation',
|
||||
'label' => 'LBL_DATE_OBLIGATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_annual_amount',
|
||||
'label' => 'LBL_ZUS_ANNUAL_AMOUNT',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_annual_base',
|
||||
'label' => 'LBL_ZUS_ANNUAL_BASE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL2' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'disability',
|
||||
'label' => 'LBL_DISABILITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'sickness',
|
||||
'label' => 'LBL_SICKNESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'retirement',
|
||||
'label' => 'LBL_RETIREMENT',
|
||||
),
|
||||
array(
|
||||
'name' => 'accidental',
|
||||
'label' => 'LBL_ACCIDENTAL',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL4' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_sickness',
|
||||
'label' => 'LBL_DATE_SICKNESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_retirement',
|
||||
'label' => 'LBL_DATE_RETIREMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_date_disability',
|
||||
'label' => 'LBL_ZUS_DATE_DISABILITY',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL3' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'code_relationship',
|
||||
'label' => 'LBL_CODE_RELATIONSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'code_education',
|
||||
'label' => 'LBL_CODE_EDUCATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_common_household_employer',
|
||||
'label' => 'LBL_ZUS_COMMON_HOUSEHOLD_EMPLOYER',
|
||||
),
|
||||
array(
|
||||
'name' => 'code_profession',
|
||||
'label' => 'LBL_CODE_PROFESSION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_discrepancies',
|
||||
'label' => 'LBL_ZUS_CODE_DISCREPANCIES',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_discrepancies_from',
|
||||
'customCode' => '{$fields.zus_date_discrepancies_from.value} - {$fields.zus_date_discrepancies_to.value}',
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_mining_work',
|
||||
'label' => 'LBL_ZUS_CODE_MINING_WORK',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_mining_work_from',
|
||||
'customCode' => '{$fields.zus_date_mining_work_from.value} - {$fields.zus_date_mining_work_to.value}',
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_charity_work',
|
||||
'label' => 'LBL_ZUS_CODE_CHARITY_WORK',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_charity_work_from',
|
||||
'customCode' => '{$fields.zus_date_charity_work_from.value} - {$fields.zus_date_charity_work_to.value}',
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_DISMISSAL' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'form_dismissal',
|
||||
'label' => 'LBL_FORM_DISMISSAL',
|
||||
),
|
||||
array(
|
||||
'name' => 'date_dismissal',
|
||||
'label' => 'LBL_DATE_DISMISSAL',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'code_deregistration',
|
||||
'label' => 'LBL_CODE_DEREGISTRATION',
|
||||
),
|
||||
array(
|
||||
'name' => 'dismissal_reason',
|
||||
'label' => 'LBL_DISMISSAL_REASON',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
594
modules/EcmWorkers/metadata/editviewdefs.php
Executable file
594
modules/EcmWorkers/metadata/editviewdefs.php
Executable file
@@ -0,0 +1,594 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
$module_name = 'EcmWorkers';
|
||||
$viewdefs[$module_name]['EditView'] = array(
|
||||
'templateMeta' => array(
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '20', 'field' => '60'),
|
||||
array('label' => '20', 'field' => '60'),
|
||||
),
|
||||
'javascript' => '
|
||||
<script type="text/javascript" src="include/javascript/popup_parent_helper.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/jsolait/init.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/jsolait/lib/urllib.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
||||
<script type="text/javascript" src="include/javascript/jsclass_base.js"></script>
|
||||
<script type="text/javascript" src="include/javascript/jsclass_async.js"></script>
|
||||
<script type="text/javascript" src="include/JSON.js?s={$SUGAR_VERSION}"></script>
|
||||
',
|
||||
'includes' => array(
|
||||
0 => array(
|
||||
'file' => 'modules/EcmWorkers/js/editView.js'
|
||||
),
|
||||
),
|
||||
),
|
||||
'panels' => array(
|
||||
'LBL_PERSONAL_INFO' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'first_name',
|
||||
'label' => 'LBL_FIRST_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'gender',
|
||||
'label' => 'LBL_GENDER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'second_name',
|
||||
'label' => 'LBL_SECOND_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_number',
|
||||
'label' => 'LBL_ID_CARD_NUMBER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'last_name',
|
||||
'label' => 'LBL_LAST_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_date',
|
||||
'label' => 'LBL_ID_CARD_DATE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'birthday',
|
||||
'label' => 'LBL_BIRTHDAY',
|
||||
),
|
||||
array(
|
||||
'name' => 'id_card_issued',
|
||||
'label' => 'LBL_ID_CARD_ISSUED',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'birth_place',
|
||||
'label' => 'LBL_BIRTH_PLACE',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_id_series_number',
|
||||
'label' => 'LBL_PERSON_ID_SERIES_NUMBER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'pesel',
|
||||
'label' => 'LBL_PESEL',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_relief',
|
||||
'label' => 'LBL_PERSON_RELIEF',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'citizenship',
|
||||
'label' => 'LBL_CITIZENSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'person_child_tax_credit',
|
||||
'label' => 'LBL_PERSON_CHILD_TAX_CREDIT'
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'nationality',
|
||||
'label' => 'LBL_NATIONALITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'account_ledger',
|
||||
'label' => 'LBL_ACCOUNT_LEDGER',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'bank_account',
|
||||
'label' => 'LBL_BANK_ACCOUNT',
|
||||
),
|
||||
array(
|
||||
'name' => 'school_completed',
|
||||
'label' => 'LBL_SCHOOL_COMPLETED',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'name_bank',
|
||||
'label' => 'LBL_NAME_BANK',
|
||||
),
|
||||
array(
|
||||
'name' => 'education',
|
||||
'label' => 'LBL_EDUCATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'bank_account_number',
|
||||
'label' => 'LBL_BANK_ACCOUNT_NUMBER',
|
||||
'displayParams' => array('size' => 40),
|
||||
),
|
||||
array(
|
||||
'name' => 'date_graduation',
|
||||
'label' => 'LBL_DATE_GRADUATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(),
|
||||
array(
|
||||
'name' => 'person_learned_profession',
|
||||
'label' => 'LBL_PERSON_LEARNED_PROFESSION'
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(),
|
||||
array(
|
||||
'name' => 'person_current_profession',
|
||||
'label' => 'LBL_PERSON_CURRENT_PROFESSION',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ADDRESS_INFORMATION' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_country',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_COUNTRY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_country',
|
||||
'label' => 'LBL_ALT_ADDRESS_COUNTRY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_state',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STATE',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_state',
|
||||
'label' => 'LBL_ALT_ADDRESS_STATE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_city',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_CITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_city',
|
||||
'label' => 'LBL_ALT_ADDRESS_CITY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_postalcode',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_postalcode',
|
||||
'label' => 'LBL_ALT_ADDRESS_POSTALCODE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_street',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STREET',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_street',
|
||||
'label' => 'LBL_ALT_ADDRESS_STREET',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_community',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_COMMUNITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_community',
|
||||
'label' => 'LBL_ALT_ADDRESS_COMMUNITY',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_address_district',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_DISTRICT',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_address_district',
|
||||
'label' => 'LBL_ALT_ADDRESS_DISTRICT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'primary_mail',
|
||||
'label' => 'LBL_PRIMARY_MAIL',
|
||||
),
|
||||
array(
|
||||
'name' => 'alt_mail',
|
||||
'label' => 'LBL_ALT_MAIL',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'email1',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
),
|
||||
array(
|
||||
'name' => 'email2',
|
||||
'label' => 'LBL_OTHER_EMAIL_ADDRESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'phone_mobile',
|
||||
'label' => 'LBL_MOBILE_PHONE',
|
||||
),
|
||||
array(
|
||||
'name' => 'phone_work',
|
||||
'label' => 'LBL_OFFICE_PHONE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'phone_home',
|
||||
'label' => 'LBL_HOME_PHONE',
|
||||
),
|
||||
array(
|
||||
'name' => 'phone_fax',
|
||||
'label' => 'LBL_HOME_PHONE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_OFFICE' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'registration_number',
|
||||
'label' => 'LBL_REGISTRATION_NUMBER',
|
||||
),
|
||||
array(
|
||||
'name' => 'department',
|
||||
'label' => 'LBL_DEPARTMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'inland_revenue',
|
||||
'label' => 'LBL_INLAND_REVENUE',
|
||||
),
|
||||
array(
|
||||
'name' => 'cost',
|
||||
'label' => 'LBL_COST',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'health_insurance',
|
||||
'label' => 'LBL_HEALTH_INSURANCE',
|
||||
),
|
||||
array(
|
||||
'name' => 'position_office',
|
||||
'label' => 'LBL_POSITION_OFFICE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'form_employment',
|
||||
'label' => 'LBL_FORM_EMPLOYMENT',
|
||||
),
|
||||
array(
|
||||
'name' => 'date_employment',
|
||||
'label' => 'LBL_DATE_EMPLOYMENT',
|
||||
'customCode' => "{include file='modules/EcmWorkers/tpl/EditViewZusDateEmployment.tpl'}",
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_internship',
|
||||
'label' => 'LBL_DATE_INTERNSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'employment',
|
||||
'label' => 'LBL_EMPLOYMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_group',
|
||||
'label' => 'LBL_ZUS_GROUP',
|
||||
),
|
||||
array(
|
||||
'name' => 'employee_group',
|
||||
'label' => 'LBL_EMPLOYEE_GROUP',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'base_salary',
|
||||
'label' => 'LBL_BASE_SALARY',
|
||||
),
|
||||
array(
|
||||
'name' => 'work_schedule',
|
||||
'label' => 'LBL_WORK_SCHEDULE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'active',
|
||||
'label' => 'LBL_ACTIVE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_FAMILY_INFO' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'father_name',
|
||||
'label' => 'LBL_FATHER_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'family_name',
|
||||
'label' => 'LBL_FAMILY_NAME',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'mother_name',
|
||||
'label' => 'LBL_MOTHER_NAME',
|
||||
),
|
||||
array(
|
||||
'name' => 'marital_status',
|
||||
'label' => 'LBL_MARITAL_STATUS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'spouse_name',
|
||||
'label' => 'LBL_SPOUSE_NAME',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL1' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'permanent_residence_card',
|
||||
'label' => 'LBL_PERNAMENT_RESIDENCE_CARD',
|
||||
),
|
||||
array(
|
||||
'name' => 'temporary_residence_card',
|
||||
'label' => 'LBL_TEMPORARY_RESIDENCE_CARD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'insurance_code',
|
||||
'label' => 'LBL_INSURANCE_CODE',
|
||||
),
|
||||
array(
|
||||
'name' => 'period_of_disability_from',
|
||||
'label' => 'LBL_PERIOD_OF_DISABILITY_FROM',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'working_time',
|
||||
'label' => 'LBL_WORKING_TIME'
|
||||
),
|
||||
array(
|
||||
'name' => 'period_of_disability_to',
|
||||
'label' => 'LBL_PERIOD_OF_DISABILITY_TO',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_insurance',
|
||||
'label' => 'LBL_DATE_INSURANCE',
|
||||
),
|
||||
array(
|
||||
'name' => 'amount_contributions',
|
||||
'label' => 'LBL_AMOUNT_CONTRIBUTIONS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_commencement',
|
||||
'label' => 'LBL_DATE_COMMENCEMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_obligation',
|
||||
'label' => 'LBL_DATE_OBLIGATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_annual_amount',
|
||||
'label' => 'LBL_ZUS_ANNUAL_AMOUNT',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_annual_base',
|
||||
'label' => 'LBL_ZUS_ANNUAL_BASE',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL2' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'disability',
|
||||
'label' => 'LBL_DISABILITY',
|
||||
),
|
||||
array(
|
||||
'name' => 'sickness',
|
||||
'label' => 'LBL_SICKNESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'retirement',
|
||||
'label' => 'LBL_RETIREMENT',
|
||||
),
|
||||
array(
|
||||
'name' => 'accidental',
|
||||
'label' => 'LBL_ACCIDENTAL',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL4' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_sickness',
|
||||
'label' => 'LBL_DATE_SICKNESS',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_retirement',
|
||||
'label' => 'LBL_DATE_RETIREMENT',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_date_disability',
|
||||
'label' => 'LBL_ZUS_DATE_DISABILITY',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ZUS_LABEL3' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'code_relationship',
|
||||
'label' => 'LBL_CODE_RELATIONSHIP',
|
||||
),
|
||||
array(
|
||||
'name' => 'code_education',
|
||||
'label' => 'LBL_CODE_EDUCATION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_common_household_employer',
|
||||
'label' => 'LBL_ZUS_COMMON_HOUSEHOLD_EMPLOYER',
|
||||
),
|
||||
array(
|
||||
'name' => 'code_profession',
|
||||
'label' => 'LBL_CODE_PROFESSION',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_discrepancies',
|
||||
'label' => 'LBL_ZUS_CODE_DISCREPANCIES',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_discrepancies_from',
|
||||
'customCode' => "{include file='modules/EcmWorkers/tpl/EditViewZusDateDiscrepancies.tpl'}",
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_mining_work',
|
||||
'label' => 'LBL_ZUS_CODE_MINING_WORK',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_mining_work_from',
|
||||
'customCode' => "{include file='modules/EcmWorkers/tpl/EditViewZusDateMiningWork.tpl'}",
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'zus_code_charity_work',
|
||||
'label' => 'LBL_ZUS_CODE_CHARITY_WORK',
|
||||
),
|
||||
array(
|
||||
'name' => 'zus_date_charity_work_from',
|
||||
'customCode' => "{include file='modules/EcmWorkers/tpl/EditViewZusDateCharityWork.tpl'}",
|
||||
'label' => 'LBL_PERIOD',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_DISMISSAL' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'form_dismissal',
|
||||
'label' => 'LBL_FORM_DISMISSAL',
|
||||
),
|
||||
array(
|
||||
'name' => 'date_dismissal',
|
||||
'label' => 'LBL_DATE_DISMISSAL',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'code_deregistration',
|
||||
'label' => 'LBL_CODE_DEREGISTRATION',
|
||||
),
|
||||
array(
|
||||
'name' => 'dismissal_reason',
|
||||
'label' => 'LBL_DISMISSAL_REASON',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
/* array(
|
||||
'name' => 'debtors_account',
|
||||
'label' => 'LBL_DEBTORS_ACCOUNT',
|
||||
),*/
|
||||
94
modules/EcmWorkers/metadata/listviewdefs.php
Executable file
94
modules/EcmWorkers/metadata/listviewdefs.php
Executable file
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
$module_name = 'EcmWorkers';
|
||||
$listViewDefs [$module_name] = array (
|
||||
'FIRST_NAME' => array (
|
||||
'type' => 'varchar',
|
||||
'label' => 'LBL_FIRST_NAME',
|
||||
'link' => true,
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'SECOND_NAME' => array(
|
||||
'type' => 'varchar',
|
||||
'label' => 'LBL_SECOND_NAME',
|
||||
'link' => false,
|
||||
'width' => '10%',
|
||||
'default' => false,
|
||||
),
|
||||
'LAST_NAME' => array (
|
||||
'type' => 'varchar',
|
||||
'label' => 'LBL_LAST_NAME',
|
||||
'link' => true,
|
||||
'width' => '10%',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_WORK' => array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_OFFICE_PHONE',
|
||||
'default' => true,
|
||||
),
|
||||
'EMAIL1' => array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
'sortable' => false,
|
||||
'link' => true,
|
||||
'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_HOME' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_HOME_PHONE',
|
||||
'default' => false,
|
||||
),
|
||||
'PHONE_MOBILE' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_MOBILE_PHONE',
|
||||
'default' => false,
|
||||
),
|
||||
'ADDRESS_STREET' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'ADDRESS_CITY' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_CITY',
|
||||
'default' => false,
|
||||
),
|
||||
'ADDRESS_STATE' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'ADDRESS_POSTALCODE' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'DATE_ENTERED' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_DATE_ENTERED',
|
||||
'default' => false,
|
||||
),
|
||||
'CREATED_BY_NAME' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_CREATED',
|
||||
'default' => false,
|
||||
),
|
||||
'position_office' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_POSITION_OFFICE',
|
||||
'default' => false,
|
||||
),
|
||||
'COST' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_COST',
|
||||
'default' => false,
|
||||
),
|
||||
'DEPARTMENT' => array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_DEPARTMENT',
|
||||
'default' => false,
|
||||
),
|
||||
);
|
||||
?>
|
||||
51
modules/EcmWorkers/metadata/metafiles.php
Executable file
51
modules/EcmWorkers/metadata/metafiles.php
Executable file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
/*
|
||||
* Created on July 12, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$module_name = 'EcmWorkers';
|
||||
$metafiles[$module_name] = array(
|
||||
'detailviewdefs' => 'modules/'.$module_name.'/metadata/detailviewdefs.php',
|
||||
'editviewdefs' => 'modules/'. $module_name. '/metadata/editviewdefs.php',
|
||||
'listviewdefs' => 'modules/'. $module_name. '/metadata/listviewdefs.php',
|
||||
'searchdefs' => 'modules/'. $module_name. '/metadata/searchdefs.php',
|
||||
'popupdefs' => 'modules/'. $module_name. '/metadata/popupdefs.php',
|
||||
'searchfields' => 'modules/'. $module_name. '/metadata/SearchFields.php',
|
||||
);
|
||||
?>
|
||||
59
modules/EcmWorkers/metadata/popupdefs.php
Executable file
59
modules/EcmWorkers/metadata/popupdefs.php
Executable file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
if (!defined('sugarEntry') || !sugarEntry)
|
||||
die('Not A Valid Entry Point');
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
$module_name = 'EcmWorkers';
|
||||
$object_name = 'EcmWorker';
|
||||
$_module_name = 'ecmworkers';
|
||||
$popupMeta = array('moduleMain' => $module_name,
|
||||
'varName' => $object_name,
|
||||
'orderBy' => $_module_name . '.first_name, ' . $_module_name . '.last_name',
|
||||
'whereClauses' =>
|
||||
array('first_name' => $_module_name . '.first_name',
|
||||
'last_name' => $_module_name . '.last_name',
|
||||
),
|
||||
'searchInputs' =>
|
||||
array('first_name', 'last_name'),
|
||||
'listviewdefs' => array(
|
||||
'NAME' => array(
|
||||
'width' => '40',
|
||||
'label' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),),
|
||||
);
|
||||
?>
|
||||
70
modules/EcmWorkers/metadata/quickcreatedefs.php
Executable file
70
modules/EcmWorkers/metadata/quickcreatedefs.php
Executable file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
$module_name = 'EcmWorkers';
|
||||
$viewdefs[$module_name]['QuickCreate'] = array(
|
||||
'templateMeta' => array('maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
),
|
||||
'panels' => array(
|
||||
'lbl_contact_information' =>
|
||||
array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'first_name',
|
||||
'customCode' => '<input name="first_name" size="25" maxlength="25" type="text" value="{$fields.first_name.value}">',
|
||||
),
|
||||
'assigned_user_name',
|
||||
),
|
||||
array(
|
||||
array('name' => 'last_name', 'displayParams' => array('required' => true)),
|
||||
),
|
||||
array(
|
||||
'phone_work',
|
||||
),
|
||||
array(
|
||||
'department',
|
||||
'phone_mobile',
|
||||
),
|
||||
),
|
||||
'lbl_email_addresses' => array(
|
||||
array('email1')
|
||||
),
|
||||
)
|
||||
);
|
||||
68
modules/EcmWorkers/metadata/searchdefs.php
Executable file
68
modules/EcmWorkers/metadata/searchdefs.php
Executable file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/* * *******************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
* ****************************************************************************** */
|
||||
/*
|
||||
* Created on May 29, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$module_name = 'EcmWorkers';
|
||||
$searchdefs[$module_name] = array(
|
||||
'templateMeta' => array('maxColumns' => '3',
|
||||
'widths' => array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'layout' => array(
|
||||
'basic_search' => array(
|
||||
array('name' => 'search_name', 'label' => 'LBL_NAME', 'type' => 'name'),
|
||||
array('name' => 'current_user_only', 'label' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
|
||||
),
|
||||
'advanced_search' => array(
|
||||
'first_name',
|
||||
'last_name',
|
||||
'primary_address_city',
|
||||
'gender',
|
||||
'form_employment',
|
||||
'position_office',
|
||||
'department',
|
||||
'cost',
|
||||
|
||||
'date_employment',
|
||||
'employment',
|
||||
// 'created_by_name',
|
||||
),
|
||||
),
|
||||
);
|
||||
38
modules/EcmWorkers/metadata/studio.php
Executable file
38
modules/EcmWorkers/metadata/studio.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
/**
|
||||
* This file adds support for studio
|
||||
*/
|
||||
70
modules/EcmWorkers/metadata/subpaneldefs.php
Executable file
70
modules/EcmWorkers/metadata/subpaneldefs.php
Executable file
@@ -0,0 +1,70 @@
|
||||
<?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.
|
||||
*
|
||||
* 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. 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['EcmWorkers']['subpanel_setup'] = array(
|
||||
// list of what Subpanels to show in the DetailView
|
||||
'ecmprivatedocuments' => array(
|
||||
'order' => 10,
|
||||
'module' => 'EcmPrivateDocuments',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'date_entered',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmprivatedocuments',
|
||||
'add_subpanel_data' => 'ecmprivatedocument_id',
|
||||
'title_key' => 'LBL_ECMPRIVATEDOCUMENTS_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
'tasks' => array(
|
||||
'order' => 10,
|
||||
'module' => 'Tasks',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'date_entered',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'tasks',
|
||||
'title_key' => 'Zadania',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
86
modules/EcmWorkers/metadata/subpanels/default.php
Executable file
86
modules/EcmWorkers/metadata/subpanels/default.php
Executable file
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
|
||||
*
|
||||
* 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. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'People'),
|
||||
),
|
||||
'where' => '',
|
||||
'list_fields' => array(
|
||||
'first_name' => array(
|
||||
'name' => 'first_name',
|
||||
'usage' => 'query_only',
|
||||
),
|
||||
'last_name'=> array(
|
||||
'name'=>'last_name',
|
||||
'usage' => 'query_only',
|
||||
),
|
||||
'name'=>array(
|
||||
'name'=>'name',
|
||||
'vname' => 'LBL_LIST_NAME',
|
||||
'sort_by' => 'last_name',
|
||||
'sort_order' => 'asc',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'module' => 'Contacts',
|
||||
'width' => '40%',
|
||||
),
|
||||
'email1'=>array(
|
||||
'name'=>'email1',
|
||||
'vname' => 'LBL_LIST_EMAIL',
|
||||
'widget_class' => 'SubPanelEmailLink',
|
||||
'width' => '35%',
|
||||
),
|
||||
'phone_work'=>array (
|
||||
'name'=>'phone_work',
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '15%',
|
||||
),
|
||||
'edit_button'=>array(
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'module' => 'Contacts',
|
||||
'width' => '5%',
|
||||
),
|
||||
'remove_button'=>array(
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'module' => 'Contacts',
|
||||
'width' => '5%',
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
1674
modules/EcmWorkers/vardefs.php
Executable file
1674
modules/EcmWorkers/vardefs.php
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user