30 parent::__construct($context,
$data);
48 public function initTotals()
54 $weeeTotal = $this->weeeData->getTotalAmounts(
$items,
$store);
55 $weeeBaseTotal = $this->weeeData->getBaseTotalAmounts(
$items,
$store);
58 $total = new \Magento\Framework\DataObject(
62 'value' => $weeeTotal,
63 'base_value' => $weeeBaseTotal
66 if ($this->getBeforeCondition()) {
67 $this->
getParentBlock()->addTotalBefore($total, $this->getBeforeCondition());
69 $this->
getParentBlock()->addTotal($total, $this->getAfterCondition());
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Weee\Helper\Data $weeeData, array $data=[])