Index: openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add-2.tcl,v diff -u -r1.6 -r1.6.2.1 --- openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add-2.tcl 9 Mar 2004 00:59:47 -0000 1.6 +++ openacs-4/packages/ecommerce/www/admin/customer-service/interaction-add-2.tcl 12 Feb 2005 23:07:10 -0000 1.6.2.1 @@ -87,7 +87,7 @@ append exception_text "
  • You forgot to specify the method of inquiry (phone/email/etc.).\n" } elseif { $interaction_type == "other" && (![info exists interaction_type_other] || [empty_string_p $interaction_type_other]) } { incr exception_count - append exception_text "
  • You forgot to fill in the text box for Other.\n" + append exception_text "
  • You forgot to fill in the text box detail for Other.\n" } elseif { $interaction_type != "other" && ([info exists interaction_type_other] && ![empty_string_p $interaction_type_other]) } { incr exception_count append exception_text "
  • You selected \"Inquired via: [string toupper [string index $interaction_type 0]][string range $interaction_type 1 [expr [string length $interaction_type] -1]]\", but you also filled in something in the \"If Other, specify\" field. This is inconsistent.\n" @@ -113,102 +113,16 @@ -append doc_body "[ad_admin_header "One Issue"] +append doc_body "[ad_admin_header "One Issue"]

    One Issue

    - [ad_context_bar [list "../index.tcl" "Ecommerce([ec_system_name])"] [list "index.tcl" "Customer Service Administration"] "One Issue (part of New Interaction)"] -
    -A customer may discuss several issues during the course of one interaction. Please -enter the information about only one issue below: +
    " -
    -[export_form_vars interaction_id c_user_identification_id action_id open_date_str interaction_type interaction_type_other interaction_originator first_names last_name email postal_code other_id_info return_to_issue insert_id] - - -" - -if { [info exists c_user_identification_id] } { - append doc_body " - - - - " -} - -if { ![info exists issue_id] } { - append doc_body " - - - - - - - - - - - - " -} else { - set order_id [db_string get_order_id "select order_id from ec_customer_service_issues where issue_id=:issue_id"] - set issue_type_list [db_list get_issue_type_list "select issue_type from ec_cs_issue_type_map where issue_id=:issue_id"] - - append doc_body " - - - - - - - - - - - - " -} -append doc_body " - - - - - - - - - - - - - - - -
    Customer:[ec_user_identification_summary $c_user_identification_id "t"]" - - if { [info exists postal_code] } { - append doc_body "
    - [ec_location_based_on_zip_code $postal_code] - " - } - - append doc_body "
    Issue ID: - If this is a new issue, please leave this blank (a new Issue ID will be generated)
    Order ID: - Fill this in if this inquiry is about a specific order. -
    Issue Type: (leave blank if based on an existing issue):[ec_issue_type_widget]
    Issue ID:$issue_id[export_form_vars issue_id]
    Order ID:[ec_decode $order_id "" "none" $order_id]
    Issue Type[join $issue_type_list ", "]
    Details:
    Information used to respond to inquiry:[ec_info_used_widget]
    If follow-up is required, please specify:
    Close this issue? -No (Issue requires follow-up) -Yes (Issue is resolved) -
    -" - if { ![info exists c_user_identification_id] } { append doc_body " +

    Customer identification:

    - - Customer identification: - -

    - Here's what we could determine about the customer given the information you typed into the previous form:

    -

    + append doc_body "" +} + +append doc_body "

    One issue

    A customer may discuss several issues during the course of one interaction. Please +enter the information about only one issue below:

    + + +[export_form_vars interaction_id c_user_identification_id action_id open_date_str interaction_type interaction_type_other interaction_originator first_names last_name email postal_code other_id_info return_to_issue insert_id] + +" + +if { [info exists c_user_identification_id] } { + append doc_body " + + + " +} + +if { ![info exists issue_id] } { + append doc_body " + + + + + + + + + + + " +} else { + set order_id [db_string get_order_id "select order_id from ec_customer_service_issues where issue_id=:issue_id"] + set issue_type_list [db_list get_is` + + + + + + + + + + + +" } +append doc_body " + + + + + + + + + + + + -[ad_admin_footer] + + +
    Customer:[ec_user_identification_summary $c_user_identification_id "t"]" + + if { [info exists postal_code] } { + append doc_body "
    + [ec_location_based_on_zip_code $postal_code]" + } + + append doc_body "
    Previous Issue ID: + If this is a new issue, please leave this blank (a new Issue ID will be generated)
    New Issue Type: (leave blank if based on an existing issue) [ec_issue_type_widget]
    Order ID: + Fill this in if this inquiry is about a specific order. +
    Issue ID:$issue_id[export_form_vars issue_id]
    Issue Type[join $issue_type_list ", "]
    Order ID:[ec_decode $order_id "" "none" $order_id]
    Issue details:
    (action_details)
    Resources used:Information used to respond to inquiry [ec_info_used_widget]
    Requires follow-up? +yes requires follow-up
    +    Please elaborate: -append doc_body "
    - - -
    +
    no (resolved)
    " +append doc_body "
    Customer + + +
    + +[ad_admin_footer] +" doc_return 200 text/html $doc_body