[Vtigercrm-commits] [vtiger-commits] r10665 - /vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 12 11:29:15 EDT 2007
Author: saraj
Date: Thu Apr 12 09:29:10 2007
New Revision: 10665
Log:
empty valid till date in quotes replaced with default value in edit view. Fixes #3289
Modified:
vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
Modified: vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/EditViewUtils.php Thu Apr 12 09:29:10 2007
@@ -78,6 +78,12 @@
$disp_value = (($dat_fmt == 'dd-mm-yyyy')?(date('d-m-Y',$addyear)):(($dat_fmt == 'mm-dd-yyyy')?(date('m-d-Y',$addyear)):(($dat_fmt == 'yyyy-mm-dd')?(date('Y-m-d', $addyear)):(''))));
}
+
+ if($fieldname == 'validtill' && $_REQUEST['module'] == 'Quotes')
+ {
+ $disp_value = '';
+ }
+
}
else
{
More information about the vtigercrm-commits
mailing list