[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Reports/ -> ChartEditStep2.tpl (source)

   1  {*<!--
   2  /*********************************************************************************

   3    ** The contents of this file are subject to the vtiger CRM Public License Version 1.1

   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="chart_report_step2" method="post" action="index.php">
  14          <input type="hidden" name="module" value="{$MODULE}" >
  15          <input type="hidden" name="view" value="ChartEdit" >
  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="isDuplicate" value="{$IS_DUPLICATE}" >
  23          <input type="hidden" class="step" value="2" >
  24          <input type="hidden" name="mode" value="step3" >
  25          <input type="hidden" name="advanced_filter" id="advanced_filter" value="" >
  26  
  27          {assign var=RECORD_STRUCTURE value=array()}
  28          {assign var=PRIMARY_MODULE_LABEL value=vtranslate($PRIMARY_MODULE, $PRIMARY_MODULE)}
  29          {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$PRIMARY_MODULE_RECORD_STRUCTURE}
  30              {assign var=PRIMARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $PRIMARY_MODULE)}
  31              {assign var=key value="$PRIMARY_MODULE_LABEL $PRIMARY_MODULE_BLOCK_LABEL"}
  32              {if $LINEITEM_FIELD_IN_CALCULATION eq false && $BLOCK_LABEL eq 'LBL_ITEM_DETAILS'}
  33                  {* dont show the line item fields block when Inventory fields are selected for calculations *}
  34              {else}
  35                  {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS}
  36              {/if}
  37          {/foreach}
  38          {foreach key=MODULE_LABEL item=SECONDARY_MODULE_RECORD_STRUCTURE from=$SECONDARY_MODULE_RECORD_STRUCTURES}
  39              {assign var=SECONDARY_MODULE_LABEL value=vtranslate($MODULE_LABEL, $MODULE_LABEL)}
  40              {foreach key=BLOCK_LABEL item=BLOCK_FIELDS from=$SECONDARY_MODULE_RECORD_STRUCTURE}
  41                  {assign var=SECONDARY_MODULE_BLOCK_LABEL value=vtranslate($BLOCK_LABEL, $MODULE_LABEL)}
  42                  {assign var=key value="$SECONDARY_MODULE_LABEL $SECONDARY_MODULE_BLOCK_LABEL"}
  43                  {$RECORD_STRUCTURE[$key] = $BLOCK_FIELDS}
  44              {/foreach}
  45          {/foreach}
  46          <div class="padding1per border1px">
  47              <div class="row-fluid">
  48                  <h4><strong>{vtranslate('LBL_CHOOSE_FILTER_CONDITIONS',$MODULE)}</strong></h4><br>
  49                  <span class="span10 well contentsBackground">
  50                      {include file='AdvanceFilter.tpl'|@vtemplate_path RECORD_STRUCTURE=$RECORD_STRUCTURE ADVANCE_CRITERIA=$SELECTED_ADVANCED_FILTER_FIELDS COLUMNNAME_API=getReportFilterColumnName}
  51                  </span>
  52              </div>
  53          </div>
  54          <br>
  55          <div class="pull-right block">
  56              <button type="button" class="btn btn-danger backStep"><strong>{vtranslate('LBL_BACK',$MODULE)}</strong></button>&nbsp;&nbsp;
  57              <button type="submit" class="btn btn-success nextStep"><strong>{vtranslate('LBL_NEXT',$MODULE)}</strong></button>&nbsp;&nbsp;
  58              <a  class="cancelLink" onclick="window.history.back()">{vtranslate('LBL_CANCEL',$MODULE)}</a>&nbsp;&nbsp;
  59          </div>
  60          <br><br>
  61      </form>
  62  {/strip}


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1