Back to PhocacartOrderCalculation class

Method __construct

public
__construct
()

Method __construct - Source code

// e-shop, POS, ...
public function __construct()
{
    $app = Factory::getApplication();
    $paramsC = PhocacartUtils::getComponentParameters();
    // Affect only calculation in POS cart
    // Not receipts, invoices
    // Display or hide brutto prices in POS cart
    //$this->posbruttocalculation		= PhocacartPos::isPos() ? $paramsC->get( 'pos_brutto_calculation', 1 ) : 0;
}