{if $field.options_per_line != 0}
<div class="crm-section {$form.$n.id}-section">
- {* Show explanatory text for field if not in 'view' or 'preview' modes *}
+ {* Show explanatory text for field if not in 'view' or 'preview' modes *}
{if $field.help_pre && $action neq 4 && $action neq 1028}
<span class="description">{$field.help_pre}</span>
{/if}
</div>
{else}
<div class="crm-section {$form.$n.id}-section">
- {* Show explanatory text for field if not in 'view' or 'preview' modes *}
+ {* Show explanatory text for field if not in 'view' or 'preview' modes *}
{if $field.help_pre && $action neq 4 && $action neq 1028}
<span class="description">{$field.help_pre}</span>
{/if}
<td>
{if $index eq 1}
{$form.buttons._qf_Interview_submit_orderBy.html}
- {/if}
+ {/if}
</td>
</tr>
{/section}
//carry contact related profile field data.
var fieldName = 'field_' + voterId;
var checkBoxFieldName = 'field[' + voterId + ']';
- cj('[id^="'+ fieldName +'"], [id^="'+ checkBoxFieldName +'"]').each(function( ) {
+ cj('[id^="'+ fieldName +'"], [id^="'+ checkBoxFieldName +'"]').each(function( ) {
fldId = cj(this).attr('id');
if (fldId.indexOf('_custom_') == -1 &&
fldId.indexOf('_result') == -1 &&
<span class="element-right">{$form.buttons.html}</span>
</div>
-{if $rows }
+{if $rows }
<p></p>
{include file="CRM/Campaign/Form/Selector.tpl"}
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
<table class="form-layout-compressed">
<tr class="crm-campaign-task-release-form-block-surveytitle">
- <td colspan=2>
+ <td colspan=2>
<div class="status">
<div class="icon inform-icon"></div> {ts 1=$surveyTitle}Do you want to release respondents for '%1' ?{/ts}
- </div>
- </td>
+ </div>
+ </td>
</tr>
<tr><td colspan=2>{include file="CRM/Contact/Form/Task.tpl"}</td></tr>
-{*\r
- +--------------------------------------------------------------------+\r
- | CiviCRM version 4.3 |\r
- +--------------------------------------------------------------------+\r
- | Copyright CiviCRM LLC (c) 2004-2013 |\r
- +--------------------------------------------------------------------+\r
- | This file is a part of CiviCRM. |\r
- | |\r
- | CiviCRM is free software; you can copy, modify, and distribute it |\r
- | under the terms of the GNU Affero General Public License |\r
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |\r
- | |\r
- | CiviCRM is distributed in the hope that it will be useful, but |\r
- | WITHOUT ANY WARRANTY; without even the implied warranty of |\r
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |\r
- | See the GNU Affero General Public License for more details. |\r
- | |\r
- | You should have received a copy of the GNU Affero General Public |\r
- | License and the CiviCRM Licensing Exception along |\r
- | with this program; if not, contact CiviCRM LLC |\r
- | at info[AT]civicrm[DOT]org. If you have questions about the |\r
- | GNU Affero General Public License or the licensing of CiviCRM, |\r
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |\r
- +--------------------------------------------------------------------+\r
-*}\r
-{*\r
-Notes:\r
-- Any id's should be prefixed with civicase-audit to avoid name collisions.\r
-- The idea behind the regex_replace is that for a css selector on a field, we can make it simple by saying the convention is to use the field label, but convert to lower case and strip out all except a-z and 0-9.\r
-There's the potential for collisions (two different labels having the same shortened version), but it would be odd for the user to configure fields that way, and at most affects styling as opposed to crashing or something.\r
-- Note the whole output gets contained within a <form> with name="Report".\r
-*}\r
-<script src="{$config->resourceBase}js/Audit/audit.js" type="text/javascript"></script>\r
-<link rel="stylesheet" type="text/css" href="{$config->resourceBase}css/Audit/style.css" />\r
-<input type="hidden" name="currentSelection" value="1" />\r
-\r
-<table class = "form-layout">\r
-<tr>\r
- <td colspan=2>\r
- <input type="button" accesskey="P" value="Print Report" name="case_report" onClick="printReport({$caseId}, this );"/> \r
- <input type="button" accesskey="B" value="Back to Case" name="back" onClick="printReport({$caseId}, this );"/> \r
- </td>\r
-</tr>\r
-<tr>\r
-<td>\r
-<div id="civicase-audit">\r
-<table><tr><td class="leftpane">\r
-<table class="report">\r
-<tr class="columnheader-dark">\r
-<th> </th>\r
-<th>{ts}Description{/ts}</th>\r
-</tr>\r
-{foreach from=$activities item=activity name=activityloop}\r
-<tr class="activity{if $smarty.foreach.activityloop.first} selected{/if}" id="civicase-audit-activity-{$smarty.foreach.activityloop.iteration}">\r
- <td class="indicator">\r
- {if $activity.completed}\r
- <img src="{$config->resourceBase}i/spacer.gif" width="20" height="20">\r
- {else}\r
- <a href="#" onclick="selectActivity({$smarty.foreach.activityloop.iteration}); return false;">\r
- <img src="{$config->resourceBase}i/contribute/incomplete.gif" width="20" height="20" alt="{ts}Incomplete{/ts}" title="{ts}Incomplete{/ts}">\r
- </a>\r
- {/if}\r
- </td>\r
- <td>\r
- <a href="#" onclick="selectActivity({$smarty.foreach.activityloop.iteration}); return false;">\r
- {foreach from=$activity.leftpane item=field name=fieldloop}\r
- <span class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''} {$field.datatype}">\r
- {if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}\r
- {if $field.datatype == 'Date'}\r
- {if $field.includeTime}\r
- {$field.value|escape|replace:'T':' '|crmDate}\r
- {else}\r
- {$field.value|escape|truncate:10:'':true|crmDate}\r
- {/if}\r
- {else}\r
- {$field.value|escape}\r
- {/if}\r
- {if $field.datatype == 'File'}</a>{/if}\r
- </span><br>\r
- {/foreach}\r
- </a>\r
- </td>\r
-</tr>\r
-{/foreach}\r
-</table>\r
-</td>\r
-<td class="separator"> </td>\r
-<td class="rightpane">\r
- <div class="rightpaneheader">\r
- {foreach from=$activities item=activity name=activityloop}\r
- <div class="activityheader" id="civicase-audit-header-{$smarty.foreach.activityloop.iteration}">\r
- <div class="auditmenu">\r
- <span class="editlink"><a target="editauditwin" href="{$activity.editurl}">{ts}Edit{/ts}</a></span>\r
- </div>\r
- {foreach from=$activity.rightpaneheader item=field name=fieldloop}\r
- <div class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''}">\r
- <label>{$field.label|escape}</label>\r
- <span class="{$field.datatype}">{if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}\r
- {if $field.datatype == 'Date'}\r
- {if $field.includeTime}\r
- {$field.value|escape|replace:'T':' '|crmDate}\r
- {else}\r
- {$field.value|escape|truncate:10:'':true|crmDate}\r
- {/if}\r
- {else}\r
- {$field.value|escape}\r
- {/if}\r
- {if $field.datatype == 'File'}</a>{/if}\r
- </span>\r
- </div>\r
- {/foreach}\r
- </div>\r
- {/foreach}\r
- </div>\r
- <div class="rightpanebody">\r
- {foreach from=$activities item=activity name=activityloop}\r
- <div class="activitybody" id="civicase-audit-body-{$smarty.foreach.activityloop.iteration}">\r
- {foreach from=$activity.rightpanebody item=field name=fieldloop}\r
- <div class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''}">\r
- <label>{$field.label|escape}</label>\r
- <span class="{$field.datatype}">{if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}\r
- {if $field.datatype == 'Date'}\r
- {if $field.includeTime}\r
- {$field.value|escape|replace:'T':' '|crmDate}\r
- {else}\r
- {$field.value|escape|truncate:10:'':true|crmDate}\r
- {/if}\r
- {elseif $field.label eq 'Details'}\r
- {$field.value}\r
- {else}\r
- {$field.value|escape}\r
- {/if}\r
- {if $field.datatype == 'File'}</a>{/if}\r
- </span>\r
- </div>\r
- {/foreach}\r
- </div>\r
- {/foreach}\r
- </div>\r
-</td></tr></table>\r
-</div>\r
-</td>\r
-</tr>\r
-<tr>\r
- <td colspan=2>\r
- <input type="button" accesskey="P" value="Print Report" name="case_report" onclick="printReport({$caseId}, this );"/> \r
- <input type="button" accesskey="B" value="Back to Case" name="back" onClick="printReport({$caseId}, this );"/> \r
- </td>\r
-</tr>\r
-</table>\r
-{literal}\r
-<script type="text/javascript">\r
- function printReport( id, button ) {\r
-\r
- if ( button.name == 'case_report' ) {\r
- var dataUrl = {/literal}"{crmURL p='civicrm/case/report/print' h=0 q='caseID='}"{literal}+id;\r
- dataUrl = dataUrl + '&cid={/literal}{$clientID}{literal}'+'&asn={/literal}{$activitySetName}{literal}';\r
- var redact = '{/literal}{$_isRedact}{literal}'\r
-\r
- var isRedact = 1;\r
- if ( redact == 'false' ) {\r
- isRedact = 0;\r
- }\r
-\r
- var includeActivities = '{/literal}{$includeActivities}{literal}';\r
- var all = 0;\r
- if( includeActivities == 'All' ) {\r
- all = 1;\r
- }\r
-\r
- dataUrl = dataUrl + '&redact='+isRedact + '&all='+ all;\r
-\r
- } else {\r
-\r
- var dataUrl = {/literal}"{crmURL p='civicrm/contact/view/case' h=0 q='reset=1&action=view&id='}"{literal}+id;\r
- dataUrl = dataUrl + '&cid={/literal}{$clientID}{literal}'+'&selectedChild=case';\r
- }\r
-\r
- window.location = dataUrl;\r
-}\r
-</script>\r
-{/literal}\r
+{*
+ +--------------------------------------------------------------------+
+ | CiviCRM version 4.3 |
+ +--------------------------------------------------------------------+
+ | 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 |
+ +--------------------------------------------------------------------+
+*}
+{*
+Notes:
+- Any id's should be prefixed with civicase-audit to avoid name collisions.
+- The idea behind the regex_replace is that for a css selector on a field, we can make it simple by saying the convention is to use the field label, but convert to lower case and strip out all except a-z and 0-9.
+There's the potential for collisions (two different labels having the same shortened version), but it would be odd for the user to configure fields that way, and at most affects styling as opposed to crashing or something.
+- Note the whole output gets contained within a <form> with name="Report".
+*}
+<script src="{$config->resourceBase}js/Audit/audit.js" type="text/javascript"></script>
+<link rel="stylesheet" type="text/css" href="{$config->resourceBase}css/Audit/style.css" />
+<input type="hidden" name="currentSelection" value="1" />
+
+<table class = "form-layout">
+<tr>
+ <td colspan=2>
+ <input type="button" accesskey="P" value="Print Report" name="case_report" onClick="printReport({$caseId}, this );"/>
+ <input type="button" accesskey="B" value="Back to Case" name="back" onClick="printReport({$caseId}, this );"/>
+ </td>
+</tr>
+<tr>
+<td>
+<div id="civicase-audit">
+<table><tr><td class="leftpane">
+<table class="report">
+<tr class="columnheader-dark">
+<th> </th>
+<th>{ts}Description{/ts}</th>
+</tr>
+{foreach from=$activities item=activity name=activityloop}
+<tr class="activity{if $smarty.foreach.activityloop.first} selected{/if}" id="civicase-audit-activity-{$smarty.foreach.activityloop.iteration}">
+ <td class="indicator">
+ {if $activity.completed}
+ <img src="{$config->resourceBase}i/spacer.gif" width="20" height="20">
+ {else}
+ <a href="#" onclick="selectActivity({$smarty.foreach.activityloop.iteration}); return false;">
+ <img src="{$config->resourceBase}i/contribute/incomplete.gif" width="20" height="20" alt="{ts}Incomplete{/ts}" title="{ts}Incomplete{/ts}">
+ </a>
+ {/if}
+ </td>
+ <td>
+ <a href="#" onclick="selectActivity({$smarty.foreach.activityloop.iteration}); return false;">
+ {foreach from=$activity.leftpane item=field name=fieldloop}
+ <span class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''} {$field.datatype}">
+ {if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}
+ {if $field.datatype == 'Date'}
+ {if $field.includeTime}
+ {$field.value|escape|replace:'T':' '|crmDate}
+ {else}
+ {$field.value|escape|truncate:10:'':true|crmDate}
+ {/if}
+ {else}
+ {$field.value|escape}
+ {/if}
+ {if $field.datatype == 'File'}</a>{/if}
+ </span><br>
+ {/foreach}
+ </a>
+ </td>
+</tr>
+{/foreach}
+</table>
+</td>
+<td class="separator"> </td>
+<td class="rightpane">
+ <div class="rightpaneheader">
+ {foreach from=$activities item=activity name=activityloop}
+ <div class="activityheader" id="civicase-audit-header-{$smarty.foreach.activityloop.iteration}">
+ <div class="auditmenu">
+ <span class="editlink"><a target="editauditwin" href="{$activity.editurl}">{ts}Edit{/ts}</a></span>
+ </div>
+ {foreach from=$activity.rightpaneheader item=field name=fieldloop}
+ <div class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''}">
+ <label>{$field.label|escape}</label>
+ <span class="{$field.datatype}">{if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}
+ {if $field.datatype == 'Date'}
+ {if $field.includeTime}
+ {$field.value|escape|replace:'T':' '|crmDate}
+ {else}
+ {$field.value|escape|truncate:10:'':true|crmDate}
+ {/if}
+ {else}
+ {$field.value|escape}
+ {/if}
+ {if $field.datatype == 'File'}</a>{/if}
+ </span>
+ </div>
+ {/foreach}
+ </div>
+ {/foreach}
+ </div>
+ <div class="rightpanebody">
+ {foreach from=$activities item=activity name=activityloop}
+ <div class="activitybody" id="civicase-audit-body-{$smarty.foreach.activityloop.iteration}">
+ {foreach from=$activity.rightpanebody item=field name=fieldloop}
+ <div class="civicase-audit-{$field.label|lower|regex_replace:'/[^a-z0-9]+/':''}">
+ <label>{$field.label|escape}</label>
+ <span class="{$field.datatype}">{if $field.datatype == 'File'}<a href="{$field.value|escape}">{/if}
+ {if $field.datatype == 'Date'}
+ {if $field.includeTime}
+ {$field.value|escape|replace:'T':' '|crmDate}
+ {else}
+ {$field.value|escape|truncate:10:'':true|crmDate}
+ {/if}
+ {elseif $field.label eq 'Details'}
+ {$field.value}
+ {else}
+ {$field.value|escape}
+ {/if}
+ {if $field.datatype == 'File'}</a>{/if}
+ </span>
+ </div>
+ {/foreach}
+ </div>
+ {/foreach}
+ </div>
+</td></tr></table>
+</div>
+</td>
+</tr>
+<tr>
+ <td colspan=2>
+ <input type="button" accesskey="P" value="Print Report" name="case_report" onclick="printReport({$caseId}, this );"/>
+ <input type="button" accesskey="B" value="Back to Case" name="back" onClick="printReport({$caseId}, this );"/>
+ </td>
+</tr>
+</table>
+{literal}
+<script type="text/javascript">
+ function printReport( id, button ) {
+
+ if ( button.name == 'case_report' ) {
+ var dataUrl = {/literal}"{crmURL p='civicrm/case/report/print' h=0 q='caseID='}"{literal}+id;
+ dataUrl = dataUrl + '&cid={/literal}{$clientID}{literal}'+'&asn={/literal}{$activitySetName}{literal}';
+ var redact = '{/literal}{$_isRedact}{literal}'
+
+ var isRedact = 1;
+ if ( redact == 'false' ) {
+ isRedact = 0;
+ }
+
+ var includeActivities = '{/literal}{$includeActivities}{literal}';
+ var all = 0;
+ if( includeActivities == 'All' ) {
+ all = 1;
+ }
+
+ dataUrl = dataUrl + '&redact='+isRedact + '&all='+ all;
+
+ } else {
+
+ var dataUrl = {/literal}"{crmURL p='civicrm/contact/view/case' h=0 q='reset=1&action=view&id='}"{literal}+id;
+ dataUrl = dataUrl + '&cid={/literal}{$clientID}{literal}'+'&selectedChild=case';
+ }
+
+ window.location = dataUrl;
+}
+</script>
+{/literal}
-{*\r
- +--------------------------------------------------------------------+\r
- | CiviCRM version 4.3 |\r
- +--------------------------------------------------------------------+\r
- | Copyright CiviCRM LLC (c) 2004-2013 |\r
- +--------------------------------------------------------------------+\r
- | This file is a part of CiviCRM. |\r
- | |\r
- | CiviCRM is free software; you can copy, modify, and distribute it |\r
- | under the terms of the GNU Affero General Public License |\r
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |\r
- | |\r
- | CiviCRM is distributed in the hope that it will be useful, but |\r
- | WITHOUT ANY WARRANTY; without even the implied warranty of |\r
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |\r
- | See the GNU Affero General Public License for more details. |\r
- | |\r
- | You should have received a copy of the GNU Affero General Public |\r
- | License and the CiviCRM Licensing Exception along |\r
- | with this program; if not, contact CiviCRM LLC |\r
- | at info[AT]civicrm[DOT]org. If you have questions about the |\r
- | GNU Affero General Public License or the licensing of CiviCRM, |\r
- | see the CiviCRM license FAQ at http://civicrm.org/licensing |\r
- +--------------------------------------------------------------------+\r
-*}\r
-{* CiviCase DashBoard (launch page) *}\r
-\r
-<div class="crm-block crm-content-block">\r
-{if $notConfigured} {* Case types not present. Component is not configured for use. *}\r
- {include file="CRM/Case/Page/ConfigureError.tpl"}\r
-{else}\r
-\r
-{capture assign=newCaseURL}{crmURL p="civicrm/case/add" q="action=add&context=standalone&reset=1"}{/capture}\r
-\r
-<div class="crm-submit-buttons crm-case-dashboard-buttons">\r
- {if $newClient and $allowToAddNewCase}\r
- <a href="{$newCaseURL}" class="button"><span><div class="icon add-icon"></div> {ts}Add Case{/ts}</span></a>\r
- {/if}\r
- <a class="button" name="find_my_cases" href="{crmURL p="civicrm/case/search" q="reset=1&case_owner=2&force=1"}"><span>{ts}Find My Cases{/ts}</span></a>\r
-\r
- <div class="crm-case-dashboard-switch-view-buttons">\r
- {if $myCases}\r
- {* check for access all cases and activities *}\r
- {if call_user_func(array('CRM_Core_Permission','check'), 'access all cases and activities')}\r
- <div><input name="allupcoming" type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=1"}")' value="1"><span>{ts}All Cases with Upcoming Activities{/ts}</span></input></div>\r
- <div><input name="allupcoming" checked type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=0"}")' value="0"><span>{ts}My Cases with Upcoming Activities{/ts}</span></input></div>\r
- {/if}\r
- {else}\r
- <div><input name="allupcoming" checked type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=1"}")' value="1"><span>{ts}All Cases with Upcoming Activities{/ts}</span></input></div>\r
- <div><input name="allupcoming" type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=0"}")' value="0"><span>{ts}My Cases with Upcoming Activities{/ts}</span></input></div>\r
- {/if}\r
- </div>\r
-</div>\r
-\r
-\r
-<h3>\r
-{if $myCases}\r
- {ts}Summary of Case Involvement{/ts}\r
-{else}\r
- {ts}Summary of All Cases{/ts}\r
-{/if}\r
-</h3>\r
-<table class="report">\r
- <tr class="columnheader">\r
- <th> </th>\r
- {foreach from=$casesSummary.headers item=header}\r
- <th scope="col" class="right" style="padding-right: 10px;"><a href="{$header.url}">{$header.status}</a></th>\r
- {/foreach}\r
- </tr>\r
- {foreach from=$casesSummary.rows item=row key=caseType}\r
- <tr class="crm-case-caseStatus">\r
- <th><strong>{$caseType}</strong></th>\r
- {foreach from=$casesSummary.headers item=header}\r
- {assign var="caseStatus" value=$header.status}\r
- <td class="label">\r
- {if $row.$caseStatus}\r
- <a class="crm-case-summary-drilldown" href="{$row.$caseStatus.url}">{$row.$caseStatus.count}</a>\r
- {else}\r
- 0\r
- {/if}\r
- </td>\r
- {/foreach}\r
- </tr>\r
- {/foreach}\r
-</table>\r
-{capture assign=findCasesURL}<a href="{crmURL p="civicrm/case/search" q="reset=1"}">{ts}Find Cases{/ts}</a>{/capture}\r
-\r
-<div class="spacer"></div>\r
- <h3>{if $myCases}{ts}My Cases With Upcoming Activities{/ts}{else}{ts}All Cases With Upcoming Activities{/ts}{/if}</h3>\r
- {if $upcomingCases}\r
- <div class="form-item">\r
- {include file="CRM/Case/Page/DashboardSelector.tpl" context="dashboard" list="upcoming" rows=$upcomingCases}\r
- </div>\r
- {else}\r
- <div class="messages status no-popup">\r
- {ts 1=$findCasesURL}There are no open cases with activities scheduled in the next two weeks. Use %1 to expand your search.{/ts}\r
- </div>\r
- {/if}\r
-\r
-<div class="spacer"></div>\r
- <h3>{if $myCases}{ts}My Cases With Recently Performed Activities{/ts}{else}{ts}All Cases With Recently Performed Activities{/ts}{/if}</h3>\r
- {if $recentCases}\r
- <div class="form-item">\r
- {include file="CRM/Case/Page/DashboardSelector.tpl" context="dashboard" list="recent" rows=$recentCases}\r
- </div>\r
- {else}\r
- <div class="messages status no-popup">\r
- {ts 1=$findCasesURL}There are no cases with activities scheduled in the past two weeks. Use %1 to expand your search.{/ts}\r
- </div>\r
- {/if}\r
-{/if}\r
-</div>\r
+{*
+ +--------------------------------------------------------------------+
+ | CiviCRM version 4.3 |
+ +--------------------------------------------------------------------+
+ | 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 |
+ +--------------------------------------------------------------------+
+*}
+{* CiviCase DashBoard (launch page) *}
+
+<div class="crm-block crm-content-block">
+{if $notConfigured} {* Case types not present. Component is not configured for use. *}
+ {include file="CRM/Case/Page/ConfigureError.tpl"}
+{else}
+
+{capture assign=newCaseURL}{crmURL p="civicrm/case/add" q="action=add&context=standalone&reset=1"}{/capture}
+
+<div class="crm-submit-buttons crm-case-dashboard-buttons">
+ {if $newClient and $allowToAddNewCase}
+ <a href="{$newCaseURL}" class="button"><span><div class="icon add-icon"></div> {ts}Add Case{/ts}</span></a>
+ {/if}
+ <a class="button" name="find_my_cases" href="{crmURL p="civicrm/case/search" q="reset=1&case_owner=2&force=1"}"><span>{ts}Find My Cases{/ts}</span></a>
+
+ <div class="crm-case-dashboard-switch-view-buttons">
+ {if $myCases}
+ {* check for access all cases and activities *}
+ {if call_user_func(array('CRM_Core_Permission','check'), 'access all cases and activities')}
+ <div><input name="allupcoming" type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=1"}")' value="1"><span>{ts}All Cases with Upcoming Activities{/ts}</span></input></div>
+ <div><input name="allupcoming" checked type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=0"}")' value="0"><span>{ts}My Cases with Upcoming Activities{/ts}</span></input></div>
+ {/if}
+ {else}
+ <div><input name="allupcoming" checked type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=1"}")' value="1"><span>{ts}All Cases with Upcoming Activities{/ts}</span></input></div>
+ <div><input name="allupcoming" type="radio" class="radio" onClick='window.location.replace("{crmURL p="civicrm/case" q="reset=1&all=0"}")' value="0"><span>{ts}My Cases with Upcoming Activities{/ts}</span></input></div>
+ {/if}
+ </div>
+</div>
+
+
+<h3>
+{if $myCases}
+ {ts}Summary of Case Involvement{/ts}
+{else}
+ {ts}Summary of All Cases{/ts}
+{/if}
+</h3>
+<table class="report">
+ <tr class="columnheader">
+ <th> </th>
+ {foreach from=$casesSummary.headers item=header}
+ <th scope="col" class="right" style="padding-right: 10px;"><a href="{$header.url}">{$header.status}</a></th>
+ {/foreach}
+ </tr>
+ {foreach from=$casesSummary.rows item=row key=caseType}
+ <tr class="crm-case-caseStatus">
+ <th><strong>{$caseType}</strong></th>
+ {foreach from=$casesSummary.headers item=header}
+ {assign var="caseStatus" value=$header.status}
+ <td class="label">
+ {if $row.$caseStatus}
+ <a class="crm-case-summary-drilldown" href="{$row.$caseStatus.url}">{$row.$caseStatus.count}</a>
+ {else}
+ 0
+ {/if}
+ </td>
+ {/foreach}
+ </tr>
+ {/foreach}
+</table>
+{capture assign=findCasesURL}<a href="{crmURL p="civicrm/case/search" q="reset=1"}">{ts}Find Cases{/ts}</a>{/capture}
+
+<div class="spacer"></div>
+ <h3>{if $myCases}{ts}My Cases With Upcoming Activities{/ts}{else}{ts}All Cases With Upcoming Activities{/ts}{/if}</h3>
+ {if $upcomingCases}
+ <div class="form-item">
+ {include file="CRM/Case/Page/DashboardSelector.tpl" context="dashboard" list="upcoming" rows=$upcomingCases}
+ </div>
+ {else}
+ <div class="messages status no-popup">
+ {ts 1=$findCasesURL}There are no open cases with activities scheduled in the next two weeks. Use %1 to expand your search.{/ts}
+ </div>
+ {/if}
+
+<div class="spacer"></div>
+ <h3>{if $myCases}{ts}My Cases With Recently Performed Activities{/ts}{else}{ts}All Cases With Recently Performed Activities{/ts}{/if}</h3>
+ {if $recentCases}
+ <div class="form-item">
+ {include file="CRM/Case/Page/DashboardSelector.tpl" context="dashboard" list="recent" rows=$recentCases}
+ </div>
+ {else}
+ <div class="messages status no-popup">
+ {ts 1=$findCasesURL}There are no cases with activities scheduled in the past two weeks. Use %1 to expand your search.{/ts}
+ </div>
+ {/if}
+{/if}
+</div>
{/if}
{if $rows}
- <div class="crm-results-block">
+ <div class="crm-results-block">
{* Search request has returned 1 or more matching rows. Display results and collapse the search criteria fieldset. *}
{* This section handles form elements for action task select and submit *}
<div class="crm-search-tasks">
{include file="CRM/Contact/Form/Search/ResultTasks.tpl"}
- </div>
+ </div>
{* This section displays the rows along and includes the paging controls *}
- <div class="crm-search-results">
+ <div class="crm-search-results">
{include file="CRM/common/pager.tpl" location="top"}
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Contact}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Contact&text=$text"}" title="{ts}View all results for contacts{/ts}">» {ts}View all results for contacts{/ts}</a></div>{/if}
- {* note we using location="below" because we don't want to use rows per page for now. And therefore don't put location="bottom" for now. *}
- {if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
+ {if !$table and $summary.addShowAllLink.Contact}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Contact&text=$text"}" title="{ts}View all results for contacts{/ts}">» {ts}View all results for contacts{/ts}</a></div>{/if}
+ {* note we using location="below" because we don't want to use rows per page for now. And therefore don't put location="bottom" for now. *}
+ {if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
{/if}
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Activity}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Activity&text=$text"}" title="{ts}View all results for activities{/ts}">» {ts}View all results for activities{/ts}</a></div>{/if}
+ {if !$table and $summary.addShowAllLink.Activity}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Activity&text=$text"}" title="{ts}View all results for activities{/ts}">» {ts}View all results for activities{/ts}</a></div>{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
<td>{$row.case_end_date|crmDate:"%b %d, %Y %l:%M %P"}</td>
<td>{$row.case_id}</td>
{if $row.case_is_deleted}
- <td><a href="{crmURL p='civicrm/contact/view/case' q="reset=1&id=`$row.case_id`&cid=`$row.contact_id`&action=renew&context=fulltext&key=`$qfKey`"}">{ts}Restore Case{/ts}</a></td>
- {else}
- <td><a href="{crmURL p='civicrm/contact/view/case' q="reset=1&id=`$row.case_id`&cid=`$row.contact_id`&action=view&context=fulltext&key=`$qfKey`"}">{ts}Manage{/ts}</a></td>
- {/if}
+ <td><a href="{crmURL p='civicrm/contact/view/case' q="reset=1&id=`$row.case_id`&cid=`$row.contact_id`&action=renew&context=fulltext&key=`$qfKey`"}">{ts}Restore Case{/ts}</a></td>
+ {else}
+ <td><a href="{crmURL p='civicrm/contact/view/case' q="reset=1&id=`$row.case_id`&cid=`$row.contact_id`&action=view&context=fulltext&key=`$qfKey`"}">{ts}Manage{/ts}</a></td>
+ {/if}
<td class="start_date hiddenElement">{$row.case_start_date|crmDate}</td>
<td class="end_date hiddenElement">{$row.case_end_date|crmDate}</td>
</tr>
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Case}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Case&text=$text"}" title="{ts}View all results for cases{/ts}">» {ts}View all results for cases{/ts}</a></div>{/if}
+ {if !$table and $summary.addShowAllLink.Case}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Case&text=$text"}" title="{ts}View all results for cases{/ts}">» {ts}View all results for cases{/ts}</a></div>{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Contribution}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Contribution&text=$text"}" title="{ts}View all results for contributions{/ts}">» {ts}View all results for contributions{/ts}</a></div>{/if}
+ {if !$table and $summary.addShowAllLink.Contribution}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Contribution&text=$text"}" title="{ts}View all results for contributions{/ts}">» {ts}View all results for contributions{/ts}</a></div>{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Participant}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Participant&text=$text"}" title="{ts}View all results for participants{/ts}">» {ts}View all results for participants{/ts}</a></div>{/if}
+ {if !$table and $summary.addShowAllLink.Participant}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Participant&text=$text"}" title="{ts}View all results for participants{/ts}">» {ts}View all results for participants{/ts}</a></div>{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
{/foreach}
</table>
{/strip}
- {if !$table and $summary.addShowAllLink.Membership}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Membership&text=$text"}" title="{ts}View all results for memberships{/ts}">» {ts}View all results for memberships{/ts}</a></div>{/if}
+ {if !$table and $summary.addShowAllLink.Membership}<div class="crm-section full-text-view-all-section"><a href="{crmURL p='civicrm/contact/search/custom' q="csid=`$csID`&reset=1&force=1&table=Membership&text=$text"}" title="{ts}View all results for memberships{/ts}">» {ts}View all results for memberships{/ts}</a></div>{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
</div>
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{* this template is used for adding/editing Additional Detail *}
+{* this template is used for adding/editing Additional Detail *}
{if $isOnline}{assign var=valueStyle value=" class='view-value'"}{else}{assign var=valueStyle value=""}{/if}
<div id="id-additionalDetail" class="section-shown">
<table class="form-layout-compressed">
<span class="description">{ts}Non-deductible portion of this contribution.{/ts}</span></td></tr>
<tr class="crm-contribution-form-block-fee_amount"><td class="label">{$form.fee_amount.label}</td><td{$valueStyle}>{$form.fee_amount.html|crmMoney:$currency:'XXX':'YYY'}<br />
<span class="description">{ts}Processing fee for this transaction (if applicable).{/ts}</span></td></tr>
-
+
<tr class="crm-contribution-form-block-net_amount"><td class="label">{$form.net_amount.label}</td><td{$valueStyle}>{$form.net_amount.html|crmMoney:$currency:'':1}<br />
<span class="description">{ts}Net value of the contribution (Total Amount minus Fee).{/ts}</span></td></tr>
<tr class="crm-contribution-form-block-invoice_id"><td class="label">{$form.invoice_id.label}</td><td{$valueStyle}>{$form.invoice_id.html}<br />
<tr class="crm-contribution-form-block-thankyou_date"><td class="label">{$form.thankyou_date.label}</td><td>{include file="CRM/common/jcalendar.tpl" elementName=thankyou_date}<br />
<span class="description">{ts}Date that a thank-you message was sent to the contributor.{/ts}</span></td></tr>
</table>
-</div>
+</div>
</creditCard>
</payment>
{if $invoiceNumber}
- <order>
+ <order>
<invoiceNumber>{$invoiceNumber}</invoiceNumber>
{if $name}<description>{$name}</description>{/if}
</order>
- {/if}
+ {/if}
<customer>
<id>{$contactID}</id>
<email>{$email}</email>
{if $premiumBlock.premiums_intro_text}
<div id="premiums-intro" class="crm-section premiums_intro-section">
{$premiumBlock.premiums_intro_text}
- </div>
+ </div>
{/if}
{/if}
<input type="checkbox" checked="checked" disabled="disabled" /> {$premiumBlock.premiums_nothankyou_label}
</div>
</div>
- {/if}
+ {/if}
{foreach from=$products item=row}
<div class="premium {if $showPremium}premium-selectable{/if}" id="premium_id-{$row.id}" min_contribution="{$row.min_contribution}">
<div class="premium-short">
{/if}
{else}
<div class="premium-full-options">
- <p><strong>{$row.options}</strong></p>
+ <p><strong>{$row.options}</strong></p>
</div>
{/if}
{if ( ($premiumBlock.premiums_display_min_contribution AND $context EQ "makeContribution") OR $preview EQ 1) AND $row.min_contribution GT 0 }
<input type="checkbox" checked="checked" disabled="disabled" /> {$premiumBlock.premiums_nothankyou_label}
</div>
</div>
- {/if}
+ {/if}
</div>
{/strip}
</div>
{/if}
</div>
-
+
{if $context EQ "makeContribution"}
{literal}
- <script>
+ <script>
cj(function($){
var is_separate_payment = {/literal}{if $membershipBlock.is_separate_payment}{$membershipBlock.is_separate_payment}{else}0{/if}{literal};
// select a new premium
- function select_premium(premium_id) {
+ function select_premium(premium_id) {
if(cj(premium_id).length) {
// hide other active premium
cj('.premium-full').hide();
check_price_set('.contribution_amount-content input[type="radio"]');
// next, check for membership level price set
- check_price_set('.membership_amount-content input[type="radio"]');
+ check_price_set('.membership_amount-content input[type="radio"]');
// make sure amount is a number at this point
if(!amount) amount = 0;
}
return true;
}, error_message);
-
+
// add validation rules
CRM.validate.functions.push(function(){
cj('#selectProduct').rules('add', 'premiums');
});
-
+
// need to use jquery validate's ignore option, so that it will not ignore hidden fields
CRM.validate.params['ignore'] = '.ignore';
});
<td class="label">{$form.financial_type_id.label}</td>
<td>
{if !$financialType }
- {capture assign=ftUrl}{crmURL p='civicrm/admin/financial/financialType' q="reset=1"}{/capture}
+ {capture assign=ftUrl}{crmURL p='civicrm/admin/financial/financialType' q="reset=1"}{/capture}
{ts 1=$ftUrl}There are no financial types configured with linked 'Cost of Sales Premiums' and 'Premiums Inventory Account' accounts. If you want to generate accounting transactions which track the cost of premiums used <a href='%1'>click here</a> to configure financial types and accounts.{/ts}
- {else}
+ {else}
{$form.financial_type_id.html}{help id="id-financial_type-product"}
- {/if}
+ {/if}
</td>
</tr>
<tr class="crm-contribution-form-block-weight"><td class="label">{$form.weight.label}</td><td class="html-adjust">{$form.weight.html}<br />
function getFinancialType()
{
{/literal}
- productID = "#product_id";
- financialTypeID = "#financial_type_id"
- callbackURL = "{crmURL p='civicrm/ajax/rest' h=0 q='className=CRM_Financial_Page_AJAX&fnName=jqFinancialType'}"
+ productID = "#product_id";
+ financialTypeID = "#financial_type_id"
+ callbackURL = "{crmURL p='civicrm/ajax/rest' h=0 q='className=CRM_Financial_Page_AJAX&fnName=jqFinancialType'}"
{literal}
-
- var check = cj(productID).val();
- callbackURL = callbackURL+"&_value="+check;
+
+ var check = cj(productID).val();
+ callbackURL = callbackURL+"&_value="+check;
cj.ajax({
url: callbackURL,
context: document.body,
success: function( data, textStatus ){
- data = eval(data);//get json array
+ data = eval(data);//get json array
if ( data != null ) {
- cj(financialTypeID).val(data);
-
- }
-
- }
- });
-
- }
+ cj(financialTypeID).val(data);
+
+ }
+
+ }
+ });
+
+ }
-cj(document).ready(function(){
- getFinancialType();
+cj(document).ready(function(){
+ getFinancialType();
- cj("#product_id").change( function(){
- getFinancialType();
- });
-});
+ cj("#product_id").change( function(){
+ getFinancialType();
+ });
+});
{/literal}
</script>
\ No newline at end of file
<tr class="crm-contribution-contributionpage-amount-form-block-pay_later_receipt"><th scope="row" class="label">{$form.pay_later_receipt.label} <span class="marker" title="This field is required.">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_receipt' id=$contributionPageID}{/if}</th>
<td>{$form.pay_later_receipt.html|crmAddClass:big}<br />
<span class="description">{ts}Instructions added to Confirmation and Thank-you pages, as well as the confirmation email, when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts}</span></td></tr>
-
+
</table>
</td>
</tr>
cj('.crm-contribution-contributionpage-amount-form-block-payment_processor input[type="checkbox"]').each(function(){
if(cj(this).attr('checked')) {
var id = cj(this).attr('id').split('_')[2];
- ids.push(id);
+ ids.push(id);
}
});
return ids;
cj('#is_pay_later').click( function() {
payLater('is_pay_later');
});
-
+
function minMax(chkbox) {
if (chkbox.checked) {
cj( '#recurringContribution' ).hide( );
}
}
-
+
</script>
{/literal}
{if $form.is_recur}
{ts 1=$title}You cannot delete this Contribution Page because it has already been used to submit a contribution or membership payment. It is recommended that your disable the page instead of deleting it, to preserve the integrity of your contribution records. If you do want to completely delete this contribution page, you first need to search for and delete all of the contribution transactions associated with this page in CiviContribute.{/ts}
{else}
WARNING: Are you sure you want to Delete the selected Contribution Page? A Delete operation cannot be undone. Do you want to continue?
- {/if}
+ {/if}
</div>
<div class="form-item">
{include file="CRM/common/formButtons.tpl"}
{htxt id="id-notify"}
<p>{ts}Notification will be sent to this email address whenever a Personal Campaign Page linked to this contribution page is either created or updated. The notification will include links to view the campaign page as well as the contact record of the creator of the page.{/ts}</p>
<p>{ts}If you want Administrator of your organization to receive each PCP Notification receipt, enter one or more email addresses here. Multiple email addresses should be separated by a comma (e.g. jane@example.org, paula@example.org) First Email will be sent to PCP user for support.{/ts}</p>
-{/htxt}
+{/htxt}
{htxt id="id-supporter_profile-title"}
{ts}Supporter Profile{/ts}
<tr class="crm-contribution-contributionpage-settings-form-block-title"><td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='title' id=$contributionPageID}{/if}</td><td>{$form.title.html}<br/>
<span class="description">{ts}This title will be displayed at the top of the page.<br />Please use only alphanumeric, spaces, hyphens and dashes for Title.{/ts}</td>
</tr>
- <tr class="crm-contribution-contributionpage-settings-form-block-financial_type_id"><td class="label">{$form.financial_type_id.label}</td><td>{$form.financial_type_id.html}<br />
+ <tr class="crm-contribution-contributionpage-settings-form-block-financial_type_id"><td class="label">{$form.financial_type_id.label}</td><td>{$form.financial_type_id.html}<br />
<span class="description">{ts}Select the corresponding financial type for contributions made using this page.{/ts}</span> {help id="id-financial_type"}</td>
</tr>
{ts}Contribution Page Configuration{/ts}
{/htxt}
{htxt id="id-configure-contrib-pages"}
-<table>
+<table>
<tr>
<td><a href="{crmURL p='civicrm/admin/contribute/settings' q="reset=1&action=update&id=`$contributionPageID`"}" id="idContribPageSettings">» {ts}Title and Settings{/ts}</a></td>
<td>{ts}Use this form to edit the page title, financial type (e.g. donation, campaign contribution, etc.), goal amount, introduction, and status (active/inactive) for this online contribution page.{/ts}</td>
{ts 1=$ftUrl}There are no financial types configured with linked 'Cost of Sales Premiums' and 'Premiums Inventory Account' accounts. If you want to generate accounting transactions which track the cost of premiums used <a href='%1'>click here</a> to configure financial types and accounts.{/ts}
{else}
{$form.financial_type_id.html}<br />
- <span class="description">{ts}Select a financial type that is linked to both a 'Cost of Sales Premiums Account' and a 'Premiums Inventory Account' if you want to generate accounting transactions to track the cost of premiums used.{/ts}</span>
+ <span class="description">{ts}Select a financial type that is linked to both a 'Cost of Sales Premiums Account' and a 'Premiums Inventory Account' if you want to generate accounting transactions to track the cost of premiums used.{/ts}</span>
{/if}
</td>
</tr>
{if $action ne 1 and $action ne 2}
<div class="action-link">
- <a href="{crmURL q="action=add&reset=1"}" id="newContributionType" class="button"><span><div class="icon add-icon"></div>{ts}Add Financial Type{/ts}</span></a>
+ <a href="{crmURL q="action=add&reset=1"}" id="newContributionType" class="button"><span><div class="icon add-icon"></div>{ts}Add Financial Type{/ts}</span></a>
</div>
{/if}
</div>
<th id="sortable">{ts}Name{/ts}</th>
<th>{ts}SKU{/ts}</th>
<th>{ts}Market Value{/ts}</th>
- <th>{ts}Financial Type{/ts}</th>
+ <th>{ts}Financial Type{/ts}</th>
<th>{ts}Min Contribution{/ts}</th>
<th>{ts}Active?{/ts}</th>
<th></th>
<td class="crm-contribution-form-block-name">{$row.name}</td>
<td class="crm-contribution-form-block-sku">{$row.sku}</td>
<td class="crm-contribution-form-block-price">{$row.price }</td>
- <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
+ <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
<td class="crm-contribution-form-block-min_contribution">{$row.min_contribution}</td>
<td id="row_{$row.id}_status" >{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
<td id={$row.id}>{$row.action|replace:'xx':$row.id}</td>
<th>{ts}SKU{/ts}</th>
<th>{ts}Market Value{/ts}</th>
<th>{ts}Min Contribution{/ts}</th>
- <th>{ts}Financial Type{/ts}</th>
+ <th>{ts}Financial Type{/ts}</th>
<th>{ts}Weight{/ts}</th>
<th></th>
</tr>
<td class="crm-contribution-form-block-sku">{$row.sku}</td>
<td class="crm-contribution-form-block-price">{$row.price }</td>
<td class="crm-contribution-form-block-min_contribution">{$row.min_contribution}</td>
- <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
+ <td class="crm-contribution-form-block-financial_type">{$row.financial_type_id}</td>
<td class="nowrap crm-contribution-form-block-weight">{$row.weight}</td>
<td class="crm-contribution-form-block-action">{$row.action}</td>
</tr>