diff options
-rwxr-xr-x | manage_proposal.inc | 6 | ||||
-rwxr-xr-x | proposal.inc | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc index 73575d7..d21093a 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -58,6 +58,9 @@ function cfd_case_study_proposal_all() case 3: $approval_status = 'Completed'; break; + case 5: + $approval_status = 'On Hold'; + break; default: $approval_status = 'Unknown'; break; @@ -666,6 +669,9 @@ function cfd_case_study_proposal_status_form($form, &$form_state) case 3: $proposal_status = t('Completed'); break; + case 5: + $approval_status = t('On Hold'); + break; default: $proposal_status = t('Unkown'); break; diff --git a/proposal.inc b/proposal.inc index 35b3176..3159704 100755 --- a/proposal.inc +++ b/proposal.inc @@ -489,10 +489,10 @@ function cfd_case_study_proposal_form_validate($form, &$form_state) form_set_error('solver_used_text', t('Minimum charater limit is 7 charaters, please check the length of the solver used')); } //strlen($form_state['values']['project_title']) < 10 } //$form_state['values']['project_title'] != '' - else + /*else { form_set_error('solver_used_text', t('Solver used cannot be empty')); - } + }*/ if(strtotime(date($form_state['values']['expected_date_of_completion'])) < time()) { form_set_error('expected_date_of_completion', t('Completion date should not be earlier than proposal date')); |