Example #1
0
 /**
  * Get most used vat percent:
  *
  * @return double
  */
 public function getAdditionalServicesVatPercent()
 {
     if ($this->_oProductsPriceList) {
         if ($this->getConfig()->getConfigParam('sAdditionalServVATCalcMethod') == 'proportional') {
             return $this->_oProductsPriceList->getProportionalVatPercent();
         } else {
             return $this->_oProductsPriceList->getMostUsedVatPercent();
         }
     }
 }
 /**
  * Get most used vat percent:
  *
  * @return double
  */
 public function getMostUsedVatPercent()
 {
     return $this->_oProductsPriceList->getMostUsedVatPercent();
 }