{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {include file="CRM/common/enableDisableApi.tpl"} {if $action eq 4} {* when action is view *} {if $recur}

{ts}View Recurring Payment{/ts}

{if $recur.modified_date}{/if} {if $recur.cancel_date}{/if} {if $recur.cancel_date}{/if} {if $recur.processor_id}{/if} {if $recur.invoice_id}{/if} {if $recur.contribution_status_id neq 3}{/if} {if $recur.invoice_id}{/if} {if $recur.payment_processor}{/if} {if $recur.financial_type}{/if} {if $recur.campaign}{/if}
{ts}Amount{/ts}{$recur.amount|crmMoney:$recur.currency}{if $is_test} ({ts}test{/ts}){/if}
{ts}Frequency{/ts}every {$recur.frequency_interval} {$recur.frequency_unit}
{ts}Installments{/ts}{$recur.installments}
{ts}Status{/ts}{$recur.contribution_status}
{ts}Start Date{/ts}{$recur.start_date|crmDate}
{ts}Created Date{/ts}{$recur.create_date|crmDate}
{ts}Modified Date{/ts}{$recur.modified_date|crmDate}
{ts}Cancelled Date{/ts}{$recur.cancel_date|crmDate}
{ts}End Date{/ts}{$recur.end_date|crmDate}
{ts}Processor ID{/ts}{$recur.processor_id}
{ts}Transaction ID{/ts}{$recur.trxn_id}
{ts}Invoice ID{/ts}{$recur.invoice_id}
{ts}Cycle Day{/ts}{$recur.cycle_day}
{ts}Next Contribution{/ts}{$recur.next_sched_contribution_date|crmDate}
{ts}Failure Count{/ts}{$recur.failure_count}
{ts}Failure Retry Date{/ts}{$recur.next_sched_contribution_date|crmDate}
{ts}Auto Renew?{/ts}{if $recur.auto_renew}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
{ts}Payment Processor{/ts}{$recur.payment_processor}
{ts}Financial Type{/ts}{$recur.financial_type}
{ts}Campaign{/ts}{$recur.campaign}
{ts}Done{/ts}
{/if} {/if} {if $recurRows} {strip} {foreach from=$recurRows item=row} {assign var=id value=$row.id} {/foreach}
{ts}Amount{/ts} {ts}Frequency{/ts} {ts}Start Date{/ts} {ts}Installments{/ts} {ts}Status{/ts}  
{$row.amount|crmMoney:$row.currency}{if $row.is_test} ({ts}test{/ts}){/if} {ts}Every{/ts} {$row.frequency_interval} {$row.frequency_unit} {$row.start_date|crmDate} {$row.installments} {$row.contribution_status} {$row.action|replace:'xx':$row.recurId}
{/strip} {/if}