Created
June 5, 2013 12:04
-
-
Save kermie/5713424 to your computer and use it in GitHub Desktop.
Part of ch_highfive module: https://github.com/kermie/ch_highfive/blob/master/modules/mst/ch_highfive/core/mst_ch_highfive.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class mst_ch_highfive extends mst_ch_highfive_parent | |
{ | |
public function getPrice() | |
{ | |
if ( $this->_blNetPriceMode ) { | |
return $this->getNettoPrice(); | |
} else { | |
$value = round(($this->getBruttoPrice()+0.000001)*20)/20; | |
return $value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment