13 <?=
$block->getChildHtml(
'order_info'); ?>
14 <section
class=
"admin__page-section order-shipment-billing-shipping">
15 <div
class=
"admin__page-section-title">
16 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Payment & Shipping Method')); ?></span>
18 <div
class=
"admin__page-section-content">
19 <div
class=
"admin__page-section-item order-payment-method">
20 <div
class=
"admin__page-section-item-title">
21 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Payment Information')); ?></span>
23 <div
class=
"admin__page-section-item-content">
24 <div><?=
$block->getChildHtml(
'order_payment') ?></div>
25 <div
class=
"order-payment-currency">
26 <?=
$block->escapeHtml(
__(
'The order was placed using %1.',
$order->getOrderCurrencyCode())); ?>
31 <div
class=
"admin__page-section-item order-shipping-address">
32 <div
class=
"admin__page-section-item-title">
33 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Shipping and Tracking Information')); ?></span>
35 <div
class=
"admin__page-section-item-content">
36 <div
class=
"shipping-description-wrapper">
37 <?php
if (
$block->getShipment()->getTracksCollection()->count()): ?>
39 <a href=
"#" id=
"linkId" onclick=
"popWin('<?= $block->escapeUrl($this->helper(\Magento\Shipping\Helper\Data::class)->getTrackingPopupUrlBySalesModel($block->getShipment())); ?>','trackshipment','width=800,height=600,resizable=yes,scrollbars=yes')" 40 title=
"<?= $block->escapeHtml(__('Track this shipment')); ?>">
41 <?=
$block->escapeHtml(
__(
'Track this shipment')); ?>
45 <div
class=
"shipping-description-title">
46 <?=
$block->escapeHtml(
$order->getShippingDescription()); ?>
49 <?=
$block->escapeHtml(
__(
'Total Shipping Charges')); ?>:
51 <?php
if ($this->helper(\
Magento\Tax\Helper\Data::class)->displayShippingPriceIncludingTax()): ?>
52 <?php $excl =
$block->displayShippingPriceInclTax(
$order); ?>
54 <?php $excl =
$block->displayPriceAttribute(
'shipping_amount',
false,
' '); ?>
59 <?php
if ($this->helper(\
Magento\Tax\Helper\Data::class)->displayShippingBothPrices() &&
$incl != $excl): ?>
65 <?php
if (
$block->canCreateShippingLabel()): ?>
66 <?=
$block->getCreateLabelButton(); ?>
68 <?php
if (
$block->getShipment()->getShippingLabel()): ?>
69 <?=
$block->getPrintLabelButton(); ?>
71 <?php
if (
$block->getShipment()->getPackages()): ?>
72 <?=
$block->getShowPackagesButton(); ?>
75 <?=
$block->getChildHtml(
'shipment_tracking'); ?>
77 <?=
$block->getChildHtml(
'shipment_packaging'); ?>
83 var setCallbacks =
function () {
84 window.packaging.setConfirmPackagingCallback(
function () {
85 window.packaging.sendCreateLabelRequest();
87 window.packaging.setLabelCreatedCallback(
function () {
88 setLocation(
"<?php echo $block->escapeUrl($block->getUrl( 89 'adminhtml/order_shipment/view', 90 ['shipment_id' => $block->getShipment()->getId()]) 95 if (
jQuery(document).data(
'packagingInited')) {
98 jQuery(document).on(
'packaging:inited', setCallbacks);
106 <div><?=
$block->getChildHtml(
'extra_shipment_info') ?></div>
108 <section
class=
"admin__page-section">
109 <div
class=
"admin__page-section-title">
110 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Items Shipped')); ?></span>
112 <?=
$block->getChildHtml(
'shipment_items'); ?>
115 <section
class=
"admin__page-section">
116 <div
class=
"admin__page-section-title">
117 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Order Total')); ?></span>
119 <div
class=
"admin__page-section-content">
120 <?=
$block->getChildHtml(
'shipment_packed'); ?>
122 <div
class=
"admin__page-section-item order-comments-history">
123 <div
class=
"admin__page-section-item-title">
124 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Shipment History')); ?></span>
126 <div
class=
"admin__page-section-item-content"><?=
$block->getChildHtml(
'order_comments'); ?></div>
jQuery('.store-switcher .dropdown-menu li a').each(function()