{* +--------------------------------------------------------------------+ | CiviCRM version 4.3 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *}
{ts}Click Validate & Process below when you've entered all items for the batch. You can also Save & Continue Later at any time. Go to Administer > Customize Display & Screens > Profiles > Reserved Profiles > to add, remove or change the order of columns.{/ts}
{if $batchAmountMismatch}
{ts}Total for amounts entered below does not match the expected batch total.{/ts}
{$form._qf_Entry_upload_force.html}
{/if}
{ts}Total amount expected{/ts}{$batchTotal|crmMoney}
{ts}Total amount entered{/ts}{$config->defaultCurrencySymbol}
 
{ts}Contact{/ts}
{if $batchType eq 2 }
 
{/if} {foreach from=$fields item=field key=fieldName}
{ts 1=$field.title}Click to copy %1 from row one to all rows.{/ts}{$field.title}
{/foreach}
{section name='i' start=1 loop=$rowCount} {assign var='rowNumber' value=$smarty.section.i.index}
{* contact select/create option*}
{include file="CRM/Contact/Form/NewContact.tpl" blockNo = $rowNumber noLabel=true prefix="primary_" newContactCallback="updateContactInfo($rowNumber, 'primary_')"}
{if $batchType eq 2 } {$form.member_option.$rowNumber.html} {/if} {foreach from=$fields item=field key=fieldName} {assign var=n value=$field.name} {if ( $fields.$n.data_type eq 'Date') or ( in_array( $n, array( 'thankyou_date', 'cancel_date', 'receipt_date', 'receive_date', 'join_date', 'membership_start_date', 'membership_end_date' ) ) ) }
{include file="CRM/common/jcalendar.tpl" elementName=$n elementIndex=$rowNumber batchUpdate=1}
{elseif $n eq 'soft_credit'}
{include file="CRM/Contact/Form/NewContact.tpl" blockNo = $rowNumber noLabel=true prefix="soft_credit_"} {$form.soft_credit_amount.$rowNumber.label} {$form.soft_credit_amount.$rowNumber.html|crmAddClass:eight}
{elseif in_array( $fields.$n.html_type, array('Radio', 'CheckBox'))}
 {$form.field.$rowNumber.$n.html}
{else}
{$form.field.$rowNumber.$n.html}
{/if} {/foreach}
{/section}
{if $fields}{$form._qf_Batch_refresh.html}{/if}   {$form.buttons.html}
{literal} {/literal} {*include batch copy js js file*} {include file="CRM/common/batchCopy.tpl"}