tczaude Posted January 8, 2013 Share Posted January 8, 2013 Hi i have problem with customer service. I have struct of shops all shop_1 shop_2 shop_3 etc... When customer write massage in customer service in shop_1 the operator from shop_2 can see this massage make click in box sav and terotical opertor don't have permission to see this massages I somebody know whats going wrong or how disable this box's please for solution BestRegards Link to comment Share on other sites More sharing options...
tczaude Posted January 11, 2013 Author Share Posted January 11, 2013 {* *prestashop/admin/themes/default/template/controllers/customer_threads/helpers/list/list_header.tpl * 2007-2012 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 [email protected] 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 <[email protected]> * @copyright 2007-2012 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file="helpers/list/list_header.tpl"} {block name="override_header"} <div id="CustomerThreadContacts"> {assign var=nb_categories value=count($categories)} {foreach $categories as $key => $val} {assign var=total_thread value=0} {assign var=id_customer_thread value=0} {foreach $contacts as $tmp => $tmp2} {if $val.id_contact == $tmp2.id_contact} {assign var=total_thread value=$tmp2.total} {assign var=id_customer_thread value=$tmp2.id_customer_thread} {/if} {/foreach} <div class="blocSAV"> <h3>{$val.name}</h3> {if $nb_categories < 6} <p>{$val.description}</p> {/if} {if $total_thread == 0} <span class="message-mail">{l s='No new messages'}</span> {else} <a href="{$currentIndex}&token={$token}&id_customer_thread={$id_customer_thread}&viewcustomer_thread" class="button"> {$total_thread} {if $total_thread > 1}{l s='new messages'}{else}{l s='new message'}{/if} </a> {/if} </div> {/foreach} <div id="MeaningStatus" class="blocSAV"> <h3> {l s='Meaning of status'}</h3> <ul> <li><img src="../img/admin/status_green.png" alt="{l s='Open'}">{l s='Open'}</li> <li><img src="../img/admin/status_red.png" alt="{l s='Closed'}">{l s='Closed'}</li> <li><img src="../img/admin/status_orange.png" alt="{l s='Pending 1'}">{l s='Pending 1'}</li> <li><img src="../img/admin/status_orange.png" alt="{l s='Pending 2'}">{l s='Pending 2'}</li> </ul> </div> <div id="CustomerService"> <table ccellspacing="0" cellpadding="0" class="table"> <thead> <tr> <th colspan="2">{l s='Customer service'} : {l s='Statistics'}</th> </tr> </thead> <tbody> {assign var=count value=0} {foreach $params as $key => $val} {assign var=count value=$count+1} <tr {if $count % 2 == 0}class="alt_row"{/if}> <td>{$key}</td> <td><span>{$val}</span></td> </tr> {/foreach} </tbody> </table> </div> </div> <p class="clear"> </p> {/block} Where i can find views for $contacts to check this look how is take contacts from all shops without include shop in which is it Link to comment Share on other sites More sharing options...
Recommended Posts