From 21269af1a9d4d8b0d67892242b9491f02ec29840 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 2 Mar 2024 10:35:22 +1300 Subject: [PATCH] Notice fix Update Subscription --- templates/CRM/Contribute/Form/UpdateSubscription.tpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Contribute/Form/UpdateSubscription.tpl b/templates/CRM/Contribute/Form/UpdateSubscription.tpl index a31e6b07af7f..3f73dc4a5360 100644 --- a/templates/CRM/Contribute/Form/UpdateSubscription.tpl +++ b/templates/CRM/Contribute/Form/UpdateSubscription.tpl @@ -29,8 +29,14 @@ {$form.amount.label} {$form.currency.html|crmAddClass:eight} {$form.amount.html|crmAddClass:eight} ({ts}every{/ts} {$recur_frequency_interval} {$recur_frequency_unit}) - {$form.installments.label}{$form.installments.html}
- {ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts} + {if array_key_exists('installments', $form)} + + {$form.installments.label} + {$form.installments.html}
+ {ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts} + + + {/if} {foreach from=$editableScheduleFields item='field'} {$form.$field.label}{$form.$field.html} {/foreach}