{* This template is used for both "Ship" and "Edit shipping details" action forms. *} {* Note: this template is also used in CRM applications. *}
{* begin shipping plugin form*} {if !empty($shipping_controls)}
{foreach $shipping_controls as $control} {$control} {/foreach}
{/if} {* end shipping plugin form *} [`Tracking number`]:

[`Courier shipping`]: [`specify date and time`] {if $customer_delivery_date || $customer_delivery_date_str || $customer_delivery_time}

[`Preferred shipping time:`] {if $customer_delivery_date} {$customer_delivery_date|wa_date:date|escape} {elseif $customer_delivery_date_str} {$customer_delivery_date_str|escape} {/if} {if $customer_delivery_time} {if $customer_delivery_date}   {/if} {$customer_delivery_time.from_hours|escape}:{$customer_delivery_time.from_minutes|escape} - {$customer_delivery_time.to_hours|escape}:{$customer_delivery_time.to_minutes|escape} {/if} [`apply`] {/if} {if $couriers}

{if $other_couriers_exist && $storefront} {sprintf_wp('Only couriers for storefront %s are shown.', "{$storefront}")} {/if} {foreach $couriers as $c}{if $c.note} {/if}{/foreach} {/if} {if !$couriers && $other_couriers_exist && $storefront}

{sprintf_wp('Set up couriers for storefront %s to be able assign orders to them.', "{$storefront}")} {/if} {if !empty($plugins_html)} {foreach $plugins_html as $plugin_id => $html} {$html} {/foreach} {/if}

{* ".js-form-footer-actions" and ".js-submit-button" classes are required for dialog in CRM app. *}