Index: openacs-4/packages/ecommerce/tcl/ecommerce-email-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-email-procs.xql,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/ecommerce/tcl/ecommerce-email-procs.xql 20 May 2003 03:21:50 -0000 1.4.2.1 +++ openacs-4/packages/ecommerce/tcl/ecommerce-email-procs.xql 20 May 2003 03:36:30 -0000 1.4.2.2 @@ -2,15 +2,15 @@ - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id = 1 - + select ep.email_on_purchase_list, ep.product_name from ec_items ei, ec_products ep @@ -21,7 +21,7 @@ - + select u.email, u.user_id from ec_orders, cc_users u @@ -30,15 +30,15 @@ - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id = 3 - + select u.email, u.user_id, s.shipment_date, s.address_id, o.order_state, o.order_id from ec_orders o, cc_users u, ec_shipments s @@ -48,7 +48,7 @@ - + select p.product_name, p.one_line_description, p.product_id, i.price_charged, i.price_name, count(*) as quantity from ec_items i, ec_products p @@ -58,15 +58,15 @@ - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id = 2 - + select g.purchased_by as user_id, u.email, g.recipient_email, g.amount from ec_gift_certificates g, cc_users u @@ -75,15 +75,15 @@ - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id = 4 - + select g.purchased_by as user_id, u.email, g.recipient_email, g.amount, g.certificate_to, g.certificate_from, g.certificate_message from ec_gift_certificates g, cc_users u @@ -92,43 +92,43 @@ - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id = 6 - + select g.recipient_email as email, g.amount, g.certificate_to, g.certificate_from, g.certificate_message, g.claim_check from ec_gift_certificates g where g.gift_certificate_id=:gift_certificate_id - + select subject as email_subject, message as email_body, issue_type_list from ec_email_templates where email_template_id=5 - + select user_id from cc_users where email=lower(:email) - + select user_identification_id from ec_user_identification where email=lower(:email) - + insert into ec_user_identification (user_identification_id, email)