original_string: 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)));
      }
code: 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)));
      }
code_tokens: 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 ) ) ) ; }
docstring: Adds the order components panel on the order overview page
docstring_tokens: Adds the order components panel on the order overview page