{** * templates/subscription/subscriptionForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Common subscription fields * *} {fieldLabel name="status" required="true" key="manager.subscriptions.form.status"} {fieldLabel name="typeId" required="true" key="manager.subscriptions.form.typeId"} {fieldLabel name="dateStart" key="manager.subscriptions.form.dateStart"} {html_select_date prefix="dateStart" all_extra="class=\"selectMenu\" onchange=\"chooseEndDate()\"" start_year="$yearOffsetPast" end_year="$yearOffsetFuture" time="$dateStart"} {fieldLabel name="dateEnd" key="manager.subscriptions.form.dateEnd"} {html_select_date prefix="dateEnd" start_year="$yearOffsetPast" all_extra="class=\"selectMenu\"" end_year="$yearOffsetFuture" time="$dateEnd"} {fieldLabel name="membership" key="manager.subscriptions.form.membership"} {fieldLabel name="referenceNumber" key="manager.subscriptions.form.referenceNumber"} {if $subscriptionId} {if is_a($subscription,'InstitutionalSubscription')} {assign var=subscriptionClass value="institutional"} {else} {assign var=subscriptionClass value="individual"} {/if} {translate key="manager.subscriptions.form.dateRemindedBefore"} {$dateRemindedBefore|date_format:$dateFormatShort|default:"—"}   {translate key="common.reset"} {translate key="manager.subscriptions.form.dateRemindedAfter"} {$dateRemindedAfter|date_format:$dateFormatShort|default:"—"}   {translate key="common.reset"} {/if}