From: Dave Greenberg Date: Wed, 28 Oct 2015 22:14:59 +0000 (-0700) Subject: CRM-17425 - Help improvement for Batch Entry and fix selectedChild behavior in UFGrou... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=edb2137962d45c3f3d2783fdc7dbbe60ef52839b;p=civicrm-core.git CRM-17425 - Help improvement for Batch Entry and fix selectedChild behavior in UFGroup tabset. ---------------------------------------- * CRM-17425: Allow PCP selection in contribution batch entry https://issues.civicrm.org/jira/browse/CRM-17425 --- diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index d3ab1a54ca..07ad421e1e 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -157,6 +157,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { // assign vars to templates $this->assign('action', $action); + $this->assign('selectedChild', CRM_Utils_Request::retrieve('selectedChild', 'String', $this)); $id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE, 0 ); diff --git a/templates/CRM/Batch/Form/Entry.tpl b/templates/CRM/Batch/Form/Entry.tpl index bc31812ebf..b98970082b 100755 --- a/templates/CRM/Batch/Form/Entry.tpl +++ b/templates/CRM/Batch/Form/Entry.tpl @@ -25,7 +25,11 @@ *}
- {ts}Click Validate & Process below when you've entered all items for the batch. You can also Save & Continue Later at any time. Go to Administer > Customize Data and Screens > Profiles > Reserved Profiles > to add, remove or change the order of columns.{/ts} + {ts}Click Validate & Process below when you've entered all items for the batch. You can also Save & Continue Later at any time.{/ts} + {if call_user_func(array('CRM_Core_Permission','check'), 'administer CiviCRM')} + {capture assign=batchEntryProfileURL}{crmURL p="civicrm/admin/uf/group" q="reset=1&selectedChild=reserved-profiles"}{/capture} + {ts 1=$batchEntryProfileURL}Add, remove or change the order of columns by editing the reserved Contribution Bulk Entry profile. Custom fields and a Personal Campaign Page field can be added if needed.{/ts} + {/if}
{if $batchAmountMismatch}
diff --git a/templates/CRM/UF/Page/Group.tpl b/templates/CRM/UF/Page/Group.tpl index 4dbadda4fd..1c07ec71fc 100644 --- a/templates/CRM/UF/Page/Group.tpl +++ b/templates/CRM/UF/Page/Group.tpl @@ -59,8 +59,8 @@ {if $rows} {* maincontainer*}