{*+********************************************************************************** * 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. ************************************************************************************} {if $REPORT_TYPE eq 'ChartEdit'} {include file="EditChartHeader.tpl"|vtemplate_path:$MODULE} {else} {include file="EditHeader.tpl"|vtemplate_path:$MODULE} {/if}
{if $RECORD_ID and $REPORT_MODEL->getPrimaryModule() and $IS_DUPLICATE neq true and $REPORT_TYPE eq "ChartEdit"} {/if}
{assign var=SECONDARY_MODULES_ARR value=explode(':',$REPORT_MODEL->getSecondaryModules())} {assign var=PRIMARY_MODULE value=$REPORT_MODEL->getPrimaryModule()} {if $PRIMARY_MODULE eq ''} {foreach key=PARENT item=RELATED from=$RELATED_MODULES name=relatedlist} {if $smarty.foreach.relatedlist.index eq 0} {assign var=PRIMARY_MODULE value=$PARENT} {/if} {/foreach} {/if} {assign var=PRIMARY_RELATED_MODULES value=$RELATED_MODULES[$PRIMARY_MODULE]} {if $RECORD_ID and $REPORT_MODEL->getSecondaryModules() and $IS_DUPLICATE neq true and $REPORT_TYPE eq "ChartEdit"} {/if}
{include file="ScheduleReport.tpl"|@vtemplate_path:$MODULE}