-
Notifications
You must be signed in to change notification settings - Fork 1
Urban planned visit #1460
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
base: dev
Are you sure you want to change the base?
Urban planned visit #1460
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1214,6 +1214,13 @@ public static function institutionCollectionCampTabset($tabsetName, &$tabs, $con | |
| 'template' => 'CRM/Goonjcustom/Tabs/MonetaryContribution.tpl', | ||
| 'permissions' => ['goonj_chapter_admin', 'ho_account'], | ||
| ], | ||
| 'InstituteMaterialContribution' => [ | ||
| 'title' => ts('Monetary Contribution'), | ||
| 'module' => 'afsearchAutofillInstitutionMaterialContributions', | ||
| 'directive' => 'afsearch-autofill-institution-material-contributions', | ||
| 'template' => 'CRM/Goonjcustom/Tabs/MonetaryContribution.tpl', | ||
| 'permissions' => ['goonj_chapter_admin', 'urbanops', 'urban_ops_admin', 's2s_ho_team', 'project_team_ho', 'project_team_chapter', 'urban_ops_and_accounts_chapter_team', 'mmt_and_accounts_chapter_team', 'project_ho_and_accounts'], | ||
| ], | ||
|
Comment on lines
+1217
to
+1223
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Differentiate the new tab’s title This adds a second tab labeled “Monetary Contribution,” so the UI now shows two indistinguishable tabs. Users won’t know which one surfaces Institute material data vs. the monetary view. Please rename the new tab (e.g., “Institute Material Contribution”) to keep the navigation clear. 🤖 Prompt for AI Agents |
||
| // 'monetaryContributionForUrbanOps' => [ | ||
| // 'title' => ts('Monetary Contribution'), | ||
| // 'module' => 'afsearchMonetaryContributionForUrbanOps', | ||
|
|
||
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.
Restore correct ACL filtering for Collection Camps
When
aclCollectionCampfires forEck_Collection_Camp, we still fetchInstitution_Visitrecords and push their IDs into$clauses['id']. That mismatched dataset makes the collection-camp listings collapse to an empty result (unless camp IDs coincidentally match visit IDs), effectively blocking normal access. Please either fall back to the old branch forEck_Collection_Campor derive the allowed IDs from the camp tables before shipping.🧰 Tools
🪛 PHPMD (2.15.0)
63-63: Avoid unused parameters such as '$conditions'. (undefined)
(UnusedFormalParameter)
🤖 Prompt for AI Agents