{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *} {if !$email}

{if !empty($message.employee_name)} {$employee_avatar} ({$message.employee_name}) - {$PS_SHOP_NAME} {else} {if !empty($message.id_customer)} {$message.customer_name} {else} {$message.email} {/if} {/if}

{if !empty($message.id_customer) && empty($message.id_employee)}
{l s='Customer ID:' d='Admin.Orderscustomers.Feature'}
{$message.id_customer}
{/if}
{l s='Sent on:' d='Admin.Orderscustomers.Feature'}
{$message.date_add} 
{if empty($message.id_employee)}
{l s='Browser:' d='Admin.Orderscustomers.Feature'}
{$message.user_agent} 
{/if} {if !empty($message.file_name) && $file_name}
{l s='File attachment' d='Admin.Orderscustomers.Feature'}
{/if} {if !empty($message.id_order) && $is_valid_order_id && empty($message.id_employee)}
{l s='Order #' d='Admin.Orderscustomers.Feature'}
{$message.id_order} {l s='View' d='Admin.Actions'}
{/if} {if !empty($message.id_product) && empty($message.id_employee)}
{l s='Product #' d='Admin.Orderscustomers.Feature'}
{$message.id_product} {l s='View' d='Admin.Actions'}
{/if}
{l s='Subject:' d='Admin.Global'}
{else}
{if $id_employee} {l s='View this thread' d='Admin.Orderscustomers.Feature'} {/if}
{l s='Sent by:' d='Admin.Orderscustomers.Feature'}
{if !empty($message.customer_name)} {$message.customer_name} ({$message.email}) {else} {$message.email} {/if}
{if !empty($message.id_customer) && empty($message.id_employee)} {/if} {if !empty($message.id_order) && empty($message.id_employee)} {/if} {if !empty($message.id_product) && empty($message.id_employee)} {/if} {/if} {if !$email}
{l s='Thread ID:' d='Admin.Orderscustomers.Feature'}
{$message.id_customer_thread}
{l s='Message ID:' d='Admin.Orderscustomers.Feature'}
{$message.id_customer_message}
{/if}
{l s='Message:' d='Admin.Orderscustomers.Feature'}
{$message.message|escape:'html':'UTF-8'|nl2br}
{if !$email}
{if empty($message.id_employee)}
{/if} {/if}