Files
drmaterac.pl/iadmin/themes/default/template/controllers/groups/helpers/view/view.tpl
2025-03-21 20:24:43 +01:00

88 lines
3.4 KiB
Smarty

{**
* 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 <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*}
{extends file="helpers/view/view.tpl"}
{block name="override_tpl"}
<div class="row">
<div class="col-lg-6">
<div class="panel">
<h3><i class="icon-group"></i> {l s='Group information' d='Admin.Shopparameters.Feature'}</h3>
<h2><i class="icon-group"></i> {$group->name[$language->id]}</h2>
<div class="form-horizontal">
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Discount:'}</label>
<div class="col-lg-3"><p class="form-control-static">{l s='Discount: %.2f%%' sprintf=[$group->reduction] d='Admin.Shopparameters.Feature'}</p></div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Price display method:' d='Admin.Shopparameters.Feature'}</label>
<div class="col-lg-3"><p class="form-control-static">{if $group->price_display_method}
{l s='Tax excluded' d='Admin.Global'}
{else}
{l s='Tax included' d='Admin.Global'}
{/if}</p></div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label">{l s='Show prices:' d='Admin.Shopparameters.Feature'}</label>
<div class="col-lg-3"><p class="form-control-static">{if $group->show_prices}{l s='Yes' d='Admin.Global'}{else}{l s='No' d='Admin.Global'}{/if}</p></div>
</div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="panel">
<h3><i class="icon-dollar"></i> {l s='Current category discount' d='Admin.Shopparameters.Feature'}</h3>
{if !$categorieReductions}
<div class="alert alert-warning">{l s='None' d='Admin.Global'}</div>
{else}
<table class="table">
<thead>
<tr>
<th><span class="title_box">{l s='Category' d='Admin.Global'}</span></th>
<th><span class="title_box">{l s='Discount' d='Admin.Global'}</span></th>
</tr>
</thead>
<tbody>
{foreach $categorieReductions key=key item=category }
<tr class="alt_row">
<td>{$category.path}</td>
<td>{l s='Discount: %.2f%%' sprintf=[$category.reduction] d='Admin.Shopparameters.Feature'}</td>
</tr>
{/foreach}
<tbody>
</table>
{/if}
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<h2>{l s='Members of this customer group' d='Admin.Shopparameters.Feature'}</h2>
<p>{l s='Limited to the first 100 customers.' d='Admin.Shopparameters.Feature'} {l s='Please use filters to narrow your search.' d='Admin.Shopparameters.Feature'}</p>
{$customerList}
</div>
</div>
{/block}