-
-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CiviGrant PDF Letters #30321
base: master
Are you sure you want to change the base?
CiviGrant PDF Letters #30321
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
Why not. |
I'm going to hold on this to make it SearchKit compatible. But I've actually had two groups ask me for batch grant agreement letters recently. |
d42d511
to
7c518cb
Compare
91b28f0
to
d27e56e
Compare
CRM/Core/Task.php
Outdated
@@ -153,15 +153,15 @@ public static function corePermissionedTaskTitles($tasks, $permission, $params) | |||
* the set of tasks for a group of participants | |||
*/ | |||
public static function getTask($value) { | |||
static::tasks(); | |||
$tasks = static::tasks(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this function will also need to reset the self::tasks()
variable?
@MegaphoneJon out of interest have you had any requests for import grant functionality? I'm thinking of adding it - not because I actually care about importing grants but I wanted to try adding a 'generic' import so grants seemed like a good focus. We currently have the csv exporter but that uses apiv3 + it doesn't allow you to add an entity + contact in the same import |
b90fca9
to
9739656
Compare
9739656
to
cb40e73
Compare
@MegaphoneJon as a tangent on this I have opened #30461 which makes grants tokens available in core - although the intention is only partly about the grant tokens with the meta-goal being making it easy to add tokens to any entity via metadata rather than code |
…re into grant-pdf-letter
test this please |
1 similar comment
test this please |
Overview
Adds an option to print/merge documents when searching on grants.
Before
No option.
After
Option.
Comments
Grants don't have tokens natively defined, but they can be defined in an extension, and you can use SearchKit Tokens to easily add all the core grant tokens.