/** * 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; }
/** * 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; }
/** * Get pages sections * * @return array */ public function getPages() { $list = parent::getPages(); if ($this->getAuctionIncPackage()) { $list += array('auctionIncPackage' => static::t('ShippingCalc Package Data')); } return $list; }
/** * 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; }
/** * 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; }