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
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
2e7182a3
Commit
2e7182a3
authored
11 years ago
by
Edzelopez
Browse files
Options
Downloads
Plain Diff
Merge pull request #191 from Edzelopez/RG-210
RG-211 Added maximum pdf value to install file
parents
6f6f06fc
036cab54
No related branches found
Branches containing commit
Tags
1.72
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/grantprograms_install.sql
+2
-0
2 additions, 0 deletions
sql/grantprograms_install.sql
with
2 additions
and
0 deletions
sql/grantprograms_install.sql
+
2
−
0
View file @
2e7182a3
...
...
@@ -188,6 +188,7 @@ SELECT @opv1 := id FROM civicrm_option_value WHERE name = 'Funding factor' AND
SELECT
@
opv2
:
=
id
FROM
civicrm_option_value
WHERE
name
=
'Fixed Percentage Of Grant'
AND
option_group_id
=
@
opGId
;
SELECT
@
opv3
:
=
id
FROM
civicrm_option_value
WHERE
name
=
'Maximum Grant'
AND
option_group_id
=
@
opGId
;
SELECT
@
opv4
:
=
id
FROM
civicrm_option_value
WHERE
name
=
'Minimum Score For Grant Award'
AND
option_group_id
=
@
opGId
;
SELECT
@
opv5
:
=
id
FROM
civicrm_option_value
WHERE
name
=
'Maximum number of checks per pdf file'
AND
option_group_id
=
@
opGId
;
INSERT
IGNORE
INTO
`civicrm_option_value`
(
`id`
,
`option_group_id`
,
`label`
,
`value`
,
`name`
,
`grouping`
,
`filter`
,
`is_default`
,
`weight`
,
`description`
,
`is_optgroup`
,
`is_reserved`
,
`is_active`
,
`component_id`
,
`domain_id`
,
`visibility_id`
)
VALUES
...
...
@@ -195,6 +196,7 @@ INSERT IGNORE INTO `civicrm_option_value` (`id`, `option_group_id`, `label`, `va
(
@
opv2
,
@
opGId
,
'Fixed Percentage Of Grant'
,
'80'
,
'Fixed Percentage Of Grant'
,
NULL
,
0
,
0
,
3
,
NULL
,
0
,
1
,
1
,
NULL
,
NULL
,
NULL
),
(
@
opv3
,
@
opGId
,
'Maximum Grant'
,
'1500'
,
'Maximum Grant'
,
NULL
,
0
,
0
,
1
,
NULL
,
0
,
1
,
1
,
NULL
,
NULL
,
NULL
),
(
@
opv4
,
@
opGId
,
'Minimum Score For Grant Award'
,
'73'
,
'Minimum Score For Grant Award'
,
NULL
,
0
,
0
,
2
,
NULL
,
0
,
1
,
1
,
NULL
,
NULL
,
NULL
);
(
@
opv5
,
@
opGId
,
'Maximum number of checks per pdf file'
,
'1000'
,
'Maximum number of checks per pdf file'
,
NULL
,
0
,
0
,
3
,
NULL
,
0
,
1
,
1
,
NULL
,
NULL
,
NULL
);
-- grant_status
SET
@
opv1
:
=
''
;
...
...
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