Index: openacs-4/packages/ecommerce/www/admin/customer-service/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/customer-service/index.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ecommerce/www/admin/customer-service/index.tcl 9 Mar 2004 00:59:47 -0000 1.4 +++ openacs-4/packages/ecommerce/www/admin/customer-service/index.tcl 24 Feb 2005 13:33:14 -0000 1.5 @@ -12,37 +12,31 @@ append doc_body "[ad_admin_header "Customer Service Administration"] -
type | open | closed |
uncategorized | " - - set num_open_issues [db_string get_open_issues "select count(*) from ec_customer_service_issues issues, ec_user_identification id where issues.user_identification_id = id.user_identification_id and close_date is NULL and deleted_p = 'f' and 0 = (select count(*) from ec_cs_issue_type_map map where map.issue_id=issues.issue_id)"] -append doc_body "open ($num_open_issues) | -closed +if {$num_open_issues > 0 } { + append doc_body "$num_open_issues open | closed | closed | " +} -
$issue_type | +$num_open_issues open | closed + |
$issue_type | +none | closed + |
all others | +$num_open_issues open | +closed" +} else { + append doc_body " |
all others | +none | +closed" +} +append doc_body " |
add New Interaction
" if { [llength $issue_type_list] == 0 } { - append doc_body "If you want to see issues separated out by commonly used issue types, then add those issue types to the issue type picklist below in Picklist Management." + append doc_body "If you want to see issues separated out by commonly used issue types, then add those issue types to the issue type in Picklist Management.
" } -append doc_body "+append doc_body "