{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2016 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if $votingTab and $errorMessages}
{elseif $voterDetails}
{if $surveyValues.instructions}
{ts 1=$surveyValues.instructions}%1{/ts}
{/if}
{if $votingTab} {ts}Click record response button to update values for each respondent as needed.{/ts} {else} {ts}Click record response button to update values for each respondent as needed.
Click Release Respondents >> button below to release any respondents for whom you haven't recorded a response.
Click Reserve More Respondents >> button if you need to get more respondents to interview.{/ts} {/if}
{if $instanceId} {capture assign=instanceURL}{crmURL p="civicrm/report/instance/$instanceId" q="reset=1"}{/capture} {/if}
{section name=rowLoop start=1 loop=5} {assign var=index value=$smarty.section.rowLoop.index} {/section}
{ts}Column{/ts} {ts}Order{/ts}
{if $index GT 1} {ts}hide field or section{/ts} {/if} {$form.order_bys.$index.column.html} {$form.order_bys.$index.order.html} {if $index eq 1} {$form.buttons._qf_Interview_submit_orderBy.html} {/if}
{foreach from=$readOnlyFields item=fTitle key=fName} {/foreach} {* display headers for profile survey fields *} {if $surveyFields} {foreach from=$surveyFields item=field key=fieldName} {if $field.skipDisplay} {continue} {/if} {/foreach} {/if} {foreach from=$componentIds item=voterId} {foreach from=$readOnlyFields item=fTitle key=fName} {/foreach} {* here build the survey profile fields *} {if $surveyFields} {foreach from=$surveyFields item=field key=fieldName} {if $field.skipDisplay} {continue} {/if} {/foreach} {/if} {/foreach}
{$fTitle}{ts 1=$field.title}Click to copy %1 from row one to all rows.{/ts}{$field.title}{ts 1=note}Click to copy %1 from row one to all rows.{/ts}{ts}Note{/ts} {ts 1=result}Click to copy %1 from row one to all rows.{/ts}{ts}Result{/ts} {ts}Record Responses for All{/ts}
{$voterDetails.$voterId.$fName} {if ( ( $fieldName eq 'thankyou_date' ) or ( $fieldName eq 'cancel_date' ) or ( $fieldName eq 'receipt_date' ) or ( $fieldName eq 'activity_date_time') ) and $field.is_view neq 1 } {include file="CRM/common/jcalendar.tpl" elementName=$fieldName elementIndex=$voterId batchUpdate=1} {elseif $fieldName|substr:0:5 eq 'phone'} {assign var="phone_ext_field" value=$fieldName|replace:'phone':'phone_ext'} {$form.field.$voterId.$fieldName.html} {if $form.field.$voterId.$phone_ext_field.html}  {$form.field.$voterId.$phone_ext_field.html} {/if} {else} {$form.field.$voterId.$fieldName.html} {/if} {$form.field.$voterId.note.html} {$form.field.$voterId.result.html} {ts}record response{/ts} {if $allowAjaxReleaseButton} {ts}release{/ts} {/if}
{if !$votingTab}
{$form.buttons._qf_Interview_cancel_interview.html} {$form.buttons._qf_Interview_next_interviewToRelease.html} {$form.buttons._qf_Interview_done_interviewToReserve.html}
{/if}
{literal} {/literal} {*include batch copy js js file*} {include file="CRM/common/batchCopy.tpl"} {/if}