Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

500
 
538
 
538
 
currencies.php
_> 11 <?php
  22 /*
<> 3 -  $Id: currencies.php 500 2006-04-18 06:27:10Z hpdl $
   3+  $Id: currencies.php 538 2006-04-27 16:53:59Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
7373       return $this->format($price * $quantity);
  7474     }
  7575 
<>  76+    function displayPriceWithTaxRate($price, $tax_rate, $quantity = 1, $currency_code = '', $currency_value = '') {
   77+      global $osC_Tax;
   78+
   79+      $price = tep_round($price, $this->currencies[DEFAULT_CURRENCY]['decimal_places']);
   80+
   81+      if ( (DISPLAY_PRICE_WITH_TAX == '1') && ($tax_rate > 0) ) {
   82+        $price += tep_round($price * ($tax_rate / 100), $this->currencies[DEFAULT_CURRENCY]['decimal_places']);
   83+      }
   84+
   85+      return $this->format($price * $quantity, $currency_code, $currency_value);
   86+    }
   87+
<_ 7688     function exists($code) {
  7789       if (isset($this->currencies[$code])) {
  7890         return true;