Index: openacs-4/packages/project-manager/lib/logger-portlet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/logger-portlet.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/project-manager/lib/logger-portlet.adp 13 Jun 2006 06:49:26 -0000 1.6 +++ openacs-4/packages/project-manager/lib/logger-portlet.adp 11 Dec 2006 17:35:47 -0000 1.7 @@ -3,14 +3,15 @@
+ | + | #project-manager.Hours_completed#: @hours_sum@ | |
Index: openacs-4/packages/project-manager/lib/logger-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/logger-portlet.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/project-manager/lib/logger-portlet.tcl 16 Nov 2006 12:13:10 -0000 1.5 +++ openacs-4/packages/project-manager/lib/logger-portlet.tcl 11 Dec 2006 17:35:47 -0000 1.6 @@ -54,5 +54,6 @@ set today_ansi [clock format [clock scan today] -format "%Y-%m-%d"] set then_ansi [clock format [clock scan "-$logger_days days"] -format "%Y-%m-%d"] +set hours_sum [db_string hours_sum "select sum(value) from logger_entries where variable_id = :logger_variable_id and project_id in ([template::util::tcl_to_sql_list $logger_projects])" -default 0] set day_widget "[_ project-manager.lt_Last_input_typetext_n]" |