[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 {strip} 13 <div id="toggleButton" class="toggleButton" title="{vtranslate('LBL_LEFT_PANEL_SHOW_HIDE', 'Vtiger')}"> 14 <i id="tButtonImage" class="{if $LEFTPANELHIDE neq '1'}icon-chevron-left{else}icon-chevron-right{/if}"></i> 15 </div> 16 <div class="container-fluid"> 17 <div class="row-fluid reportsDetailHeader"> 18 <input type="hidden" name="date_filters" data-value='{ZEND_JSON::encode($DATE_FILTERS)}' /> 19 <div class="reportHeader row-fluid"> 20 <div class='span8 btn-toolbar'> 21 <h3>{$REPORT_MODEL->getName()}</h3> 22 </div> 23 24 <div class='span4'> 25 <div class="btn-toolbar pull-right"> 26 {if $REPORT_MODEL->isEditable() eq true} 27 <div class="btn-group"> 28 <button onclick='window.location.href="{$REPORT_MODEL->getEditViewUrl()}"' type="button" class="cursorPointer btn"> 29 <strong>{vtranslate('LBL_CUSTOMIZE',$MODULE)}</strong> 30 <i class="icon-pencil"></i> 31 </button> 32 </div> 33 {/if} 34 <div class="btn-group"> 35 <button onclick='window.location.href="{$REPORT_MODEL->getDuplicateRecordUrl()}"' type="button" class="cursorPointer btn"> 36 <strong>{vtranslate('LBL_DUPLICATE',$MODULE)}</strong> 37 </button> 38 </div> 39 </div> 40 </div> 41 </div> 42 <div class="well"> 43 <form name='chartDetailForm' id='chartDetailForm'> 44 <input type="hidden" name="module" value="{$MODULE}" /> 45 <input type="hidden" name="action" value="ChartSave" /> 46 <input type="hidden" name="recordId" id="recordId" value="{$RECORD}" /> 47 <input type="hidden" name="reportname" value="{$REPORT_MODEL->get('reportname')}" /> 48 <input type="hidden" name="folderid" value="{$REPORT_MODEL->get('folderid')}" /> 49 <input type="hidden" name="reports_description" value="{$REPORT_MODEL->get('reports_description')}" /> 50 <input type="hidden" name="primary_module" value="{$PRIMARY_MODULE}" /> 51 <input type="hidden" name="secondary_modules" value={ZEND_JSON::encode($SECONDARY_MODULES)} /> 52 <input type="hidden" name="advanced_filter" id="advanced_filter" value={ZEND_JSON::encode($ADVANCED_FILTERS)} /> 53 <input type="hidden" name='groupbyfield' value={$CHART_MODEL->getGroupByField()} /> 54 <input type="hidden" name='datafields' value={Zend_JSON::encode($CHART_MODEL->getDataFields())} /> 55 <input type="hidden" name='charttype' value="{$CHART_MODEL->getChartType()}" /> 56 57 {assign var=RECORD_STRUCTURE value=array()} 58 {assign var=PRIMARY_MODULE_LABEL value=vtranslate($PRIMARY_MODULE, $PRIMARY_MODULE)} 59 {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$PRIMARY_MODULE_RECORD_STRUCTURE} 60 {assign var=PRIMARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $PRIMARY_MODULE)} 61 {assign var=key value="$PRIMARY_MODULE_LABEL $PRIMARY_MODULE_BLOCK_LABEL"} 62 {if $LINEITEM_FIELD_IN_CALCULATION eq false && $BLOCK_LABEL eq 'LBL_ITEM_DETAILS'} 63 {* dont show the line item fields block when Inventory fields are selected for calculations *} 64 {else} 65 {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS} 66 {/if} 67 {/foreach} 68 {foreach key=MODULE_LABEL item=SECONDARY_MODULE_RECORD_STRUCTURE from=$SECONDARY_MODULE_RECORD_STRUCTURES} 69 {assign var=SECONDARY_MODULE_LABEL value=vtranslate($MODULE_LABEL, $MODULE_LABEL)} 70 {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$SECONDARY_MODULE_RECORD_STRUCTURE} 71 {assign var=SECONDARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $MODULE_LABEL)} 72 {assign var=key value="$SECONDARY_MODULE_LABEL $SECONDARY_MODULE_BLOCK_LABEL"} 73 {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS} 74 {/foreach} 75 {/foreach} 76 <div> 77 <div> 78 <div class='row-fluid'> 79 <span class="span4"> 80 <div><span>{vtranslate('LBL_SELECT_GROUP_BY_FIELD', $MODULE)}</span><span class="redColor">*</span></div><br> 81 <div class="row-fluid"> 82 <select id='groupbyfield' name='groupbyfield' class="span10" data-validation-engine="validate[required]" style='min-width:300px;'></select> 83 </div> 84 </span> 85 <span class="span2"> </span> 86 <span class="span4"> 87 <div><span>{vtranslate('LBL_SELECT_DATA_FIELD', $MODULE)}</span><span class="redColor">*</span></div><br> 88 <div class="row-fluid"> 89 <select id='datafields' name='datafields[]' class="span10" data-validation-engine="validate[required]" style='min-width:300px;'> 90 </select></div> 91 </span> 92 </div> 93 <br> 94 95 <div class='hide'> 96 {include file="chartReportHiddenContents.tpl"|vtemplate_path:$MODULE} 97 </div> 98 </div> 99 <br> 100 <div class='row-fluid'> 101 {assign var=filterConditionNotExists value=(count($SELECTED_ADVANCED_FILTER_FIELDS[1]['columns']) eq 0 and count($SELECTED_ADVANCED_FILTER_FIELDS[2]['columns']) eq 0)} 102 <button class="btn" name="modify_condition" data-val="{$filterConditionNotExists}"> 103 <strong>{vtranslate('LBL_MODIFY_CONDITION', $MODULE)}</strong> 104 <i class="{if $filterConditionNotExists eq true} icon-chevron-right {else} icon-chevron-down {/if}"></i> 105 </button> 106 </div> 107 <br> 108 <div id='filterContainer' class='{if $filterConditionNotExists eq true} hide {/if}'> 109 {include file='AdvanceFilter.tpl'|@vtemplate_path RECORD_STRUCTURE=$RECORD_STRUCTURE ADVANCE_CRITERIA=$SELECTED_ADVANCED_FILTER_FIELDS COLUMNNAME_API=getReportFilterColumnName} 110 </div> 111 </div> 112 <div class="row-fluid textAlignCenter"> 113 <button class="btn btn-success generateReport" data-mode="save" value="{vtranslate('LBL_SAVE',$MODULE)}"/> 114 <strong>{vtranslate('LBL_SAVE',$MODULE)}</strong> 115 </button> 116 </div> 117 </div> 118 </form> 119 </div> 120 </div> 121 <div id="reportContentsDiv"> 122 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |