[Vtigercrm-developers] How to change Support End Date default date

apcloic apcloic at gmail.com
Wed May 13 14:23:42 GMT 2015


Hi,

Edit the following file :
/modules/Vtiger/uitypes/Date.php

Find this piece of code (around line 86) :

//Special Condition for field 'support_end_date' in Contacts Module
if ($fieldName === 'support_end_date' && $moduleName === 'Contacts') {
$value = DateTimeField::convertToUserFormat(date('Y-m-d', strtotime("+1
year")));

Replace with :

//Special Condition for field 'support_end_date' in Contacts Module
if ($fieldName === 'support_end_date' && $moduleName === 'Contacts') {
$value = DateTimeField::convertToUserFormat(date('Y-m-d', strtotime("+6
months")));

Regards,




--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-How-to-change-Support-End-Date-default-date-tp16223p16224.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list