23 protected $_template =
'Magento_Sales::order/info/buttons.phtml';
51 parent::__construct($context,
$data);
52 $this->_isScopePrivate =
true;
62 return $this->_coreRegistry->registry(
'current_order');
73 if (!$this->httpContext->getValue(Context::CONTEXT_AUTH)) {
74 return $this->
getUrl(
'sales/guest/print', [
'order_id' =>
$order->getId()]);
76 return $this->
getUrl(
'sales/order/print', [
'order_id' =>
$order->getId()]);
87 if (!$this->httpContext->getValue(Context::CONTEXT_AUTH)) {
88 return $this->
getUrl(
'sales/guest/reorder', [
'order_id' =>
$order->getId()]);
90 return $this->
getUrl(
'sales/order/reorder', [
'order_id' =>
$order->getId()]);
getUrl($route='', $params=[])