diff options
author | Sashi20 | 2019-04-25 17:17:55 +0530 |
---|---|---|
committer | Sashi20 | 2019-04-25 17:17:55 +0530 |
commit | b34eaf592792891d893ac06803b93c0d42b667b5 (patch) | |
tree | a2ce78cb9fe48f6eeb897f7d1f1d0b554471ca10 /manage_proposal.inc | |
parent | 8af1493bd51de5590268226f3a73d4e81dc04e4a (diff) | |
download | om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.tar.gz om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.tar.bz2 om_flowsheet-b34eaf592792891d893ac06803b93c0d42b667b5.zip |
Increase the size of reference field, implement certificate
Diffstat (limited to 'manage_proposal.inc')
-rwxr-xr-x | manage_proposal.inc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc index 5c5b519..ff3026e 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -294,6 +294,11 @@ function om_flowsheet_proposal_approval_form($form, &$form_state) '#title' => t('Name of compound for which process development is carried out'), '#markup' => $prodata ); + $form['reference'] = array( + '#type' => 'item', + '#title' => t('Reference'), + '#markup' => $proposal_data->reference, + ); /* $form['process_development_compound_cas_number'] = array( '#type' => 'item', @@ -302,7 +307,7 @@ function om_flowsheet_proposal_approval_form($form, &$form_state) );*/ $form['approval'] = array( '#type' => 'radios', - '#title' => t('om flowsheeting proposal'), + '#title' => t('Select to approve/disapprove the proposal'), '#options' => array( '1' => 'Approve', '2' => 'Disapprove' @@ -558,6 +563,11 @@ function om_flowsheet_proposal_status_form($form, &$form_state) '#title' => t('CAS Number of compound for which process development is carried out'), '#markup' => $proposal_data->process_development_compound_cas_number ); + $form['reference'] = array( + '#type' => 'item', + '#title' => t('Reference'), + '#markup' => $proposal_data->reference + ); $proposal_status = ''; switch ($proposal_data->approval_status) { @@ -912,8 +922,8 @@ else{ $form['reference'] = array( '#type' => 'textarea', '#title' => t('Reference of the Flowsheet Project'), - '#size' => 300, - '#maxlength' => 350, + '#size' => 250, + '#maxlength' => 250, '#default_value' => $proposal_data->reference ); $form['process_development_compound_name'] = array( |