From ea99666043981bd5516759b4728c3b37862acb27 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 22 Jun 2016 15:27:30 +0530 Subject: [PATCH] CRM-16189, fixed indentation ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 Conflicts: CRM/Financial/BAO/FinancialAccount.php --- CRM/Financial/BAO/FinancialAccount.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CRM/Financial/BAO/FinancialAccount.php b/CRM/Financial/BAO/FinancialAccount.php index 159f10e959..011d8a99b5 100644 --- a/CRM/Financial/BAO/FinancialAccount.php +++ b/CRM/Financial/BAO/FinancialAccount.php @@ -303,19 +303,19 @@ WHERE ce.entity_table = 'civicrm_financial_type' AND ce.account_relationship = % } /** - * check if financial account is referenced by financial item + * check if financial account is referenced by financial item. * * @param $financialAccountId Integer * - * @param $financialAccountTypeID Integer - * + * @param $financialAccountTypeID Integer + * * @return bool - * - */ - public static function validateFinancialAccount($financialAccountId, $financialAccountTypeID = NULL) { - if (!$financialAccountId) { + * + */ + public static function validateFinancialAccount($financialAccountId, $financialAccountTypeID = NULL) { + if (!$financialAccountId) { return FALSE; - } + } $sql = "SELECT f.financial_account_type_id FROM civicrm_financial_account f INNER JOIN civicrm_financial_item fi ON fi.financial_account_id = f.id INNER JOIN civicrm_option_value cv ON cv.value = f.financial_account_type_id AND cv.name IN ('Revenue', 'Liability') -- 2.25.1