Add weights on assign financial account page
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 6 Sep 2023 07:28:10 +0000 (19:28 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 6 Sep 2023 07:28:10 +0000 (19:28 +1200)
CRM/Financial/Page/FinancialTypeAccount.php

index 75b4d47e2bbb7c91af14a189e58da4b1e3fb3807..53ff637fcc22b4ecf7812e061f5872546aed6c2e 100644 (file)
@@ -57,12 +57,14 @@ class CRM_Financial_Page_FinancialTypeAccount extends CRM_Core_Page {
           'url' => 'civicrm/admin/financial/financialType/accounts',
           'qs' => 'action=update&id=%%id%%&aid=%%aid%%&reset=1',
           'title' => ts('Edit Financial Type Account'),
+          'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::UPDATE),
         ],
         CRM_Core_Action::DELETE => [
           'name' => ts('Delete'),
           'url' => 'civicrm/admin/financial/financialType/accounts',
           'qs' => 'action=delete&id=%%id%%&aid=%%aid%%',
           'title' => ts('Delete Financial Type Account'),
+          'weight' => CRM_Core_Action::getWeight(CRM_Core_Action::DELETE),
         ],
       ];
     }