Files
drmaterac.pl/modules/psgdpr/views/templates/admin/tabs/customerActivity.tpl
2025-01-06 20:47:25 +01:00

55 lines
2.3 KiB
Smarty

{*
* 2007-2018 PrestaShop
*
* 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 <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://addons.prestashop.com/en/content/12-terms-and-conditions-of-use
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="panel col-lg-10 right-panel">
<h3>
<i class="fa fa-list"></i> {l s='Customer activity list' mod='psgdpr'} <small>{$module_display|escape:'htmlall':'UTF-8'}</small>
</h3>
<p>
{l s='Keep track of your customer activity related to data accessibility, consent and erasure.' mod='psgdpr'}
</p>
<br>
<div>
<table id="customerLog" class="table table-striped table-bordered">
<thead>
<tr class="table-header">
<th class="text-center"><b>{l s='Client name/ID' mod='psgdpr'}</b></th>
<th class="text-center"><b>{l s='Type of request' mod='psgdpr'}</b></th>
<th class="text-center"><b>{l s='Submission date' mod='psgdpr'}</b></th>
</tr>
</thead>
<tbody>
{foreach from=$logs item=log}
<tr>
<td class="text-center">{$log.client_name|escape:'htmlall':'UTF-8'}</td>
{if $log.request_type eq 1}
<td class="text-center">{l s='Consent confirmation' mod='psgdpr'}</td>
{/if}
{if $log.request_type eq 2}
<td class="text-center">{l s='Accessibility' mod='psgdpr'} (pdf)</td>
{/if}
{if $log.request_type eq 3}
<td class="text-center">{l s='Accessibility' mod='psgdpr'} (csv)</td>
{/if}
{if $log.request_type eq 4}
<td class="text-center">{l s='Erasure' mod='psgdpr'}</td>
{/if}
<td class="text-center">{$log.date_add|escape:'htmlall':'UTF-8'}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>