{*+********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.1 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. ************************************************************************************} {strip} {assign var=MODULE_MODEL value= Vtiger_Module_Model::getInstance($MODULE)} {assign var=SELECTED_PICKLIST_FIELDMODEL value= Vtiger_Field_Model::getInstance('taskstatus', $MODULE_MODEL)} {assign var=PICKLIST_COLOR_MAP value= Settings_Picklist_Module_Model::getPicklistColorMap($SELECTED_PICKLIST_FIELDMODEL->getName())} {foreach key=RECORDID item=RECORD_MODEL from=$TASKS}
{assign var=RECORD_BASIC_INFO value = $RECORD_MODEL->get('basicInfo')}
{assign var=STATUS value=$RECORD_MODEL->get('status')}
{assign var=SELECTED_PICKLISTFIELD_ALL_VALUES value= Vtiger_Util_Helper::getPickListValues('taskstatus')} {foreach key=PICKLIST_KEY item=PICKLIST_VALUE from=$SELECTED_PICKLISTFIELD_ALL_VALUES} {if $PICKLIST_VALUE == $RECORD_MODEL->get('status')}
{$RECORD_MODEL->get('status')}
{/if} {/foreach}
  
{if $RECORD_MODEL->get('sendnotification') eq 1}    {/if}
 {Vtiger_Date_UIType::getDisplayDateValue($RECORD_MODEL->get('due_date'))} {assign var=RELATED_PARENT value = $RECORD_BASIC_INFO['parent_id']} {assign var=RELATED_CONTACT value = $RECORD_BASIC_INFO['contact_id']} {if !empty($RELATED_PARENT)} {/if} {if !empty($RELATED_CONTACT['id'])} {Vtiger_Module_Model::getModuleIconPath('Contacts')}  {$RELATED_CONTACT['display_value']} {/if}
  
{/foreach} {if $PAGING_MODEL->get("nextPageExists") eq true}
{/if} {/strip}