* Browse all financial types.
*/
public function browse() {
- // Check permission for Financial Type when ACL-FT is enabled
- if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()
- && !CRM_Core_Permission::check('administer CiviCRM Financial Types')
- ) {
- CRM_Core_Error::statusBounce(ts('You do not have permission to access this page.'));
- }
// get all financial types sorted by weight
$financialType = [];
$dao = new CRM_Financial_DAO_FinancialType();