diff options
author | Sashi20 | 2019-01-02 16:29:33 +0530 |
---|---|---|
committer | Sashi20 | 2019-01-02 16:29:33 +0530 |
commit | 2e8a343e72afb6c10651cc148ed7da45ef98b3e2 (patch) | |
tree | 0913a409d0309103175e6a0171f0ddfda5919d8d | |
parent | e631191f9c1f74a5f35d2571b586a849465bc504 (diff) | |
download | dwsim_flowsheet-2e8a343e72afb6c10651cc148ed7da45ef98b3e2.tar.gz dwsim_flowsheet-2e8a343e72afb6c10651cc148ed7da45ef98b3e2.tar.bz2 dwsim_flowsheet-2e8a343e72afb6c10651cc148ed7da45ef98b3e2.zip |
Modified the year displayed in completed flowsheets
-rwxr-xr-x | flowsheet_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flowsheet_details.inc b/flowsheet_details.inc index 4297f6f..b9317f0 100755 --- a/flowsheet_details.inc +++ b/flowsheet_details.inc @@ -21,13 +21,13 @@ function dwsim_flowsheet_completed_proposals_all() $i = 1; while ($row = $result->fetchObject()) { - $approval_date = date("Y", $row->approval_date); + $completion_date = date("Y", $row->actual_completion_date); $preference_rows[] = array( $i, l($row->project_title, "flowsheeting-project/dwsim-flowsheet-run/" . $row->id, array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the DWSIM flow sheet which is to be viewed by right clicking on the file and opening with DWSIM.'))), $row->contributor_name, $row->university, - $approval_date + $completion_date ); $i++; } //$row = $result->fetchObject() |