Projekt

Allgemein

Profil

GX-Bug #41986 » Falsche_Zwischen_Summe_im_Warenkorb.patch

/system/classes/shopping_cart/OrderDetailsCartContentView.inc.php - Till Tepelmann, 15.06.2015 16:11

Unterschiede anzeigen:

src/system/classes/shopping_cart/OrderDetailsCartContentView.inc.php (revision )
276 276
				$this->total -= $this->discount;
277 277
			}
278 278
			$this->totalContent .= SUB_TITLE_SUB_TOTAL . $this->xtcPrice->xtcFormat($this->total, true) . '<br />';
279
			$this->total = $this->xtcPrice->xtcFormat($this->total + $this->discount, true);
279
			$this->total = $this->xtcPrice->xtcFormat($this->total + $this->discount, false);
280 280
		}
281 281
		else
282 282
		{
......
312 312

  
313 313
					$cartTaxInfo = MODULE_ORDER_TOTAL_SUBTOTAL_TITLE_NO_TAX . ': ' . $this->xtcPrice->xtcFormat((double)$this->total - (double)$tax, true) . '<br />' . $cartTaxInfo;
314 314

  
315
					$this->total = $this->xtcPrice->xtcFormat((double)$this->total - (double)$tax + $this->discount, true);
315
					$this->total = $this->xtcPrice->xtcFormat((double)$this->total - (double)$tax + $this->discount, false);
316 316
				}
317 317
			}
318 318
			$this->_setContentDataUstContentDeprecated($cartTaxInfo);
    (1-1/1)