protected function setDataPanelComponentsIndexOrder()
    {
        if (!empty($this->data_order['data']['components'])) {

            $this->setItemOrderCartComponent($this->data_order, $this->price);
            $this->setItemOrderPriceRuleComponent($this->data_order, $this->price, $this->pricerule);
            $this->setItemOrderPaymentComponent($this->data_order, $this->price, $this->payment, $this->order);
            $this->setItemOrderShippingComponent($this->data_order, $this->price, $this->shipping, $this->order);

            ksort($this->data_order['data']['components']);
        }

        $this->setData('pane_components', $this->render('sale/order/panes/components', array('order' => $this->data_order)));
    }
protected function setDataPanelComponentsIndexOrder()
    {
        if (!empty($this->data_order['data']['components'])) {

            $this->setItemOrderCartComponent($this->data_order, $this->price);
            $this->setItemOrderPriceRuleComponent($this->data_order, $this->price, $this->pricerule);
            $this->setItemOrderPaymentComponent($this->data_order, $this->price, $this->payment, $this->order);
            $this->setItemOrderShippingComponent($this->data_order, $this->price, $this->shipping, $this->order);

            ksort($this->data_order['data']['components']);
        }

        $this->setData('pane_components', $this->render('sale/order/panes/components', array('order' => $this->data_order)));
    }
protected function setDataPanelComponentsIndexOrder ( ) { if ( ! empty ( $ this -> data_order [ 'data' ] [ 'components' ] ) ) { $ this -> setItemOrderCartComponent ( $ this -> data_order , $ this -> price ) ; $ this -> setItemOrderPriceRuleComponent ( $ this -> data_order , $ this -> price , $ this -> pricerule ) ; $ this -> setItemOrderPaymentComponent ( $ this -> data_order , $ this -> price , $ this -> payment , $ this -> order ) ; $ this -> setItemOrderShippingComponent ( $ this -> data_order , $ this -> price , $ this -> shipping , $ this -> order ) ; ksort ( $ this -> data_order [ 'data' ] [ 'components' ] ) ; } $ this -> setData ( 'pane_components' , $ this -> render ( 'sale/order/panes/components' , array ( 'order' => $ this -> data_order ) ) ) ; }
Adds the order components panel on the order overview page
Adds the order components panel on the order overview page