[TEP-COMMIT] CVS: catalog/catalog/includes/boxes whats_new.php,1.31,1.32
Harald Ponce de Leon <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tep/catalog/catalog/includes/boxes
In directory sc8-pr-cvs1:/tmp/cvs-serv23261/boxes
Modified Files:
whats_new.php
Log Message:
use the new tax class
Index: whats_new.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/includes/boxes/whats_new.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- whats_new.php 10 Feb 2003 22:31:09 -0000 1.31
+++ whats_new.php 17 Nov 2003 20:07:24 -0000 1.32
@@ -25,10 +25,10 @@
new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW));
if (tep_not_null($random_product['specials_new_products_price'])) {
- $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';
- $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>';
+ $whats_new_price = '<s>' . $currencies->display_price($random_product['products_price'], $osC_Tax->getTaxRate($random_product['products_tax_class_id'])) . '</s><br>';
+ $whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], $osC_Tax->getTaxRate($random_product['products_tax_class_id'])) . '</span>';
} else {
- $whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));
+ $whats_new_price = $currencies->display_price($random_product['products_price'], $osC_Tax->getTaxRate($random_product['products_tax_class_id']));
}
$info_box_contents = array();
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl