Index: openacs-4/packages/ecommerce/www/admin/orders/void.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/orders/void.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/ecommerce/www/admin/orders/void.adp 17 Aug 2008 21:38:25 -0000 1.1 @@ -0,0 +1,33 @@ + + @title;noquote@ + @context;noquote@ +

@title@

+ +

This action will cause all individual items in this order to be +marked 'void'.

+ + +

Warning: our records show that at least one item in this + order has already shipped, which means that the customer has already been charged + (for shipped items only). +

+
+ +

Voiding is usually done if the customer cancels their order before +anything ships.

+

Voiding an order does not refund the customer's credit card. You can only apply a refund +through the shopping basket by marking individual items "received back").

+ +
+@export_form_vars_html;noquote@ +

Please explain why you are voiding this order:

+
+ +
+
+
+ +
+
+ Index: openacs-4/packages/ecommerce/www/admin/orders/void.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/orders/void.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ecommerce/www/admin/orders/void.tcl 9 Mar 2004 00:59:50 -0000 1.3 +++ openacs-4/packages/ecommerce/www/admin/orders/void.tcl 17 Aug 2008 21:38:25 -0000 1.4 @@ -11,52 +11,10 @@ ad_require_permission [ad_conn package_id] admin -doc_body_append "[ad_admin_header "Void Order"] +set title "Void" +set context [list [list index "Orders / Shipments / Refunds"] $title] -

Void Order

- -[ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Orders"] [list "one?[export_url_vars order_id]" "One Order"] "Void"] - -
-" - set n_shipped_items [db_string shipped_items_count "select count(*) from ec_items where order_id=:order_id and item_state in ('shipped', 'arrived', 'received_back')"] -if { $n_shipped_items > 0 } { - doc_body_append "Warning: our records show that at least one item in this - order has already shipped, which means that the customer has already been charged - (for shipped items only). Voiding an order will not cause - the customer's credit card to be refunded (you can only do that by marking - individual items \"received back\"). -

- Voiding is usually done if the customer cancels their order before it ships. -

- " -} +set export_form_vars_html [export_form_vars order_id] -doc_body_append "Note: this will cause all individual items in this order -to be marked 'void'. -

" - -doc_body_append " -

-[export_form_vars order_id] - -Please explain why you are voiding this order: - -
- -
- -
- -

-

- -
- -
- -[ad_admin_footer] -"