{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * 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 http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {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:'}
{$message.id_customer}
{/if}
{l s='Sent on:'}
{$message.date_add} 
{if empty($message.id_employee)}
{l s='Browser:'}
{$message.user_agent} 
{/if} {if !empty($message.file_name) && $file_name}
{l s='File attachment'}
{/if} {if !empty($message.id_order) && $is_valid_order_id && empty($message.id_employee)}
{l s='Order #'}
{$message.id_order} {l s='View'}
{/if} {if !empty($message.id_product) && empty($message.id_employee)}
{l s='Product #'}
{$message.id_product} {l s='View'}
{/if}
{l s='Subject:'}
{else}
{if $id_employee} {l s='View this thread'} {/if}
{l s='Sent by:'}
{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:'}
{$message.id_customer_thread}
{l s='Message ID:'}
{$message.id_customer_message}
{/if}
{l s='Message:'}
{$message.message|escape:'html':'UTF-8'|nl2br}
{if !$email}
{if empty($message.id_employee)}
{/if} {/if}