Exemplo n.º 1
0
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if ($this->getOrder() && $this->getOrder()->getShippingProcessor() instanceof \XLite\Module\XC\PitneyBowes\Model\Shipping\Processor\PitneyBowes) {
         $list['parcels'] = static::t('Parcels');
     }
     return $list;
 }
Exemplo n.º 2
0
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $pages = parent::getPages();
     if ($this->getOrder() && $this->getOrder()->hasPinCodes()) {
         $pages += array('pin_codes' => static::t('PIN codes'));
     }
     return $pages;
 }
Exemplo n.º 3
0
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if ($this->getAuctionIncPackage()) {
         $list += array('auctionIncPackage' => static::t('ShippingCalc Package Data'));
     }
     return $list;
 }
Exemplo n.º 4
0
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     $order = $this->getOrder();
     if ($order && $order->getPrivateAttachments()) {
         $list['egoods'] = static::t('E-goods');
     }
     return $list;
 }
Exemplo n.º 5
0
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if ($this->getOrder() && $this->getOrder()->isCapostShippingMethod()) {
         $list[static::PAGE_CAPOST_SHIPMENTS] = static::t('Shipments');
     }
     return $list;
 }