=== modified file 'docs/hooks.php'
--- docs/hooks.php	2009-04-12 02:11:38 +0000
+++ docs/hooks.php	2009-06-11 12:20:50 +0000
@@ -962,10 +962,10 @@
  *       drupal_to_js() is very useful for this.
  *       @code
  *         return array(
- *           '03' => array('rate' => 15.75, 'format' => uc_currency_format(15.75) 'option_label' => t('UPS Ground'),
+ *           '03' => array('rate' => 15.75, 'format' => uc_price(15.75, $context) 'option_label' => t('UPS Ground'),
  *                         'error' => 'Additional handling charge automatically applied.'),
  *           '14' => array('error' => 'Invalid package type.'),
- *           '59' => array('rate' => 26.03, 'format' => uc_currency_format(26.03), 'option_label' => t('UPS 2nd Day Air A.M.'))
+ *           '59' => array('rate' => 26.03, 'format' => uc_price(26.03, $context), 'option_label' => t('UPS 2nd Day Air A.M.'))
  *         );
  *       @endcode
  *   - "pkg_types": The list of package types that the shipping method can handle.

=== modified file 'uc_order/templates/customer.itpl.php'
--- uc_order/templates/customer.itpl.php	2009-04-13 14:34:21 +0000
+++ uc_order/templates/customer.itpl.php	2009-06-11 12:26:40 +0000
@@ -202,7 +202,7 @@
 
                           <?php if (is_array($order->products)) {
                             $context = array(
-                              'location' => 'order-invoice-product',
+                              'revision' => 'formatted',
                               'subject' => array(
                                 'order' => $order,
                               ),
@@ -213,15 +213,18 @@
                                 'qty' => $product->qty,
                               );
                               $context['subject']['order_product'] = $product;
+                              $context['location'] = 'order-invoice-product';
                               ?>
                           <tr>
                             <td valign="top" nowrap="nowrap">
                               <b><?php echo $product->qty; ?> x </b>
                             </td>
                             <td width="98%">
-                              <b><?php echo $product->title .' - '. uc_price($price_info, $context, array(), 'formatted'); ?></b>
+                              <b><?php echo $product->title .' - '. uc_price($price_info, $context); ?></b>
                               <?php if ($product->qty > 1) {
-                                echo t('(!price each)', array('!price' => uc_currency_format($product->price)));
+                                $context['location'] = 'order-invoice-product-each';
+                                $price_info['qty'] = 1;
+                                echo t('(!price each)', array('!price' => uc_price($price_info, $context)));
                               } ?>
                               <br />
                               <?php echo t('SKU: ') . $product->model; ?><br />

