declared_at_gmt)) { $aieo_stamp = wp_date( get_option('date_format') . ', ' . get_option('time_format'), strtotime($declaration->declared_at_gmt . ' UTC') ); } $aieo_is_full = $declaration ? !empty($declaration->is_full) : true; $aieo_rows = array( __('Order', 'ai-eshop-optimizer') => '' . esc_html($order->get_order_number()) . '', ); if ($aieo_stamp !== '') { $aieo_rows[__('Submitted on', 'ai-eshop-optimizer')] = esc_html($aieo_stamp); } $aieo_rows[__('Scope', 'ai-eshop-optimizer')] = esc_html($aieo_is_full ? __('The entire order', 'ai-eshop-optimizer') : __('Selected items only', 'ai-eshop-optimizer')); $aieo_mail = (string) $order->get_billing_email(); $aieo_rows[__('Customer', 'ai-eshop-optimizer')] = esc_html($order->get_formatted_billing_full_name()) . ($aieo_mail !== '' ? ' — ' . esc_html($aieo_mail) : ''); ?>
get_order_number()) ); ?>
reason_note)) : ?> reason_note); ?>