Index: openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.adp 11 Aug 2005 01:56:47 -0000 1.3 +++ openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.adp 17 Aug 2005 10:57:20 -0000 1.4 @@ -16,31 +16,31 @@ - + - + - + - + - + - +
#dotlrn-ecommerce.Subtotal#$@subtotal@#dotlrn-ecommerce.Subtotal#@pretty_subtotal@
#dotlrn-ecommerce.Tax#$@tax@#dotlrn-ecommerce.Tax#@pretty_tax@
------------
#dotlrn-ecommerce.TOTAL#$@total@#dotlrn-ecommerce.TOTAL#@pretty_total@
#dotlrn-ecommerce.Gift_Certificate#-$@gift_certificate@#dotlrn-ecommerce.Gift_Certificate#-@pretty_gift_certificate@
------------
#dotlrn-ecommerce.Balance_due#$@balance@#dotlrn-ecommerce.Balance_due#@pretty_balance@
#dotlrn-ecommerce.TOTAL#$@total@#dotlrn-ecommerce.TOTAL#@pretty_total@
Index: openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.tcl 11 Aug 2005 01:56:47 -0000 1.4 +++ openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.tcl 17 Aug 2005 10:57:20 -0000 1.5 @@ -115,3 +115,8 @@ lockbox "[_ dotlrn-ecommerce.Lock_Box]" \ "[_ dotlrn-ecommerce.Credit_Card]" ] + +# Set pretty price formats +foreach amount {subtotal tax total gift_certificate balance total} { + set pretty_$amount [ec_pretty_price [set $amount]] +} \ No newline at end of file Index: openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.xql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.xql 11 Aug 2005 01:56:47 -0000 1.3 +++ openacs-4/packages/dotlrn-ecommerce/lib/summary-for-customer.xql 17 Aug 2005 10:57:20 -0000 1.4 @@ -28,7 +28,7 @@ - select i.price_name, i.price_charged, i.color_choice, i.size_choice, i.style_choice, p.product_name, p.one_line_description, p.product_id, count(*) as quantity, s.course_name||': '||s.section_name as section_name + select i.price_name, i.price_charged, i.color_choice, i.size_choice, i.style_choice, p.product_name, p.one_line_description, p.product_id, count(*) as quantity, coalesce(s.course_name||': '||s.section_name, p.product_name) as section_name from ec_items i, ec_products p left join dlec_view_sections s on (p.product_id = s.product_id)