{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | 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 activities for a case. *} {if $cdType } {include file="CRM/Custom/Form/CustomData.tpl"} {else}
{ts}Client{/ts} |
{foreach from=$client_names item=client name=clients}
{$client.display_name}{if not $smarty.foreach.clients.last}; {/if}
{/foreach}
{if $action eq 1 or $action eq 2}
» {ts}With other contact(s){/ts} {/if} |
||||||||
{ts}Activity Type{/ts} | {$activityTypeName|escape} | ||||||||
{$form.source_contact_id.label} | {$form.source_contact_id.html} | ||||||||
{$form.assignee_contact_id.label} {edit}{help id="assignee_contact_id" title=$form.assignee_contact_id.label file="CRM/Activity/Form/Activity"}{/edit} | {$form.assignee_contact_id.html}
{if $activityAssigneeNotification}
{ts}A copy of this activity will be emailed to each Assignee.{/ts} {/if} |
||||||||
{$form.subject.label} | {$form.subject.html|crmAddClass:huge} | ||||||||
{$form.medium_id.label} | {$form.medium_id.html} {$form.location.label} {$form.location.html|crmAddClass:huge} | ||||||||
{$form.activity_date_time.label} | {if $action eq 2 && $activityTypeFile eq 'OpenCase'}{$current_activity_date_time|crmDate}
Use a Change Start Date activity to change the date
{* avoid errors about missing field *}
|
{else}
{include file="CRM/common/jcalendar.tpl" elementName=activity_date_time} | {/if}|||||||
{$form.details.label} | {* If using plain textarea, assign class=huge to make input large enough. *} {if $defaultWysiwygEditor eq 0}{$form.details.html|crmAddClass:huge}{else}{$form.details.html}{/if} | ||||||||
{include file="CRM/Form/attachment.tpl"} | |||||||||
{ts}Send a Copy{/ts}
{ts}Email a complete copy of this activity record to other people involved with the case. Click the top left box to select all.{/ts}
{strip}
|
|||||||||
{ts}Schedule Follow-up{/ts}
|
|||||||||
{$form.duration.label} | {$form.duration.html} {ts}minutes{/ts} | ||||||||
{$form.status_id.label} | {$form.status_id.html} | ||||||||
{$form.priority_id.label} | {$form.priority_id.html} | ||||||||
{$form.tag.label} |
{$form.tag.html}
|
||||||||
{include file="CRM/common/Tag.tpl" tagsetType='activity'} |