Merge pull request #19023 from woocommerce/fix/18995
Preview order modal: customer order note display
This commit is contained in:
commit
14c3d062f8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2248,7 +2248,8 @@ ul.wc_coupon_list_block {
|
|||
}
|
||||
.wc-order-preview-addresses {
|
||||
overflow:hidden;
|
||||
.wc-order-preview-address {
|
||||
.wc-order-preview-address,
|
||||
.wc-order-preview-note {
|
||||
width: 50%;
|
||||
float: left;
|
||||
padding: 1.5em;
|
||||
|
@ -2260,8 +2261,14 @@ ul.wc_coupon_list_block {
|
|||
}
|
||||
strong {
|
||||
display: block;
|
||||
margin-top: 1em;
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
strong:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
.wc-order-preview-note {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
.wc-action-button,
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
* List tables: orders.
|
||||
*
|
||||
* @author WooCommerce
|
||||
* @category Admin
|
||||
* @package WooCommerce/Admin
|
||||
* @version 3.3.0
|
||||
*/
|
||||
|
||||
|
@ -375,17 +373,19 @@ class WC_Admin_List_Table_Orders extends WC_Admin_List_Table {
|
|||
<a href="{{ data.shipping_address_map_url }}" target="_blank">{{{ data.formatted_shipping_address }}}</a>
|
||||
<# } #>
|
||||
|
||||
<# if ( data.data.customer_note ) { #>
|
||||
<strong><?php esc_html_e( 'Note', 'woocommerce' ); ?></strong>
|
||||
{{ data.data.customer_note }}
|
||||
<# } #>
|
||||
|
||||
<# if ( data.shipping_via ) { #>
|
||||
<strong><?php esc_html_e( 'Shipping method', 'woocommerce' ); ?></strong>
|
||||
{{ data.shipping_via }}
|
||||
<# } #>
|
||||
</div>
|
||||
<# } #>
|
||||
|
||||
<# if ( data.data.customer_note ) { #>
|
||||
<div class="wc-order-preview-note">
|
||||
<strong><?php esc_html_e( 'Note', 'woocommerce' ); ?></strong>
|
||||
{{ data.data.customer_note }}
|
||||
</div>
|
||||
<# } #>
|
||||
</div>
|
||||
|
||||
{{{ data.item_html }}}
|
||||
|
|
Loading…
Reference in New Issue