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

@title@

+ +

Entering a new credit card will cause all future transactions +involving this order to use this credit card. However, it will +not have any effect on transactions that are currently +underway. For example, if a transaction has been previously authorized +with a different credit card, that transaction will use the credit +card that is already associated with it (through authorization). +

+ +

+ @billing_address_html;noquote@ +

+
+ + @export_form_vars_html;noquote@ + + + + + + + + + + + + + + + + +
Credit card number:
Type:@credit_card_type_html;noquote@
Expires:@credit_card_exp_html;noquote@
+
+
+
+ Index: openacs-4/packages/ecommerce/www/admin/orders/creditcard-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/orders/creditcard-add.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ecommerce/www/admin/orders/creditcard-add.tcl 9 Mar 2004 00:59:50 -0000 1.4 +++ openacs-4/packages/ecommerce/www/admin/orders/creditcard-add.tcl 17 Aug 2008 23:21:24 -0000 1.5 @@ -14,21 +14,9 @@ ad_require_permission [ad_conn package_id] admin -doc_body_append " - [ad_admin_header "New Credit Card"] +set title "New Credit Card" +set context [list [list index "Orders / Shipments / Refunds"] $title] -

New Credit Card

- - [ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index" "Orders"] [list "one?[export_url_vars order_id]" "One Order"] "New Credit Card"] - -
-

Entering a new credit card will cause all future transactions - involving this order to use this credit card. However, it will - not have any effect on transactions that are currently - underway (e.g., if a transaction has already been authorized - with a different credit card, that credit card will be used to - complete the transaction).

" - db_0or1row select_billing_address " select c.billing_address, a.country_code from ec_creditcards c, ec_orders o, ec_addresses a @@ -37,42 +25,8 @@ and o.order_id = :order_id limit 1" -doc_body_append " - - - - - - - -
- [ec_display_as_html [ec_pretty_mailing_address_from_ec_addresses $billing_address]] - " -doc_body_append " - - -
- - [export_form_vars order_id] - - - - - - - - - - - - - - -
Credit card number:
Type:[ec_creditcard_widget] -
- -
-
Expires:[ec_creditcard_expire_1_widget] [ec_creditcard_expire_2_widget]
-
-
- [ad_admin_footer]" +set billing_address_html "[ec_display_as_html [ec_pretty_mailing_address_from_ec_addresses $billing_address]]" + +set export_form_vars_html [export_form_vars order_id] +set credit_card_type_html [ec_creditcard_widget] +set credit_card_exp_html "[ec_creditcard_expire_1_widget] [ec_creditcard_expire_2_widget]"