GX-Bug #42034 » MwstShoppingCartFix.patch
src/system/classes/shopping_cart/OrderDetailsCartContentView.inc.php (revision ) | ||
---|---|---|
190 | 190 |
} |
191 | 191 |
|
192 | 192 |
$this->total = $this->cart->show_total(); |
193 |
$this->total2 = $this->total; |
|
193 | 194 | |
194 | 195 |
$this->_setCustomerDiscount(); |
195 | 196 | |
... | ... | |
275 | 276 |
$this->total -= $this->discount; |
276 | 277 |
} |
277 | 278 |
$this->totalContent .= SUB_TITLE_SUB_TOTAL . $this->xtcPrice->xtcFormat($this->total, true) . '<br />'; |
278 |
$this->total = $this->total + $this->discount; |
|
279 |
//$this->total = $this->total + $this->discount;
|
|
279 | 280 |
} |
280 | 281 |
else |
281 | 282 |
{ |
... | ... | |
307 | 308 |
$tax += $valueTax['value']; |
308 | 309 |
} |
309 | 310 | |
310 |
$this->total = (double)$this->total - (double)$tax + $this->discount; |
|
311 |
//$this->total = (double)$this->total - (double)$tax + $this->discount; |
|
312 |
$this->total2 = $this->xtcPrice->xtcFormat((double)$this->total - (double)$tax + $this->discount, false); |
|
311 | 313 |
} |
312 | 314 |
} |
313 | 315 |
} |