Skip to content
Snippets Groups Projects
Commit 071fc68e authored by Alan Bell's avatar Alan Bell
Browse files

fix #139 due date based workflows

parent 61ea62e8
No related branches found
No related tags found
1 merge request!65fix #139 due date based workflows
......@@ -45,6 +45,9 @@ class Calendar_Field_Model extends Vtiger_Field_Model {
* @return <String> Data type of the field
*/
public function getFieldDataType() {
if ($this->getModule()->getName()=="Calendar" && $this->getName() == 'due_date'){
return 'date';
}
if($this->getName() == 'date_start' || $this->getName() == 'due_date') {
return 'datetime';
} else if($this->get('uitype') == '30') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment