[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/layouts/vlayout/modules/Vtiger/ -> MergeRecords.tpl (source)

   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 style='background: white;'>
  14      <div>
  15          <br>
  16          <div style='margin-left:10px'><h3>{vtranslate('LBL_MERGE_RECORDS_IN', $MODULE)} > {$MODULE}</h3></div><br>
  17          <div class='alert-info'>{vtranslate('LBL_MERGE_RECORDS_DESCRIPTION', $MODULE)}</div>
  18      </div>
  19  
  20      <form class="form-horizontal contentsBackground" name="massMerge" method="post" action="index.php">
  21          <input type="hidden" name=module value="{$MODULE}" />
  22          <input type="hidden" name="action" value="ProcessDuplicates" />
  23          <input type="hidden" name="records" value={Zend_Json::encode($RECORDS)} />
  24  
  25      <div>
  26          <table class='table table-bordered table-condensed'>
  27              <thead class='listViewHeaders'>
  28              <th>
  29                  {vtranslate('LBL_FIELDS', $MODULE)}
  30              </th>
  31              {foreach item=RECORD from=$RECORDMODELS name=recordList}
  32                  <th>
  33                      {vtranslate('LBL_RECORD')} #{$smarty.foreach.recordList.index+1} &nbsp;

  34                      <input {if $smarty.foreach.recordList.index eq 0}checked{/if} type=radio value="{$RECORD->getId()}" name=primaryRecord style='bottom:1px;position:relative;'/>
  35                  </th>
  36              {/foreach}
  37              </thead>
  38              {foreach item=FIELD from=$FIELDS}
  39                  {if $FIELD->isEditable()}
  40                  <tr>
  41                      <td>
  42                          {vtranslate($FIELD->get('label'), $MODULE)}
  43                      </td>
  44                      {foreach item=RECORD from=$RECORDMODELS name=recordList}
  45                          <td>
  46                              <input {if $smarty.foreach.recordList.index eq 0}checked{/if} type=radio name="{$FIELD->getName()}"
  47                              data-id="{$RECORD->getId()}" value="{$RECORD->get($FIELD->getName())}" style='bottom:1px;position:relative;'/>
  48                               &nbsp;&nbsp;{$RECORD->getDisplayValue($FIELD->getName())}
  49                          </td>
  50                      {/foreach}
  51                  </tr>
  52                  {/if}
  53              {/foreach}
  54          </table>
  55      </div>
  56      <div class='row-fluid'>
  57          <div class="offset4">
  58              <button type=submit class='btn btn-success'>{vtranslate('LBL_MERGE', $MODULE)}</button>
  59          </div>
  60      </div>
  61      </form>
  62      <br>
  63  </div>
  64  {/strip}


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