Skip to content
Snippets Groups Projects
Commit 95a8ac8d authored by eileen's avatar eileen
Browse files

CRM-12160 menu fixes for 4.3

parent c55ee104
Branches
Tags
No related merge requests found
......@@ -131,7 +131,7 @@ UPDATE civicrm_country SET name = 'Libya' WHERE name LIKE 'Libyan%';
UPDATE civicrm_country SET name = 'Congo, Republic of the' WHERE name = 'Congo';
-- CRM-10621 Add component report links to reports menu for upgrade
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports';
SELECT @reportlastID := MAX(id) FROM civicrm_navigation where name = 'Reports' AND domain_id = {$domainID};
SELECT @max_weight := MAX(ROUND(weight)) from civicrm_navigation WHERE parent_id = @reportlastID;
INSERT INTO civicrm_navigation
......@@ -461,7 +461,7 @@ UPDATE civicrm_navigation SET `label` = 'Financial Types', `name` = 'Financial
-- CRM-9199
-- Insert menu item at Administer > CiviContribute, below the section break below Premiums (Thank-you Gifts), just below Financial Account.
SELECT @parent_id := id from `civicrm_navigation` where name = 'CiviContribute';
SELECT @parent_id := id from `civicrm_navigation` where name = 'CiviContribute' AND domain_id = {$domainID};
SELECT @add_weight_id := weight from `civicrm_navigation` where `name` = 'Financial Types' and `parent_id` = @parent_id;
UPDATE `civicrm_navigation`
......@@ -475,7 +475,7 @@ VALUES
( {$domainID}, 'civicrm/admin/financial/financialAccount&reset=1', '{ts escape="sql" skip="true"}Financial Account{/ts}', 'Financial Account', 'access CiviContribute,administer CiviCRM', 'AND', @parent_id, '1', NULL, @add_weight_id + 1 );
-- CRM-10944
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions';
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions' AND domain_id = {$domainID};
SELECT @pledgeWeight := weight from civicrm_navigation where name = 'Pledges' and parent_id = @contributionlastID;
......
......@@ -16,14 +16,14 @@ UPDATE `civicrm_navigation`
name = 'Closed Batches' OR
name = 'Exported Batches' OR
name = 'Accounting Batches';
UPDATE `civicrm_navigation`
SET permission = 'create manual batch'
WHERE
name = 'Accounting Batches';
-- CRM-11891
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions';
SELECT @contributionlastID := max(id) from civicrm_navigation where name = 'Contributions' AND domain_id = {$domainID};
SELECT @importWeight := weight from civicrm_navigation where name = 'Import Contributions' and parent_id = @contributionlastID;
-- since 'Bulk Data Entry' was renamed to 'Batch Data Entry'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment