File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Shipping/view/adminhtml/templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ $girthEnabled = $block->isDisplayGirthValue() && $block->isGirthAllowed() ? 1 :
31
31
packaging.sendCreateLabelRequest();
32
32
});
33
33
packaging.setLabelCreatedCallback(function(response){
34
- setLocation("<?php $ block ->escapeJs ($ block ->escapeUrl ($ block ->getUrl (
34
+ setLocation("<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getUrl (
35
35
'sales/order/view ' ,
36
36
['order_id ' => $ block ->getShipment ()->getOrderId ()]
37
37
))); ?> ");
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ $order = $block->getShipment()->getOrder();
85
85
window.packaging.sendCreateLabelRequest();
86
86
});
87
87
window.packaging.setLabelCreatedCallback(function () {
88
- setLocation("<?php $ block ->escapeUrl ($ block ->getUrl ('adminhtml/order_shipment/view ' , ['shipment_id ' => $ block ->getShipment ()->getId ()])); ?> ");
88
+ setLocation("<?= $ block ->escapeUrl ($ block ->getUrl ('adminhtml/order_shipment/view ' , ['shipment_id ' => $ block ->getShipment ()->getId ()])); ?> ");
89
89
});
90
90
};
91
91
You can’t perform that action at this time.
0 commit comments