38 parent::__construct($context,
$data);
48 return $this->_coreRegistry->registry(
'current_order');
57 return $this->
getUrl(
'*/*/printShipment', [
'shipment_id' =>
$shipment->getId()]);
66 return $this->
getUrl(
'*/*/printShipment', [
'order_id' =>
$order->getId()]);
getCommentsHtml($shipment)
getPrintShipmentUrl($shipment)
getUrl($route='', $params=[])
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Registry $registry, array $data=[])
getPrintAllShipmentsUrl($order)
foreach($order->getItems() as $orderItem) $shipment