{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://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.{/ts} {if call_user_func(array('CRM_Core_Permission','check'), 'administer CiviCRM')} {capture assign=batchEntryProfileURL}{crmURL p="civicrm/admin/uf/group" q="reset=1&selectedChild=reserved-profiles"}{/capture} {ts 1=$batchEntryProfileURL}Add, remove or change the order of columns by editing the corresponding Bulk Entry profile.{/ts} {if $batchType EQ 1} {ts}Custom fields and a Personal Campaign Page field can be added if needed.{/ts} {/if} {/if}
{if $batchAmountMismatch}
{ts}Total for amounts entered below does not match the expected batch total.{/ts}
{$form._qf_Entry_upload_force.html}
{/if}
{$batchTotal|crmMoney}
{$defaultCurrencySymbol}
 
{ts}Contact{/ts}
{if $batchType eq 2}
 
{/if} {if $batchType eq 3}
{ts}Open Pledges (Due Date - Amount){/ts}
{/if} {foreach from=$fields item=field key=fieldName}
{if $field.name|substr:0:11 ne 'soft_credit' and $field.name ne 'trxn_id'} {copyIcon name=$field.name title=$field.title} {/if}{$field.title}
{/foreach}
{section name='i' start=1 loop=$rowCount} {assign var='rowNumber' value=$smarty.section.i.index}
{* contact select/create option*}
{$form.primary_contact_id.$rowNumber.html|crmAddClass:big}
{if $batchType eq 2} {$form.member_option.$rowNumber.html} {/if} {if $batchType eq 3} {$form.open_pledges.$rowNumber.html} {/if} {foreach from=$fields item=field key=fieldName} {assign var=n value=$field.name} {if $n eq 'soft_credit'}
{$form.soft_credit_contact_id.$rowNumber.html|crmAddClass:big} {$form.soft_credit_amount.$rowNumber.label} {$form.soft_credit_amount.$rowNumber.html|crmAddClass:eight}
{elseif $n eq 'soft_credit_type'}
{$form.soft_credit_type.$rowNumber.html}
{elseif $n eq 'contribution_soft_credit_pcp_id'}
{$form.pcp_made_through_id.$rowNumber.html}{$form.pcp_made_through.$rowNumber.html}
{$form.pcp_display_in_roll.$rowNumber.label} {$form.pcp_display_in_roll.$rowNumber.html}
{$form.pcp_roll_nickname.$rowNumber.label} {$form.pcp_roll_nickname.$rowNumber.html}
{$form.pcp_personal_note.$rowNumber.label} {$form.pcp_personal_note.$rowNumber.html}
{elseif in_array( $fields.$n.html_type, array('Radio', 'CheckBox'))}
 {$form.field.$rowNumber.$n.html}
{elseif $n eq 'total_amount'}
{$form.field.$rowNumber.$n.html} {if $batchType eq 3 } {ts}adjust payment amount{/ts} {$form.option_type.$rowNumber.html} {/if}
{else}
{$form.field.$rowNumber.$n.html} {if $fields.$n.html_type eq 'File' && !empty($form.field.$rowNumber.$fieldName.value.size)} {ts}Attached{/ts}: {$form.field.$rowNumber.$fieldName.value.name} {/if}
{/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"}