{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding event *} {capture assign="adminPriceSets"}{crmURL p='civicrm/admin/price' q="reset=1"}{/capture} {if !$paymentProcessor} {capture assign=ppUrl}{crmURL p='civicrm/admin/paymentProcessor' q="reset=1"}{/capture}
{ts 1=$ppUrl}No Payment Processor has been configured / enabled for your site. If this is a paid event AND you want users to be able to register and pay online, you will need to configure a Payment Processor first. Then return to this screen and assign the processor to this event.{/ts} {docURL page="user/contributions/payment-processors"}

{ts}NOTE: Alternatively, you can enable the Pay Later option below without setting up a payment processor. All users will then be asked to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts}

{/if}
{if $isQuick}
{ts}Once you switch to using a Price Set, you won't be able to switch back to your existing settings below except by re-entering them. Are you sure you want to switch to a Price Set?{/ts}
{/if}
{include file="CRM/common/formButtons.tpl" location="top"}
{$form.title.label} {$form.title.html}
{$form.is_monetary.label} {$form.is_monetary.html}
{$form.currency.label} {$form.currency.html}
{ts}Select the currency to be used for event registration.{/ts}
{if $paymentProcessor}
{$form.payment_processor.label} {$form.payment_processor.html}
  {ts}If this is a paid event and you want users to be able to register and pay online, select a payment processor to use.{/ts} {ts}NOTE: Alternatively, you can enable the Pay Later feature below without setting up a payment processor. All users will then be asked to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts} {docURL page="user/contributions/payment-processors"}
{/if}
{$form.is_pay_later.html} {$form.is_pay_later.label}
{ts}Check this box if you want to give users the option to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts}
{$form.pay_later_text.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_text' id=$id}{/if}{$form.pay_later_text.html|crmAddClass:big}
  {ts}Text displayed next to the checkbox for the 'pay later' option on the contribution form. You may include HTML formatting tags.{/ts}
{$form.pay_later_receipt.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_receipt' id=$id}{/if}{$form.pay_later_receipt.html|crmAddClass:big}
  {ts}Instructions added to Confirmation and Thank-you pages when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts}
{$form.fee_label.label} * {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='fee_label' id=$id}{/if}{$form.fee_label.html}
  {ts}This label is displayed with the list of event fees. When using a Price Set, this label is the title for the section containing the price fields.{/ts}
{$form.financial_type_id.label} * {$form.financial_type_id.html}
  {ts}This financial type will be assigned to payments made by participants when they register online.{/ts}
{$form.price_set_id.label} {if $price eq false}
{ts 1=$adminPriceSets}No Price Set has been configured / enabled for your site. Price sets allow you to meet the complex demands of your event registration structure.(e.g. "Pay $15 more for lunch."). Click here if you want to configure price sets for your site.{/ts}
{else} {$form.price_set_id.html}
  {ts 1=$adminPriceSets}Select a pre-configured Price Set to offer multiple individually priced options for event registrants. Otherwise, select "-none-" and enter one or more fee levels in the table below. Create or edit Price Sets here.{/ts} {/if}
{ts}Regular Fees{/ts} {ts}Use the table below to enter descriptive labels and amounts for up to ten event fee levels. These will be presented as a list of radio button options. Both the label and dollar amount will be displayed. You can also configure one or more sets of discounted fees by checking "Discounts by Signup Date" below.{/ts}
{if $isQuick}{ts}Click here if you want to configure the Regular Fees below as part of a Price Set, with the added flexibility and complexity that entails.{/ts}{/if} {section name=loop start=1 loop=11} {assign var=idx value=$smarty.section.loop.index} {/section}
{ts}Fee Label{/ts}{ts}Amount{/ts}{ts}Default?{/ts}
({ts}clear{/ts})
{$form.label.$idx.html}{$form.value.$idx.html|crmMoney}{$form.default.$idx.html}
{$form.is_discount.html} {$form.is_discount.label}
{ts}Check this box if you want to offer discounted fees based on registration date (e.g. 'early-registration discounts').{/ts}
{section name=rowLoop start=1 loop=6} {assign var=index value=$smarty.section.rowLoop.index} {/section}
  {ts}Discount Set{/ts} {ts}Start Date{/ts} {ts}End Date{/ts}
{if $index GT 1} {ts}hide field or section{/ts}{/if} {$form.discount_name.$index.html} {include file="CRM/common/jcalendar.tpl" elementName='discount_start_date' elementIndex=$index} {include file="CRM/common/jcalendar.tpl" elementName='discount_end_date' elementIndex=$index}
{$form._qf_Fee_submit.html} {if $discountSection}
{ts}Discounted Fees{/ts}

{ts}Use the table below to enter descriptive labels and amounts for up to ten discounted event fees for each discount set. Don't forget to click 'Save' when you are finished.{/ts}

{section name=dloop start=1 loop=6} {assign var=i value=$smarty.section.dloop.index} {if $form.discount_name.$i.value} {/if} {/section} {section name=loop start=1 loop=11} {assign var=idx value=$smarty.section.loop.index} {section name=loop1 start=1 loop=6} {assign var=idy value=$smarty.section.loop1.index} {if $form.discount_name.$idy.value} {/if} {/section} {/section}
{ts}Fee Label{/ts}{$form.discount_name.$i.value}{ts}Default?{/ts}
{$form.discounted_label.$idx.html}{$form.discounted_value.$idx.$idy.html|crmMoney}{$form.discounted_default.$idx.html}
{if $discountSection eq 2} {/if} {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/common/showHide.tpl"} {include file="CRM/common/showHideByFieldValue.tpl" trigger_field_id ="is_pay_later" trigger_value ="" target_element_id ="payLaterOptions" target_element_type ="block" field_type ="radio" invert = 0 } {if $price } {include file="CRM/common/showHideByFieldValue.tpl" trigger_field_id ="price_set_id" trigger_value ="" target_element_id ="map-field" target_element_type ="block" field_type ="select" invert = 0 } {/if} {include file="CRM/common/showHideByFieldValue.tpl" trigger_field_id ="is_discount" trigger_value ="" target_element_id ="discount" target_element_type ="block" field_type ="radio" invert = 0 } {* include jscript to warn if unsaved form field changes *} {include file="CRM/common/formNavigate.tpl"} {if $isQuick} {literal} {/literal} {/if}