forked from CiviWare/org.agbu.annualgrantbudgets
convert to using a civix-generated entity
This commit is contained in:
@ -9,7 +9,7 @@ class CRM_Grant_Page_AnnualBudgets extends CRM_Core_Page_Basic {
|
||||
* Classname of BAO.
|
||||
*/
|
||||
public function getBAOName() {
|
||||
return 'CRM_Grant_BAO_GrantBudget';
|
||||
return 'CRM_AnnualGrantBudgets_BAO_GrantBudget';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -40,7 +40,7 @@ class CRM_Grant_Page_AnnualBudgets extends CRM_Core_Page_Basic {
|
||||
$fiscalYear = date('Y');
|
||||
}
|
||||
$fiscalYearOptions = '';
|
||||
foreach (CRM_Grant_BAO_GrantBudget::getFiscalyear() as $key => $value) {
|
||||
foreach (CRM_AnnualGrantBudgets_BAO_GrantBudget::getFiscalyear() as $key => $value) {
|
||||
$extra = '';
|
||||
if ($key == $fiscalYear) {
|
||||
$extra = 'selected="selected"';
|
||||
|
Reference in New Issue
Block a user