added validation

This commit is contained in:
2018-08-12 05:40:36 +05:30
parent 133a71f70b
commit dc36f24333
3 changed files with 40 additions and 16 deletions

View File

@ -69,8 +69,5 @@ function _civicrm_api3_grant_budget_getbudget_spec(&$spec) {
'api.required' => 1,
'title' => ts('Fiscal Year'),
'type' => CRM_Utils_Type::T_INT,
'pseudoconstant' => [
'callback' => 'CRM_Grant_BAO_GrantBudget::getFiscalyear',
],
];
}