Full Description Mtportal
Full Description Mtportal
Full Description Mtportal
*** This document would fully describe about new files and custom changes for mtportal project.
------------ SECTION SECOND (Custom changes for modules which should fully submitted)------------
Custom/modules/med_candidate_agreement
Custom/modules/med_job
Custom/modules/med_Leave_Management
Custom/modules/med_MultiDocument
Custom/modules/med_MultiDocument_Documents
Custom/modules/med_ScoreFile
Custom/modules/med_VoiceFileTest
Custom/modules/medi_TimeProductivitySchedule
Custom/modules/Alert_Announcement
Custom/modules/med_Leave_Management
Custom/modules/tpr_TimeProductivity
-------------------------- Section III ( Files in include folder of core and custom) ------------------------
Include\SugarFields\Fields\Datetimecombo_cstm(new)
3. custom\modules\notification_utils.php(some changes)
///////********* new code to add ********************//////
function do_for_med_candidate(& $xtpl, $obj_focus, $current_user, $templat_name)
{
$xtpl->assign("NOTIFY_ALL", $obj_focus->str);
}
function do_for_med_scorefile(& $xtpl, $obj_focus, $current_user, $templat_name)
{
$xtpl->assign("NOTIFY_ALL", $obj_focus->str);
}
///////////////////// *********end new code**********************////////////
$beanList['med_Leave_Management'] = 'med_Leave_Management';
$beanFiles['med_Leave_Management'] =
'modules/med_Leave_Management/med_Leave_Management.php';
$moduleList[] = 'med_Leave_Management';
$beanList['med_MultiDocument'] = 'med_MultiDocument';
$beanFiles['med_MultiDocument'] = 'modules/med_MultiDocument/med_MultiDocument.php';
$moduleList[] = 'med_MultiDocument';
$beanList['med_MultiDocument_Documents'] = 'med_MultiDocument_Documents';
$beanFiles['med_MultiDocument_Documents'] =
'modules/med_MultiDocument_Documents/med_MultiDocument_Documents.php';
$modules_exempt_from_availability_check['med_MultiDocument_Documents'] =
'med_MultiDocument_Documents';
$modInvisList[] = 'med_MultiDocument_Documents';
$beanList['medi_TimeProductivitySchedule'] = 'medi_TimeProductivitySchedule';
$beanFiles['medi_TimeProductivitySchedule'] =
'modules/medi_TimeProductivitySchedule/medi_TimeProductivitySchedule.php';
$modules_exempt_from_availability_check['medi_TimeProductivitySchedule'] =
'medi_TimeProductivitySchedule';
$modInvisList[] = 'medi_TimeProductivitySchedule';
$beanList['med_ScoreFile'] = 'med_ScoreFile';
$beanFiles['med_ScoreFile'] = 'modules/med_ScoreFile/med_ScoreFile.php';
$moduleList[] = 'med_ScoreFile';
$beanList['tpr_TimeProductivity'] = 'tpr_TimeProductivity';
$beanFiles['tpr_TimeProductivity'] = 'modules/tpr_TimeProductivity/tpr_TimeProductivity.php';
$moduleList[] = 'tpr_TimeProductivity';
$beanList['med_VoiceFileTest'] = 'med_VoiceFileTest';
$beanFiles['med_VoiceFileTest'] = 'modules/med_VoiceFileTest/med_VoiceFileTest.php';
$moduleList[] = 'med_VoiceFileTest';
5. custom\application\Ext\TableDictionary\tabledictionary.ext
*** all new custom\metadata files should include here
6. new entries in custom/modules/charts/chartdefs.ext
);
$chartDefs['MTCapacityDashlet'] = array( 'type' => 'code',
'id' => 'MTCapacityDashlet',
'label' => 'MT Available for work for the day/time period',
'chartUnits' => 'Employees',
'chartType' => 'horizontal group by chart',
'groupBy' => array( 'user_name', 'total' ),
'base_url'=>
array( 'module' => 'Employees',
'action' => 'index',
'query' => 'true',
'searchFormTab' => 'advanced_search',
),
'url_params' => array( 'user_name', 'total' ),
);
//// ******** end new code *************************////////