X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FGrant%2FBAO%2FQuery.php;h=65c343814713c770bc0b7563e3b081d4a19c90cb;hb=fd31fa4c65b766d62df21f578772960955322576;hp=91da27c50db156b0fe5f7bd2927120b71148981d;hpb=ab345ca52e2b604ac53e816354f94d3e8fdf676f;p=civicrm-core.git diff --git a/CRM/Grant/BAO/Query.php b/CRM/Grant/BAO/Query.php index 91da27c50d..65c3438147 100644 --- a/CRM/Grant/BAO/Query.php +++ b/CRM/Grant/BAO/Query.php @@ -2,9 +2,9 @@ /* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -29,7 +29,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2013 + * @copyright CiviCRM LLC (c) 2004-2014 * $Id$ * */ @@ -43,6 +43,8 @@ class CRM_Grant_BAO_Query { /** * build select for CiviGrant * + * @param $query + * * @return void * @access public */ @@ -98,6 +100,8 @@ class CRM_Grant_BAO_Query { * Given a list of conditions in params generate the required * where clause * + * @param $query + * * @return void * @access public */ @@ -294,6 +298,8 @@ class CRM_Grant_BAO_Query { * * @access public * + * @param $form + * * @return void * @static */ @@ -331,7 +337,7 @@ class CRM_Grant_BAO_Query { $form->addElement('checkbox', 'grant_decision_date_notset', ts(''), NULL); - $form->addYesNo('grant_report_received', ts('Grant report received?')); + $form->addYesNo('grant_report_received', ts('Grant report received?'), TRUE); $form->add('text', 'grant_amount_low', ts('Minimum Amount'), array('size' => 8, 'maxlength' => 8)); $form->addRule('grant_amount_low', ts('Please enter a valid money value (e.g. %1).', array(1 => CRM_Utils_Money::format('9.99', ' '))), 'money');