Index: openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.adp 21 Aug 2008 11:31:13 -0000 1.1 @@ -0,0 +1,34 @@ + + @title;noquote@ + @context;noquote@ +

@title@

+ +

@early_message;noquote@

+ +
+@export_form_vars_html;noquote@ + + +@table_rows_html;noquote@ + + + +
Date & Time:@date_time_widget_html;noquote@
Inquired via:@interaction_widget_html;noquote@
Who initiated this inquiry?
+ + +

Fill in any of the following information, which the system can use to try to identify the customer:

+ + + + + +
First Name: Last Name:
Email Address:
Zip Code: + If you fill this in, we'll determine which city/state they live in.
Other Identifying Info:
+
+ +
+ +
+ +
Index: openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.tcl 9 Mar 2004 00:59:47 -0000 1.4 +++ openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add.tcl 21 Aug 2008 11:31:13 -0000 1.5 @@ -1,5 +1,4 @@ # interaction-add.tcl - ad_page_contract { @param issue_id:optional @param user_identification_id:optional @@ -16,7 +15,6 @@ ad_require_permission [ad_conn package_id] admin # the customer service rep must be logged on - set return_url "[ad_conn url]" set customer_service_rep [ad_get_user_id] @@ -35,92 +33,18 @@ set insert_id 0 -append doc_body "[ad_admin_header "New Interaction"] -

New Interaction

+set title "New Interaction" +set context [list [list index "Customer Service"] $title] -[ad_context_bar [list "../index.tcl" "Ecommerce([ec_system_name])"] [list "index.tcl" "Customer Service Administration"] "New Interaction"] +set export_form_vars_html [export_form_vars issue_id return_to_issue c_user_identification_id insert_id] +set table_rows_html "" -
- -
-[export_form_vars issue_id return_to_issue c_user_identification_id insert_id] -
- -" - - - if { [info exists user_identification_id] } { - append doc_body " - - - - " + append table_rows_html "\n" } -append doc_body " - - - - - - - - - - - - - - - -
Customer:[ec_user_identification_summary $user_identification_id]
Customer:[ec_user_identification_summary $user_identification_id]
Customer Service Rep:[db_string get_full_name "select first_names || ' ' || last_name from cc_users where user_id=:customer_service_rep"] (if this is wrong, please log in)
Date & Time:[ad_dateentrywidget open_date] [ec_timeentrywidget open_date "[ns_localsqltimestamp]"]
Inquired via: -[ec_interaction_type_widget] -
Who initiated this inquiry? -
-
-" +append early_message "Customer Service Rep: [db_string get_full_name "select first_names || ' ' || last_name from cc_users where user_id=:customer_service_rep"] (if this is wrong, please log in)" -if { ![info exists user_identification_id] } { - append doc_body "

- Fill in any of the following information, which the system can use to try to identify the customer: -

-

- - - - - - - - - - - - - - - - - -
First Name: Last Name:
Email Address:
Zip Code: - If you fill this in, we'll determine which city/state they live in.
Other Identifying Info:
- " -} +set date_time_widget_html "[ad_dateentrywidget open_date] [ec_timeentrywidget open_date "[ns_localsqltimestamp]"]" -append doc_body "
- -
- -
- -
- -[ad_admin_footer] -" - - -doc_return 200 text/html $doc_body +set interaction_widget_html [ec_interaction_type_widget]