{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing/deleting membership type *} {if $action eq 8} {include file="CRM/Core/Form/EntityForm.tpl"} {else}
{include file="CRM/common/formButtons.tpl" location="top"}
{foreach from=$tpl_standardised_fields item=fieldName} {assign var=fieldSpec value=$entityFields.$fieldName} {include file="CRM/Core/Form/Field.tpl"} {/foreach} {if $authorize} {else} {/if}
{$form.financial_type_id.label} {$form.financial_type_id.html}
{ts}Select the financial type assigned to fees for this membership type (for example 'Membership Fees'). This is required for all membership types - including free or complimentary memberships.{/ts}
{$form.auto_renew.label}{$form.auto_renew.html}{ts}You will need to select and configure a supported payment processor (currently Authorize.Net, PayPal Pro, or PayPal Website Standard) in order to offer automatically renewing memberships.{/ts} {docURL page="user/contributions/payment-processors"}
{$form.duration_unit.label} {$form.duration_interval.html}  {$form.duration_unit.html}
{ts}Duration of this membership (e.g. 30 days, 2 months, 5 years, 1 lifetime){/ts}
{$form.period_type.label} {$form.period_type.html}
{ts}Select 'rolling' if membership periods begin at date of signup. Select 'fixed' if membership periods begin on a set calendar date.{/ts} {help id="period-type" file="CRM/Member/Page/MembershipType.hlp"}
{$form.fixed_period_start_day.label} {$form.fixed_period_start_day.html}
{ts}Month and day on which a fixed period membership or subscription begins. Example: A fixed period membership with Start Day set to Jan 01 means that membership periods would be 1/1/06 - 12/31/06 for anyone signing up during 2006.{/ts}
{$form.fixed_period_rollover_day.label} {$form.fixed_period_rollover_day.html}
{ts}Membership signups on or after this date cover the following calendar year as well. Example: If the rollover day is November 30, membership period for signups during December will cover the following year.{/ts}
{$form.month_fixed_period_rollover_day.label} {$form.month_fixed_period_rollover_day.html}
{ts}Membership signups on or after this day of the month cover the rest of the month plus the specified number of months.{/ts}
{$form.relationship_type_id.label} {if !$membershipRecordsExists} {$form.relationship_type_id.html}
{else} {$form.relationship_type_id.html}
{ts}You cannot modify relationship type because there are membership records associated with this membership type.{/ts}
{/if} {ts}Memberships can be automatically granted to related contacts by selecting a Relationship Type.{/ts} {help id="rel-type" file="CRM/Member/Page/MembershipType.hlp"}
{$form.visibility.label} {$form.visibility.html}
{ts}Can this membership type be used for self-service signups ('Public'), or is it only for CiviCRM users with 'Edit Contributions' permission ('Admin').{/ts}
{$form.weight.label} {$form.weight.html}
{$form.is_active.label} {$form.is_active.html}
{ts}Renewal Reminders{/ts}
{capture assign=reminderLink}{crmURL p='civicrm/admin/scheduleReminders' q='reset=1'}{/capture}
  {ts 1=$reminderLink}Configure membership renewal reminders using Schedule Reminders. If you have previously configured renewal reminder templates, you can re-use them with your new scheduled reminders.{/ts} {docURL page="user/email/scheduled-reminders"}
{include file="CRM/common/customDataBlock.tpl"}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{/if}
{include file="CRM/common/deferredFinancialType.tpl" context='MembershipType'} {literal} {/literal}