{*+********************************************************************************** * 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=FIELDS value=$MODULE_MODEL->getSetupRuleFields()} {foreach key=FIELD_NAME item=FIELD_MODEL from=$FIELDS} {/foreach}
{assign var=FIELD_DATA_TYPE value=$FIELD_MODEL->getFieldDataType()} {if $FIELD_DATA_TYPE eq 'picklist'} {assign var=PICKLIST_VALUES value=$FIELD_MODEL->getPickListValues()} {if $FIELD_NAME eq 'subject'}    {elseif $FIELD_NAME eq 'body'}

{else} {/if} {elseif $FIELD_DATA_TYPE eq 'radio'} {assign var=RADIO_OPTIONS value=$FIELD_MODEL->getRadioOptions()} {foreach key=RADIO_NAME item=RADIO_VALUE from=$RADIO_OPTIONS}      {/foreach} {elseif $FIELD_DATA_TYPE eq 'email'} {else} {/if}
{/strip}