Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grant_program
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
grant_program
Commits
518fd708
Commit
518fd708
authored
11 years ago
by
Mayur Jadhav
Browse files
Options
Downloads
Patches
Plain Diff
Worked on RG-156
parent
15bfb433
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CRM/Grant/PaymentTask.php
+0
-7
0 additions, 7 deletions
CRM/Grant/PaymentTask.php
grantprograms.php
+1
-1
1 addition, 1 deletion
grantprograms.php
with
1 addition
and
8 deletions
CRM/Grant/PaymentTask.php
+
0
−
7
View file @
518fd708
...
...
@@ -149,13 +149,6 @@ class CRM_Grant_PaymentTask
*/
static
function
getTask
(
$value
)
{
self
::
tasks
(
);
if
(
!
$value
||
!
CRM_Utils_Array
::
value
(
$value
,
self
::
$_tasks
)
)
{
// make the print task by default
$value
=
5
;
}
return
array
(
self
::
$_tasks
[
$value
][
'class'
],
self
::
$_tasks
[
$value
][
'result'
]
);
}
}
This diff is collapsed.
Click to expand it.
grantprograms.php
+
1
−
1
View file @
518fd708
...
...
@@ -874,7 +874,7 @@ function grantprograms_civicrm_postProcess($formName, &$form) {
*
*/
function
grantprograms_civicrm_searchTasks
(
$objectName
,
&
$tasks
)
{
if
(
$objectName
==
'grant'
)
{
if
(
$objectName
==
'grant'
&&
!
strstr
(
$_GET
[
'q'
],
'payment/search'
)
)
{
$tasks
[
PAY_GRANTS
]
=
array
(
'title'
=>
ts
(
'Pay Grants'
),
'class'
=>
array
(
'CRM_Grant_Form_Task_Pay'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment