[ 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 <form class="form-horizontal recordEditView" id="report_step3" method="post" action="index.php"> 14 <input type="hidden" name="module" value="{$MODULE}" /> 15 <input type="hidden" name="action" value="Save" /> 16 <input type="hidden" name="record" value="{$RECORD_ID}" /> 17 <input type="hidden" name="reportname" value="{$REPORT_MODEL->get('reportname')}" /> 18 <input type="hidden" name="folderid" value="{$REPORT_MODEL->get('folderid')}" /> 19 <input type="hidden" name="reports_description" value="{$REPORT_MODEL->get('description')}" /> 20 <input type="hidden" name="primary_module" value="{$PRIMARY_MODULE}" /> 21 <input type="hidden" name="secondary_modules" value={ZEND_JSON::encode($SECONDARY_MODULES)} /> 22 <input type="hidden" name="selected_fields" id="seleted_fields" value='{$REPORT_MODEL->get('selected_fields')}' /> 23 <input type="hidden" name="selected_sort_fields" id="selected_sort_fields" value={$REPORT_MODEL->get('selected_sort_fields')} /> 24 <input type="hidden" name="selected_calculation_fields" id="calculation_fields" value={$REPORT_MODEL->get('calculation_fields')} /> 25 <input type="hidden" name="advanced_filter" id="advanced_filter" value="" /> 26 <input type="hidden" name="isDuplicate" value="{$IS_DUPLICATE}" /> 27 <input type="hidden" class="step" value="3" /> 28 <input type="hidden" name="enable_schedule" value="{$REPORT_MODEL->get('enable_schedule')}"> 29 <input type="hidden" name="schtime" value="{$REPORT_MODEL->get('schtime')}"> 30 <input type="hidden" name="schdate" value="{$REPORT_MODEL->get('schdate')}"> 31 <input type="hidden" name="schdayoftheweek" value={ZEND_JSON::encode($REPORT_MODEL->get('schdayoftheweek'))}> 32 <input type="hidden" name="schdayofthemonth" value={ZEND_JSON::encode($REPORT_MODEL->get('schdayofthemonth'))}> 33 <input type="hidden" name="schannualdates" value={ZEND_JSON::encode($REPORT_MODEL->get('schannualdates'))}> 34 <input type="hidden" name="recipients" value={ZEND_JSON::encode($REPORT_MODEL->get('recipients'))}> 35 <input type="hidden" name="specificemails" value={ZEND_JSON::encode($REPORT_MODEL->get('specificemails'))}> 36 <input type="hidden" name="schtypeid" value="{$REPORT_MODEL->get('schtypeid')}"> 37 38 <input type="hidden" name="date_filters" data-value='{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($DATE_FILTERS))}' /> 39 {assign var=RECORD_STRUCTURE value=array()} 40 {assign var=PRIMARY_MODULE_LABEL value=vtranslate($PRIMARY_MODULE, $PRIMARY_MODULE)} 41 {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$PRIMARY_MODULE_RECORD_STRUCTURE} 42 {assign var=PRIMARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $PRIMARY_MODULE)} 43 {assign var=key value="$PRIMARY_MODULE_LABEL $PRIMARY_MODULE_BLOCK_LABEL"} 44 {if $LINEITEM_FIELD_IN_CALCULATION eq false && $BLOCK_LABEL eq 'LBL_ITEM_DETAILS'} 45 {* dont show the line item fields block when Inventory fields are selected for calculations *} 46 {else} 47 {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS} 48 {/if} 49 {/foreach} 50 {foreach key=MODULE_LABEL item=SECONDARY_MODULE_RECORD_STRUCTURE from=$SECONDARY_MODULE_RECORD_STRUCTURES} 51 {assign var=SECONDARY_MODULE_LABEL value=vtranslate($MODULE_LABEL, $MODULE_LABEL)} 52 {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$SECONDARY_MODULE_RECORD_STRUCTURE} 53 {assign var=SECONDARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $MODULE_LABEL)} 54 {assign var=key value="$SECONDARY_MODULE_LABEL $SECONDARY_MODULE_BLOCK_LABEL"} 55 {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS} 56 {/foreach} 57 {/foreach} 58 <div class="padding1per contentsBackground"> 59 <div class="row-fluid"> 60 <h4><strong>{vtranslate('LBL_CHOOSE_FILTER_CONDITIONS',$MODULE)}</strong></h4> 61 <br> 62 <span class="span10 well contentsBackground"> 63 {include file='AdvanceFilter.tpl'|@vtemplate_path RECORD_STRUCTURE=$RECORD_STRUCTURE ADVANCE_CRITERIA=$SELECTED_ADVANCED_FILTER_FIELDS COLUMNNAME_API=getReportFilterColumnName} 64 </span> 65 </div> 66 </div> 67 <br> 68 <div class="pull-right block"> 69 <button type="button" class="btn btn-danger backStep"><strong>{vtranslate('LBL_BACK',$MODULE)}</strong></button> 70 <button type="submit" class="btn btn-success" id="generateReport"><strong>{vtranslate('LBL_GENERATE_REPORT',$MODULE)}</strong></button> 71 <a class="cancelLink" onclick="window.history.back()">{vtranslate('LBL_CANCEL',$MODULE)}</a> 72 </div> 73 </form> 74 {/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 |