From 4c9ad7e6d6c304b2d8c8fcbf371aa00a2cbb8951 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 6 Sep 2023 19:23:29 +1200 Subject: [PATCH] Add weights on financial accounts page --- CRM/Financial/Page/FinancialAccount.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Financial/Page/FinancialAccount.php b/CRM/Financial/Page/FinancialAccount.php index 16e7d6a187..a286705b2e 100644 --- a/CRM/Financial/Page/FinancialAccount.php +++ b/CRM/Financial/Page/FinancialAccount.php @@ -52,22 +52,26 @@ class CRM_Financial_Page_FinancialAccount extends CRM_Core_Page_Basic { 'url' => 'civicrm/admin/financial/financialAccount/edit', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Financial Type'), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE), ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Financial Type'), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DISABLE), ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Financial Type'), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::ENABLE), ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/admin/financial/financialAccount/edit', 'qs' => 'action=delete&id=%%id%%', 'title' => ts('Delete Financial Type'), + 'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DELETE), ], ]; } -- 2.25.1