On crée un template enfant
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,108 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig */
|
||||
class __TwigTemplate_e2bc27c8924bc3ec478c9b3740572bb7e0482a4c5eb5e197e27111e97c5aae27 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 25
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig", 25);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/layout.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 28
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 29
|
||||
echo " <div class=\"container\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col\">
|
||||
";
|
||||
// line 32
|
||||
if (($context["isSingleShopContext"] ?? null)) {
|
||||
// line 33
|
||||
echo " <div class=\"card\">
|
||||
<h3 class=\"card-header\">
|
||||
<i class=\"material-icons\">credit_card</i> ";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Active payment", [], "Admin.Payment.Feature"), "html", null, true);
|
||||
echo "
|
||||
</h3>
|
||||
<div class=\"card-block\">
|
||||
";
|
||||
// line 38
|
||||
$this->loadTemplate("@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig", 38)->display($context);
|
||||
// line 39
|
||||
echo " </div>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 42
|
||||
echo " <div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">";
|
||||
// line 43
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("You have more than one shop and must select one to configure payment.", [], "Admin.Payment.Notification"), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 46
|
||||
echo " </div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 75 => 46, 69 => 43, 66 => 42, 61 => 39, 59 => 38, 53 => 35, 49 => 33, 47 => 32, 42 => 29, 39 => 28, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/PaymentMethods/payment_methods.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,683 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 25
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 25);
|
||||
$this->blocks = [
|
||||
'javascripts' => [$this, 'block_javascripts'],
|
||||
'content' => [$this, 'block_content'],
|
||||
'product_catalog_tools' => [$this, 'block_product_catalog_tools'],
|
||||
'product_catalog_filters' => [$this, 'block_product_catalog_filters'],
|
||||
'product_catalog_form' => [$this, 'block_product_catalog_form'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/layout.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 26
|
||||
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["categories"] ?? null), [0 => "@PrestaShop/Admin/Product/Themes/categories_theme.html.twig"], true);
|
||||
// line 25
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 28
|
||||
public function block_javascripts($context, array $blocks = [])
|
||||
{
|
||||
// line 29
|
||||
echo " ";
|
||||
$this->displayParentBlock("javascripts", $context, $blocks);
|
||||
echo "
|
||||
<script src=\"";
|
||||
// line 30
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/default/js/bundle/product/catalog.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
<script src=\"";
|
||||
// line 31
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/default/js/bundle/pagination.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
<script src=\"";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/default/js/bundle/category-tree.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
<script src=\"";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("../js/jquery/ui/jquery.ui.sortable.min.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
<script src=\"";
|
||||
// line 34
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/new-theme/public/catalog.bundle.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
";
|
||||
}
|
||||
|
||||
// line 37
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 38
|
||||
echo " <div class=\"products-catalog\">
|
||||
|
||||
";
|
||||
// line 40
|
||||
echo $this->env->getExtension('PrestaShopBundle\Twig\HookExtension')->renderHook("legacy_block_kpi", ["kpi_controller" => "AdminProductsController"]);
|
||||
echo "
|
||||
|
||||
<div class=\"content container-fluid\">
|
||||
|
||||
";
|
||||
// line 44
|
||||
if (twig_length_filter($this->env, ($context["permission_error"] ?? null))) {
|
||||
// line 45
|
||||
echo " <div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"alert alert-danger\" role=\"alert\">
|
||||
<button type=\"button\" class=\"close\" data-dismiss=\"alert\">
|
||||
<span aria-hidden=\"true\"><i class=\"material-icons\">close</i></span>
|
||||
</button>
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 52
|
||||
echo twig_escape_filter($this->env, ($context["permission_error"] ?? null), "html", null, true);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 58
|
||||
echo "
|
||||
<div class=\"row align-items-start\">
|
||||
";
|
||||
// line 60
|
||||
$this->displayBlock('product_catalog_tools', $context, $blocks);
|
||||
// line 63
|
||||
echo "
|
||||
";
|
||||
// line 64
|
||||
$this->displayBlock('product_catalog_filters', $context, $blocks);
|
||||
// line 73
|
||||
echo " </div>
|
||||
|
||||
";
|
||||
// line 75
|
||||
$this->displayBlock('product_catalog_form', $context, $blocks);
|
||||
// line 99
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 104
|
||||
echo " ";
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 104, "564990037")->display(twig_array_merge($context, ["id" => "catalog_duplicate_all_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicating products", [], "Admin.Catalog.Notification"), "closable" => true, "progressbar" => ["id" => "catalog_duplicate_all_progression", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicating...", [], "Admin.Catalog.Notification")], "actions" => []]));
|
||||
// line 123
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 126
|
||||
echo " ";
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 126, "712187861")->display(twig_array_merge($context, ["id" => "catalog_activate_all_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activating products", [], "Admin.Catalog.Notification"), "closable" => true, "progressbar" => ["id" => "catalog_activate_all_progression", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activating...", [], "Admin.Catalog.Notification")], "actions" => []]));
|
||||
// line 145
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 148
|
||||
echo " ";
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 148, "1659500428")->display(twig_array_merge($context, ["id" => "catalog_deactivate_all_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deactivating products", [], "Admin.Catalog.Notification"), "closable" => true, "progressbar" => ["id" => "catalog_deactivate_all_progression", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deactivating...", [], "Admin.Catalog.Notification")], "actions" => []]));
|
||||
// line 167
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 170
|
||||
echo " ";
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 170, "847446358")->display(twig_array_merge($context, ["id" => "catalog_delete_all_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deleting products", [], "Admin.Catalog.Notification"), "closable" => true, "progressbar" => ["id" => "catalog_delete_all_progression", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deleting...", [], "Admin.Catalog.Notification")], "actions" => []]));
|
||||
// line 189
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 192
|
||||
echo " ";
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 192, "233296991")->display(twig_array_merge($context, ["id" => "catalog_deletion_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Delete products?", [], "Admin.Catalog.Feature"), "closable" => true, "actions" => [0 => ["type" => "button", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Delete now", [], "Admin.Actions"), "value" => "confirm", "class" => "btn btn-primary btn-lg"]]]));
|
||||
// line 209
|
||||
echo "
|
||||
";
|
||||
// line 210
|
||||
$this->loadTemplate("@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 210, "1708731498")->display(twig_array_merge($context, ["id" => "catalog_sql_query_modal", "title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("SQL query", [], "Admin.Global"), "closable" => true, "actions" => [0 => ["type" => "button", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Export to SQL Manager", [], "Admin.Actions"), "value" => "sql_manager", "class" => "btn btn-primary btn-lg"]]]));
|
||||
// line 230
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
// line 60
|
||||
public function block_product_catalog_tools($context, array $blocks = [])
|
||||
{
|
||||
// line 61
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/CatalogPage/Blocks/tools.html.twig", ["import_link" => ($context["import_link"] ?? null)]);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
// line 64
|
||||
public function block_product_catalog_filters($context, array $blocks = [])
|
||||
{
|
||||
// line 65
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/CatalogPage/Blocks/filters.html.twig", ["limit" => // line 66
|
||||
($context["limit"] ?? null), "offset" => // line 67
|
||||
($context["offset"] ?? null), "orderBy" => // line 68
|
||||
($context["orderBy"] ?? null), "sortOrder" => // line 69
|
||||
($context["sortOrder"] ?? null)]);
|
||||
// line 71
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
// line 75
|
||||
public function block_product_catalog_form($context, array $blocks = [])
|
||||
{
|
||||
// line 76
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/CatalogPage/Forms/form_products.html.twig", ["limit" => // line 77
|
||||
($context["limit"] ?? null), "orderBy" => // line 78
|
||||
($context["orderBy"] ?? null), "offset" => // line 79
|
||||
($context["offset"] ?? null), "sortOrder" => // line 80
|
||||
($context["sortOrder"] ?? null), "filter_category" => // line 81
|
||||
($context["filter_category"] ?? null), "filter_column_id_product" => // line 82
|
||||
($context["filter_column_id_product"] ?? null), "filter_column_name" => // line 83
|
||||
($context["filter_column_name"] ?? null), "filter_column_reference" => // line 84
|
||||
($context["filter_column_reference"] ?? null), "filter_column_name_category" => // line 85
|
||||
($context["filter_column_name_category"] ?? null), "filter_column_price" => // line 86
|
||||
($context["filter_column_price"] ?? null), "filter_column_sav_quantity" => // line 87
|
||||
($context["filter_column_sav_quantity"] ?? null), "filter_column_active" => // line 88
|
||||
($context["filter_column_active"] ?? null), "has_category_filter" => // line 89
|
||||
($context["has_category_filter"] ?? null), "activate_drag_and_drop" => // line 90
|
||||
($context["activate_drag_and_drop"] ?? null), "products" => // line 91
|
||||
($context["products"] ?? null), "last_sql" => // line 92
|
||||
($context["last_sql"] ?? null), "product_count_filtered" => // line 93
|
||||
($context["product_count_filtered"] ?? null), "pagination_parameters" => // line 94
|
||||
($context["pagination_parameters"] ?? null), "pagination_limit_choices" => // line 95
|
||||
($context["pagination_limit_choices"] ?? null)]);
|
||||
// line 97
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___564990037 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 104
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 104);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 114
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 115
|
||||
echo " <div class=\"modal-body\">
|
||||
";
|
||||
// line 116
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplication in progress...", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
<span id=\"catalog_duplicate_all_failure\" style=\"display: none;color: darkred;\">
|
||||
";
|
||||
// line 118
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplication failed.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___712187861 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 126
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 126);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 136
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 137
|
||||
echo " <div class=\"modal-body\">
|
||||
";
|
||||
// line 138
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activation in progress...", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
<span id=\"catalog_activate_all_failure\" style=\"display: none;color: darkred;\">
|
||||
";
|
||||
// line 140
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activation failed.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 367 => 140, 362 => 138, 359 => 137, 356 => 136, 339 => 126, 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___1659500428 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 148
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 148);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 158
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 159
|
||||
echo " <div class=\"modal-body\">
|
||||
";
|
||||
// line 160
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deactivation in progress...", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
<span id=\"catalog_deactivate_all_failure\" style=\"display: none;color: darkred;\">
|
||||
";
|
||||
// line 162
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deactivation failed.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 440 => 162, 435 => 160, 432 => 159, 429 => 158, 412 => 148, 367 => 140, 362 => 138, 359 => 137, 356 => 136, 339 => 126, 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___847446358 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 170
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 170);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 180
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 181
|
||||
echo " <div class=\"modal-body\">
|
||||
";
|
||||
// line 182
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deletion in progress...", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
<span id=\"catalog_delete_all_failure\" style=\"display: none;color: darkred;\">
|
||||
";
|
||||
// line 184
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deletion failed.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 513 => 184, 508 => 182, 505 => 181, 502 => 180, 485 => 170, 440 => 162, 435 => 160, 432 => 159, 429 => 158, 412 => 148, 367 => 140, 362 => 138, 359 => 137, 356 => 136, 339 => 126, 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___233296991 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 192
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 192);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 203
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 204
|
||||
echo " <div class=\"modal-body\">
|
||||
";
|
||||
// line 205
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("These products will be deleted for good. Please confirm.", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 581 => 205, 578 => 204, 575 => 203, 558 => 192, 513 => 184, 508 => 182, 505 => 181, 502 => 180, 485 => 170, 440 => 162, 435 => 160, 432 => 159, 429 => 158, 412 => 148, 367 => 140, 362 => 138, 359 => 137, 356 => 136, 339 => 126, 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/catalog.html.twig */
|
||||
class __TwigTemplate_fd4fd6d0e8c86972a59ded05a52d30b16108ddd1f425d1e689a00a8746f925e7___1708731498 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 210
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", 210);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 221
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 222
|
||||
echo " <form method=\"post\" action=\"";
|
||||
echo twig_escape_filter($this->env, ($context["sql_manager_add_link"] ?? null), "html", null, true);
|
||||
echo "\" id=\"catalog_sql_query_modal_content\">
|
||||
<div class=\"modal-body\">
|
||||
<textarea name=\"sql\" rows=\"20\" cols=\"65\"></textarea>
|
||||
<input type=\"hidden\" name=\"name\" value=\"\" />
|
||||
</div>
|
||||
</form>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 645 => 222, 642 => 221, 625 => 210, 581 => 205, 578 => 204, 575 => 203, 558 => 192, 513 => 184, 508 => 182, 505 => 181, 502 => 180, 485 => 170, 440 => 162, 435 => 160, 432 => 159, 429 => 158, 412 => 148, 367 => 140, 362 => 138, 359 => 137, 356 => 136, 339 => 126, 294 => 118, 289 => 116, 286 => 115, 283 => 114, 266 => 104, 224 => 97, 222 => 95, 221 => 94, 220 => 93, 219 => 92, 218 => 91, 217 => 90, 216 => 89, 215 => 88, 214 => 87, 213 => 86, 212 => 85, 211 => 84, 210 => 83, 209 => 82, 208 => 81, 207 => 80, 206 => 79, 205 => 78, 204 => 77, 202 => 76, 199 => 75, 194 => 71, 192 => 69, 191 => 68, 190 => 67, 189 => 66, 187 => 65, 184 => 64, 177 => 61, 174 => 60, 169 => 230, 167 => 210, 164 => 209, 161 => 192, 157 => 189, 154 => 170, 150 => 167, 147 => 148, 143 => 145, 140 => 126, 136 => 123, 133 => 104, 127 => 99, 125 => 75, 121 => 73, 119 => 64, 116 => 63, 114 => 60, 110 => 58, 101 => 52, 92 => 45, 90 => 44, 83 => 40, 79 => 38, 76 => 37, 70 => 34, 66 => 33, 62 => 32, 58 => 31, 54 => 30, 49 => 29, 46 => 28, 42 => 25, 40 => 26, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/catalog.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/catalog.html.twig");
|
||||
}
|
||||
}
|
||||
@@ -1,312 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Product/CatalogPage/Lists/list.html.twig */
|
||||
class __TwigTemplate_16df1f9a2b3da16c44da0c328dd78b042700fcb6c7912ab9d9bf56b92d779789 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_catalog_form_table_row' => [$this, 'block_product_catalog_form_table_row'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<tbody
|
||||
";
|
||||
// line 26
|
||||
if (($context["activate_drag_and_drop"] ?? null)) {
|
||||
echo "class=\"sortable\"";
|
||||
}
|
||||
// line 27
|
||||
echo " last_sql=\"";
|
||||
echo twig_escape_filter($this->env, ($context["last_sql_query"] ?? null), "html_attr");
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 29
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["products"] ?? null));
|
||||
$context['_iterated'] = false;
|
||||
$context['loop'] = [
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
];
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
|
||||
// line 30
|
||||
echo " ";
|
||||
$this->displayBlock('product_catalog_form_table_row', $context, $blocks);
|
||||
$context['_iterated'] = true;
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
if (!$context['_iterated']) {
|
||||
// line 140
|
||||
echo "<tr><td colspan=\"11\">
|
||||
";
|
||||
// line 141
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("There is no result for this search. Update your filters to view other products.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
</td></tr>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
}
|
||||
|
||||
// line 30
|
||||
public function block_product_catalog_form_table_row($context, array $blocks = [])
|
||||
{
|
||||
// line 31
|
||||
echo " <tr data-uniturl=\"";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "unit_action_url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "unit_action_url", []), "#")) : ("#")), "html", null, true);
|
||||
echo "\" data-product-id=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "\">
|
||||
<td class=\"checkbox-column form-group\">
|
||||
<div class=\"md-checkbox md-checkbox-inline\">
|
||||
<label>
|
||||
<input type=\"checkbox\" id=\"bulk_action_selected_products-";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "\" name=\"bulk_action_selected_products[]\" value=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "\">
|
||||
<i class=\"md-checkbox-control\"></i>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<label class=\"form-check-label\" for=\"bulk_action_selected_products-";
|
||||
// line 41
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 42
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<a href=\"";
|
||||
// line 46
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "")) : ("")), "html", null, true);
|
||||
echo "#tab-step1\">";
|
||||
echo $this->getAttribute(($context["product"] ?? null), "image", []);
|
||||
echo "</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href=\"";
|
||||
// line 49
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "")) : ("")), "html", null, true);
|
||||
echo "#tab-step1\">";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "name", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "name", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))), "html", null, true);
|
||||
echo "</a>
|
||||
</td>
|
||||
<td>
|
||||
";
|
||||
// line 52
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "reference", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "reference", []), "")) : ("")), "html", null, true);
|
||||
echo "
|
||||
</td>
|
||||
<td>
|
||||
";
|
||||
// line 55
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "name_category", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "name_category", []), "")) : ("")), "html", null, true);
|
||||
echo "
|
||||
</td>
|
||||
<td class=\"text-center\">
|
||||
<a href=\"";
|
||||
// line 58
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "")) : ("")), "html", null, true);
|
||||
echo "#tab-step2\">";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "price", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "price", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))), "html", null, true);
|
||||
echo "</a>
|
||||
</td>
|
||||
<td class=\"text-center\">
|
||||
<a href=\"";
|
||||
// line 61
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "")) : ("")), "html", null, true);
|
||||
echo "#tab-step2\">";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "price_final", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "price_final", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))), "html", null, true);
|
||||
echo "</a>
|
||||
</td>
|
||||
|
||||
";
|
||||
// line 64
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 65
|
||||
echo " <td class=\"product-sav-quantity text-center\" data-product-quantity-value=\"";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "sav_quantity", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "sav_quantity", []), "")) : ("")), "html", null, true);
|
||||
echo "\">
|
||||
<a href=\"";
|
||||
// line 66
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "")) : ("")), "html", null, true);
|
||||
echo "#tab-step3\">
|
||||
";
|
||||
// line 67
|
||||
if (($this->getAttribute(($context["product"] ?? null), "sav_quantity", [], "any", true, true) && ($this->getAttribute(($context["product"] ?? null), "sav_quantity", []) > 0))) {
|
||||
// line 68
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "sav_quantity", []), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
} else {
|
||||
// line 70
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["product"] ?? null), "sav_quantity", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "sav_quantity", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("N/A", [], "Admin.Global"))), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 72
|
||||
echo " </a>
|
||||
</td>
|
||||
";
|
||||
} else {
|
||||
// line 75
|
||||
echo " <td></td>
|
||||
";
|
||||
}
|
||||
// line 77
|
||||
echo " <td class=\"text-center\">
|
||||
";
|
||||
// line 78
|
||||
if (((($this->getAttribute(($context["product"] ?? null), "active", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "active", []), 0)) : (0)) == 0)) {
|
||||
// line 79
|
||||
echo " <a href=\"#\" onclick=\"unitProductAction(this, 'activate'); return false;\">
|
||||
<i class=\"material-icons action-disabled\">clear</i>
|
||||
</a>
|
||||
";
|
||||
} else {
|
||||
// line 83
|
||||
echo " <a href=\"#\" onclick=\"unitProductAction(this, 'deactivate'); return false;\">
|
||||
<i class=\"material-icons action-enabled \">check</i>
|
||||
</a>
|
||||
";
|
||||
}
|
||||
// line 87
|
||||
echo " </td>
|
||||
";
|
||||
// line 88
|
||||
if ($this->getAttribute(($context["product"] ?? null), "position", [], "any", true, true)) {
|
||||
// line 89
|
||||
echo " <td ";
|
||||
if (($context["activate_drag_and_drop"] ?? null)) {
|
||||
echo "class=\"placeholder\"";
|
||||
}
|
||||
echo " style=\"cursor: pointer; cursor: hand;\">
|
||||
";
|
||||
// line 90
|
||||
if (($context["activate_drag_and_drop"] ?? null)) {
|
||||
// line 91
|
||||
echo " <big><big>⇅</big></big>
|
||||
";
|
||||
}
|
||||
// line 93
|
||||
echo " <span class=\"position\">";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "position", []), "html", null, true);
|
||||
echo "</span>
|
||||
<input type=\"hidden\" name=\"mass_edit_action_sorted_products[]\" value=\"";
|
||||
// line 94
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "id_product", []), "html", null, true);
|
||||
echo "\" />
|
||||
<input type=\"hidden\" name=\"mass_edit_action_sorted_positions[]\" value=\"";
|
||||
// line 95
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["product"] ?? null), "position", []), "html", null, true);
|
||||
echo "\" />
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 98
|
||||
echo " <td class=\"text-right\">
|
||||
<div class=\"btn-group-action\">
|
||||
|
||||
";
|
||||
// line 101
|
||||
$context["buttons_action"] = [0 => ["href" => (($this->getAttribute( // line 103
|
||||
($context["product"] ?? null), "preview_url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "preview_url", []), "#")) : ("#")), "target" => "_blank", "icon" => "remove_red_eye", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Preview", [], "Admin.Actions")]];
|
||||
// line 109
|
||||
echo "
|
||||
";
|
||||
// line 110
|
||||
$context["buttons_action"] = twig_array_merge(($context["buttons_action"] ?? null), [0 => ["onclick" => "unitProductAction(this, 'duplicate');", "icon" => "content_copy", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicate", [], "Admin.Actions")]]);
|
||||
// line 117
|
||||
echo "
|
||||
";
|
||||
// line 118
|
||||
$context["buttons_action"] = twig_array_merge(($context["buttons_action"] ?? null), [0 => ["onclick" => "unitProductAction(this, 'delete');", "icon" => "delete", "label" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Delete", [], "Admin.Actions")]]);
|
||||
// line 125
|
||||
echo "
|
||||
";
|
||||
// line 126
|
||||
$this->loadTemplate("@Product/CatalogPage/Forms/form_edit_dropdown.html.twig", "@PrestaShop/Admin/Product/CatalogPage/Lists/list.html.twig", 126)->display(twig_array_merge($context, ["button_id" => (("product_list_id_" . $this->getAttribute( // line 127
|
||||
($context["product"] ?? null), "id_product", [])) . "_menu"), "default_item" => ["href" => (($this->getAttribute( // line 129
|
||||
($context["product"] ?? null), "url", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["product"] ?? null), "url", []), "#")) : ("#")), "icon" => "mode_edit"], "right" => true, "items" => // line 133
|
||||
($context["buttons_action"] ?? null)]));
|
||||
// line 135
|
||||
echo " </div>
|
||||
</td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Product/CatalogPage/Lists/list.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 279 => 135, 277 => 133, 276 => 129, 275 => 127, 274 => 126, 271 => 125, 269 => 118, 266 => 117, 264 => 110, 261 => 109, 259 => 103, 258 => 101, 253 => 98, 247 => 95, 243 => 94, 238 => 93, 234 => 91, 232 => 90, 225 => 89, 223 => 88, 220 => 87, 214 => 83, 208 => 79, 206 => 78, 203 => 77, 199 => 75, 194 => 72, 188 => 70, 182 => 68, 180 => 67, 176 => 66, 171 => 65, 169 => 64, 161 => 61, 153 => 58, 147 => 55, 141 => 52, 133 => 49, 125 => 46, 118 => 42, 114 => 41, 103 => 35, 93 => 31, 90 => 30, 79 => 141, 76 => 140, 62 => 30, 44 => 29, 38 => 27, 34 => 26, 31 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Product/CatalogPage/Lists/list.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,66 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Common/_partials/_form_field.html.twig */
|
||||
class __TwigTemplate_f1d808149eaf05fd689447d50a3c55fa91b72f97eeda90c1edbf69e03c02e6a7 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget', ["id" => ($context["formId"] ?? null)]);
|
||||
echo "
|
||||
";
|
||||
// line 26
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Common/_partials/_form_field.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 34 => 26, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Common/_partials/_form_field.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Common/_partials/_form_field.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,349 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Forms/form_shipping.html.twig */
|
||||
class __TwigTemplate_4547321ad335219e060dd052ac8637f761d68e7f832f695966753ea6a9d34a2c extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
list($context["dimension_unit"], $context["weight_unit"]) = [$this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_DIMENSION_UNIT"), $this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_WEIGHT_UNIT")];
|
||||
// line 26
|
||||
echo "
|
||||
<div class=\"col-md-12 pb-1\">
|
||||
<h2>";
|
||||
// line 28
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Package dimension", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h2>
|
||||
<p class=\"subtitle\">";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Adjust your shipping costs by filling in the product dimensions.", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
|
||||
<div class=\"col-xl-2 col-lg-3\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 34
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "width", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 35
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "width", []), 'errors');
|
||||
echo "
|
||||
<div class=\"input-group\">
|
||||
";
|
||||
// line 37
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "width", []), 'widget');
|
||||
echo "
|
||||
<div class=\"input-group-append\">
|
||||
<span class=\"input-group-text\">";
|
||||
// line 39
|
||||
echo twig_escape_filter($this->env, ($context["dimension_unit"] ?? null), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"col-xl-2 col-lg-3\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 46
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "height", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 47
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "height", []), 'errors');
|
||||
echo "
|
||||
<div class=\"input-group\">
|
||||
";
|
||||
// line 49
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "height", []), 'widget');
|
||||
echo "
|
||||
<div class=\"input-group-append\">
|
||||
<span class=\"input-group-text\">";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, ($context["dimension_unit"] ?? null), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"col-xl-2 col-lg-3\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 58
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "depth", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 59
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "depth", []), 'errors');
|
||||
echo "
|
||||
<div class=\"input-group\">
|
||||
";
|
||||
// line 61
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "depth", []), 'widget');
|
||||
echo "
|
||||
<div class=\"input-group-append\">
|
||||
<span class=\"input-group-text\">";
|
||||
// line 63
|
||||
echo twig_escape_filter($this->env, ($context["dimension_unit"] ?? null), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"col-xl-2 col-lg-3\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 70
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "weight", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 71
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "weight", []), 'errors');
|
||||
echo "
|
||||
<div class=\"input-group\">
|
||||
";
|
||||
// line 73
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "weight", []), 'widget');
|
||||
echo "
|
||||
<div class=\"input-group-append\">
|
||||
<span class=\"input-group-text\">";
|
||||
// line 75
|
||||
echo twig_escape_filter($this->env, ($context["weight_unit"] ?? null), "html", null, true);
|
||||
echo "</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"form-group\">
|
||||
<h2>
|
||||
";
|
||||
// line 84
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "additional_delivery_times", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 86
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Display delivery time for a product is advised for merchants selling in Europe to comply with the local laws.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
</h2>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\" ";
|
||||
// line 89
|
||||
if ( $this->hasBlock("widget_container_attributes", $context, $blocks)) {
|
||||
echo " ";
|
||||
$this->displayBlock("widget_container_attributes", $context, $blocks);
|
||||
echo " ";
|
||||
}
|
||||
echo ">
|
||||
";
|
||||
// line 90
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["form"] ?? null), "additional_delivery_times", []));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
|
||||
// line 91
|
||||
echo " ";
|
||||
if (($this->getAttribute($this->getAttribute($context["child"], "vars", []), "value", []) == 1)) {
|
||||
// line 92
|
||||
echo " <div class=\"widget-radio-inline\">
|
||||
";
|
||||
// line 93
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget');
|
||||
echo "
|
||||
<a href=\"";
|
||||
// line 94
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_preferences");
|
||||
echo "\" class=\"btn sensitive px-0\" target=_blank><i class=\"material-icons\">open_in_new</i> ";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("edit", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "</a>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 97
|
||||
echo " ";
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"], 'widget');
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 99
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 100
|
||||
echo " </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-xl-6 col-lg-6\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 107
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "delivery_in_stock", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 108
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "delivery_in_stock", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 109
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "delivery_in_stock", []), 'widget');
|
||||
echo "
|
||||
<p class=\"subtitle italic\">";
|
||||
// line 110
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Leave empty to disable.", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"col-xl-6 col-lg-6\">
|
||||
<div class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 115
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "delivery_out_stock", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 116
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "delivery_out_stock", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 117
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "delivery_out_stock", []), 'widget');
|
||||
echo "
|
||||
<p class=\"subtitle italic\">";
|
||||
// line 118
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Leave empty to disable.", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"form-group\">
|
||||
<h2>
|
||||
";
|
||||
// line 125
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "additional_shipping_cost", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 127
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If a carrier has a tax, it will be added to the shipping fees. Does not apply to free shipping.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
</h2>
|
||||
<label class=\"form-control-label\">";
|
||||
// line 129
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Does this product incur additional shipping costs?", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</label>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-2\">
|
||||
";
|
||||
// line 132
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "additional_shipping_cost", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"form-group\">
|
||||
<h2>";
|
||||
// line 140
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "selectedCarriers", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</h2>
|
||||
";
|
||||
// line 141
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "selectedCarriers", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 148
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If no carrier is selected then all the carriers will be available for customers orders.", [], "Admin.Catalog.Notification");
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<div id=\"warehouse_combination_collection\" class=\"col-md-12 form-group\" data-url=\"";
|
||||
// line 154
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_warehouse_refresh_product_warehouse_combination_form");
|
||||
echo "\">
|
||||
";
|
||||
// line 155
|
||||
if (((($context["asm_globally_activated"] ?? null) && ($context["isNotVirtual"] ?? null)) && ($context["isChecked"] ?? null))) {
|
||||
// line 156
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@PrestaShop/Admin:Product/ProductPage/Forms/form_warehouse_combination.html.twig", ["warehouses" => ($context["warehouses"] ?? null), "form" => ($context["form"] ?? null)]);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 158
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 161
|
||||
echo $this->env->getExtension('PrestaShopBundle\Twig\HookExtension')->renderHook("displayAdminProductsShippingStepBottom", ["id_product" => ($context["id_product"] ?? null)]);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Forms/form_shipping.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 317 => 161, 312 => 158, 306 => 156, 304 => 155, 300 => 154, 291 => 148, 281 => 141, 277 => 140, 266 => 132, 260 => 129, 255 => 127, 250 => 125, 240 => 118, 236 => 117, 232 => 116, 228 => 115, 220 => 110, 216 => 109, 212 => 108, 208 => 107, 199 => 100, 193 => 99, 187 => 97, 179 => 94, 175 => 93, 172 => 92, 169 => 91, 165 => 90, 157 => 89, 151 => 86, 146 => 84, 134 => 75, 129 => 73, 124 => 71, 120 => 70, 110 => 63, 105 => 61, 100 => 59, 96 => 58, 86 => 51, 81 => 49, 76 => 47, 72 => 46, 62 => 39, 57 => 37, 52 => 35, 48 => 34, 40 => 29, 36 => 28, 32 => 26, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Forms/form_shipping.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_shipping.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,231 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_general.html.twig */
|
||||
class __TwigTemplate_1f5f20f7108a6d9d53cecb6a1b3d2f656fa9bb4d7ac0831512d55b8ddb7ee6d5 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_preferences_general' => [$this, 'block_product_preferences_general'],
|
||||
'product_general_preferences_form_rest' => [$this, 'block_product_general_preferences_form_rest'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "
|
||||
";
|
||||
// line 27
|
||||
$context["ps"] = $this->loadTemplate("@PrestaShop/Admin/macros.html.twig", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_general.html.twig", 27);
|
||||
// line 28
|
||||
echo "
|
||||
";
|
||||
// line 29
|
||||
$this->displayBlock('product_preferences_general', $context, $blocks);
|
||||
}
|
||||
|
||||
public function block_product_preferences_general($context, array $blocks = [])
|
||||
{
|
||||
// line 30
|
||||
echo "<div class=\"col-xl-10\">
|
||||
<div class=\"card\" id=\"configuration_fieldset_products\">
|
||||
<h3 class=\"card-header\">
|
||||
<i class=\"material-icons\">settings</i> ";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Products (general)", [], "Admin.Shopparameters.Feature"), "html", null, true);
|
||||
echo "
|
||||
</h3>
|
||||
<div class=\"card-block row\">
|
||||
<div class=\"card-text\">
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 38
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Catalog mode", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Catalog mode disables the shopping cart on your store. Visitors will be able to browse your products catalog, but not buy them.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 40
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "catalog_mode", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 41
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "catalog_mode", []), 'widget');
|
||||
echo "
|
||||
<small class=\"form-text\">";
|
||||
// line 42
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Have specific needs? Edit particular groups to let them see prices or not.", [], "Admin.Shopparameters.Help"), "html", null, true);
|
||||
echo "</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row catalog-mode-option\">
|
||||
";
|
||||
// line 46
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Show prices", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Display product prices when in catalog mode.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 48
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "catalog_mode_with_prices", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 49
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "catalog_mode_with_prices", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
<label class=\"form-control-label\">
|
||||
";
|
||||
// line 54
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Number of days for which the product is considered 'new'", [], "Admin.Shopparameters.Feature"), "html", null, true);
|
||||
echo "
|
||||
</label>
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 57
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "new_days_number", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 58
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "new_days_number", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 62
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Max size of product summary", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Set the maximum size of the summary of your product description (in characters).", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 64
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "short_description_limit", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 65
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "short_description_limit", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 69
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Quantity discounts based on", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("How to calculate quantity discounts.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 71
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "quantity_discount", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 72
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "quantity_discount", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 76
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Force update of friendly URL", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("When active, friendly URL will be updated on every save.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 78
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "force_friendly_url", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 79
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "force_friendly_url", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 83
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Default activation status", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("When active, new products will be activated by default during creation.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 85
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "default_status", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 86
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? null), "default_status", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 90
|
||||
$this->displayBlock('product_general_preferences_form_rest', $context, $blocks);
|
||||
// line 93
|
||||
echo " </div>
|
||||
</div>
|
||||
<div class=\"card-footer\">
|
||||
<div class=\"d-flex justify-content-end\">
|
||||
<button class=\"btn btn-primary\">";
|
||||
// line 97
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "Admin.Actions"), "html", null, true);
|
||||
echo "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
// line 90
|
||||
public function block_product_general_preferences_form_rest($context, array $blocks = [])
|
||||
{
|
||||
// line 91
|
||||
echo " ";
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["generalForm"] ?? null), 'rest');
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_general.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 198 => 91, 195 => 90, 185 => 97, 179 => 93, 177 => 90, 170 => 86, 166 => 85, 161 => 83, 154 => 79, 150 => 78, 145 => 76, 138 => 72, 134 => 71, 129 => 69, 122 => 65, 118 => 64, 113 => 62, 106 => 58, 102 => 57, 96 => 54, 88 => 49, 84 => 48, 79 => 46, 72 => 42, 68 => 41, 64 => 40, 59 => 38, 51 => 33, 46 => 30, 40 => 29, 37 => 28, 35 => 27, 32 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_general.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Configure/ShopParameters/Blocks/product_preferences_general.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,141 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/CatalogPage/Forms/form_products.html.twig */
|
||||
class __TwigTemplate_bdf1dfd26e2f6bd33aa6926e3648384bc1e6cf9b6df7b3125695af48f17a0b18 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_catalog_form_table' => [$this, 'block_product_catalog_form_table'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<form
|
||||
name=\"product_catalog_list\"
|
||||
id=\"product_catalog_list\"
|
||||
method=\"post\"
|
||||
action=\"";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["limit" => ($context["limit"] ?? null), "orderBy" => ($context["orderBy"] ?? null), "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
orderingurl=\"";
|
||||
// line 30
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["offset" => 0, "limit" => 300, "orderBy" => "position_ordering", "sortOrder" => ($context["sortOrder"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
newproducturl=\"";
|
||||
// line 31
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_new");
|
||||
echo "\"
|
||||
>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
<input type=\"hidden\" name=\"filter_category\" value=\"";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, (((isset($context["filter_category"]) || array_key_exists("filter_category", $context))) ? (_twig_default_filter(($context["filter_category"] ?? null), "")) : ("")), "html", null, true);
|
||||
echo "\" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
";
|
||||
// line 41
|
||||
$this->displayBlock('product_catalog_form_table', $context, $blocks);
|
||||
// line 62
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 65
|
||||
if ((($context["product_count_filtered"] ?? null) > 20)) {
|
||||
// line 66
|
||||
echo " <div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
";
|
||||
// line 68
|
||||
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("PrestaShopBundle:Admin\\Common:pagination", ["limit" => // line 69
|
||||
($context["limit"] ?? null), "offset" => ($context["offset"] ?? null), "total" => ($context["product_count_filtered"] ?? null), "caller_parameters" => ($context["pagination_parameters"] ?? null), "limit_choices" => ($context["pagination_limit_choices"] ?? null)]));
|
||||
// line 70
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 74
|
||||
echo "</form>
|
||||
";
|
||||
}
|
||||
|
||||
// line 41
|
||||
public function block_product_catalog_form_table($context, array $blocks = [])
|
||||
{
|
||||
// line 42
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/CatalogPage/Lists/products_table.html.twig", ["limit" => // line 43
|
||||
($context["limit"] ?? null), "orderBy" => // line 44
|
||||
($context["orderBy"] ?? null), "offset" => // line 45
|
||||
($context["offset"] ?? null), "sortOrder" => // line 46
|
||||
($context["sortOrder"] ?? null), "filter_category" => // line 47
|
||||
($context["filter_category"] ?? null), "filter_column_id_product" => // line 48
|
||||
($context["filter_column_id_product"] ?? null), "filter_column_name" => // line 49
|
||||
($context["filter_column_name"] ?? null), "filter_column_reference" => // line 50
|
||||
($context["filter_column_reference"] ?? null), "filter_column_name_category" => // line 51
|
||||
($context["filter_column_name_category"] ?? null), "filter_column_price" => // line 52
|
||||
($context["filter_column_price"] ?? null), "filter_column_sav_quantity" => // line 53
|
||||
($context["filter_column_sav_quantity"] ?? null), "filter_column_active" => // line 54
|
||||
($context["filter_column_active"] ?? null), "has_category_filter" => // line 55
|
||||
($context["has_category_filter"] ?? null), "activate_drag_and_drop" => // line 56
|
||||
($context["activate_drag_and_drop"] ?? null), "products" => // line 57
|
||||
($context["products"] ?? null), "last_sql" => // line 58
|
||||
($context["last_sql"] ?? null)]);
|
||||
// line 60
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/CatalogPage/Forms/form_products.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 110 => 60, 108 => 58, 107 => 57, 106 => 56, 105 => 55, 104 => 54, 103 => 53, 102 => 52, 101 => 51, 100 => 50, 99 => 49, 98 => 48, 97 => 47, 96 => 46, 95 => 45, 94 => 44, 93 => 43, 91 => 42, 88 => 41, 83 => 74, 77 => 70, 75 => 69, 74 => 68, 70 => 66, 68 => 65, 63 => 62, 61 => 41, 52 => 35, 45 => 31, 41 => 30, 37 => 29, 31 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/CatalogPage/Forms/form_products.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Forms/form_products.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,296 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Blocks/footer.html.twig */
|
||||
class __TwigTemplate_be04294e0f939e387054f33518f514dea179e61c22e5cfc30a75e76ec262db41 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_footer' => [$this, 'block_product_footer'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo " ";
|
||||
$this->displayBlock('product_footer', $context, $blocks);
|
||||
}
|
||||
|
||||
public function block_product_footer($context, array $blocks = [])
|
||||
{
|
||||
// line 26
|
||||
echo " <div class=\"product-footer justify-content-md-center\">
|
||||
<div class=\"col-lg-4\">
|
||||
<a
|
||||
href=\"";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_unit_action", ["action" => "delete", "id" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
class=\"tooltip-link btn btn-lg delete\"
|
||||
data-toggle=\"pstooltip\"
|
||||
id=\"product_form_delete_btn\"
|
||||
title=\"";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Permanently delete this product.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
data-placement=\"left\"
|
||||
data-original-title=\"Delete\"
|
||||
>
|
||||
<i class=\"material-icons\">delete</i>
|
||||
</a>
|
||||
<a
|
||||
href=\"\"
|
||||
data-redirect=\"";
|
||||
// line 41
|
||||
echo twig_escape_filter($this->env, ($context["preview_link"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
data-url-deactive=\"";
|
||||
// line 42
|
||||
echo twig_escape_filter($this->env, ($context["preview_link_deactivate"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
target=\"_blank\"
|
||||
class=\"btn btn-secondary preview\"
|
||||
data-toggle=\"pstooltip\"
|
||||
id=\"product_form_preview_btn\"
|
||||
title=\"";
|
||||
// line 47
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("See how your product sheet will look online: ALT+SHIFT+V", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 49
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Preview", [], "Admin.Actions"), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
// line 51
|
||||
if (($context["editable"] ?? null)) {
|
||||
// line 52
|
||||
echo " <h2 class=\"for-switch online-title\" ";
|
||||
if ( !($context["is_active"] ?? null)) {
|
||||
echo "style=\"display:none;\"";
|
||||
}
|
||||
echo " data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 53
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Enable or disable the product on your shop: ALT+SHIFT+O", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\">";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Online", [], "Admin.Global"), "html", null, true);
|
||||
echo "</h2>
|
||||
<h2 class=\"for-switch offline-title\" ";
|
||||
// line 54
|
||||
if (($context["is_active"] ?? null)) {
|
||||
echo "style=\"display:none;\"";
|
||||
}
|
||||
echo " data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 55
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Enable or disable the product on your shop: ALT+SHIFT+O", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\">";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Offline", [], "Admin.Global"), "html", null, true);
|
||||
echo "</h2>
|
||||
<input
|
||||
class=\"switch-input-lg\"
|
||||
id=\"form_step1_active\"
|
||||
data-toggle=\"switch\"
|
||||
type=\"checkbox\"
|
||||
name=\"form[step1][active]\"
|
||||
value=\"1\"
|
||||
";
|
||||
// line 63
|
||||
echo ((($context["is_active"] ?? null)) ? ("checked=\"checked\"") : (""));
|
||||
echo "
|
||||
/>
|
||||
";
|
||||
}
|
||||
// line 66
|
||||
echo " </div>
|
||||
<div class=\"col-sm-5 col-lg-7 text-right\">
|
||||
<input
|
||||
id=\"submit\"
|
||||
type=\"submit\"
|
||||
class=\"btn btn-primary save uppercase ml-3\"
|
||||
value=\"";
|
||||
// line 72
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "Admin.Actions"), "html", null, true);
|
||||
echo "\"
|
||||
data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 74
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save the product and stay on the current page: ALT+SHIFT+S", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
/>
|
||||
";
|
||||
// line 76
|
||||
if (($context["is_shop_context"] ?? null)) {
|
||||
// line 77
|
||||
echo " <button
|
||||
type=\"button\"
|
||||
class=\"btn btn-outline-secondary btn-submit hidden-xs uppercase duplicate ml-3\"
|
||||
id=\"product_form_save_duplicate_btn\"
|
||||
data-redirect=\"";
|
||||
// line 81
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_unit_action", ["action" => "duplicate", "id" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 83
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save and duplicate this product, then go to the new product: ALT+SHIFT+D", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 85
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicate", [], "Admin.Actions");
|
||||
echo "
|
||||
</button>
|
||||
";
|
||||
}
|
||||
// line 88
|
||||
echo " <button
|
||||
type=\"button\"
|
||||
class=\"btn btn-outline-secondary btn-submit hidden-xs uppercase go-catalog ml-3\"
|
||||
id=\"product_form_save_go_to_catalog_btn\"
|
||||
data-redirect=\"";
|
||||
// line 92
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["offset" => "last", "limit" => "last"]), "html", null, true);
|
||||
echo "\"
|
||||
data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 94
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save and go back to the catalog: ALT+SHIFT+Q", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 96
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Go to catalog", [], "Admin.Catalog.Feature");
|
||||
echo "
|
||||
</button>
|
||||
<button
|
||||
type=\"button\"
|
||||
class=\"btn btn-outline-secondary btn-submit hidden-xs uppercase new-product ml-3\"
|
||||
id=\"product_form_save_new_btn\"
|
||||
data-redirect=\"";
|
||||
// line 102
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_new");
|
||||
echo "\"
|
||||
data-toggle=\"pstooltip\"
|
||||
title=\"";
|
||||
// line 104
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save and create a new product: ALT+SHIFT+P", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 106
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add new product", [], "Admin.Catalog.Feature");
|
||||
echo "
|
||||
</button>
|
||||
|
||||
<div class=\"js-spinner spinner hide btn-primary-reverse onclick mr-1 btn\"></div>
|
||||
<div class=\"btn-group hide dropdown\">
|
||||
<button
|
||||
class=\"btn btn-primary js-btn-save ml-3\"
|
||||
type=\"submit\"
|
||||
>
|
||||
<span>";
|
||||
// line 115
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "Admin.Actions"), "html", null, true);
|
||||
echo "</span>
|
||||
</button><button
|
||||
class=\"btn btn-primary dropdown-toggle dropdown-toggle-split\"
|
||||
type=\"button\"
|
||||
id=\"dropdownMenu\"
|
||||
data-toggle=\"dropdown\"
|
||||
aria-expanded=\"false\"
|
||||
>
|
||||
<span class=\"sr-only\">Toggle Dropdown</span>
|
||||
</button>
|
||||
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenu\">
|
||||
";
|
||||
// line 126
|
||||
if (($context["is_shop_context"] ?? null)) {
|
||||
// line 127
|
||||
echo " <a
|
||||
class=\"dropdown-item duplicate js-btn-save\"
|
||||
href=\"";
|
||||
// line 129
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_unit_action", ["action" => "duplicate", "id" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 131
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Duplicate", [], "Admin.Actions");
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
}
|
||||
// line 134
|
||||
echo " <a
|
||||
class=\"dropdown-item go-catalog js-btn-save\"
|
||||
href=\"";
|
||||
// line 136
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["offset" => "last", "limit" => "last"]), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 138
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Go to catalog", [], "Admin.Catalog.Feature");
|
||||
echo "
|
||||
</a>
|
||||
<a
|
||||
class=\"dropdown-item new-product js-btn-save\"
|
||||
href=\"";
|
||||
// line 142
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_new");
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 144
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add new product", [], "Admin.Catalog.Feature");
|
||||
echo "
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Blocks/footer.html.twig";
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 264 => 144, 259 => 142, 252 => 138, 247 => 136, 243 => 134, 237 => 131, 232 => 129, 228 => 127, 226 => 126, 212 => 115, 200 => 106, 195 => 104, 190 => 102, 181 => 96, 176 => 94, 171 => 92, 165 => 88, 159 => 85, 154 => 83, 149 => 81, 143 => 77, 141 => 76, 136 => 74, 131 => 72, 123 => 66, 117 => 63, 104 => 55, 98 => 54, 92 => 53, 85 => 52, 83 => 51, 78 => 49, 73 => 47, 65 => 42, 61 => 41, 50 => 33, 43 => 29, 38 => 26, 31 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Blocks/footer.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Blocks/footer.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,117 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Forms/form_custom_fields.html.twig */
|
||||
class __TwigTemplate_cc8d18246d2dec2fec0cb8fdb939c0f1885adea114afe51f6861f015889e87fe extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<div class=\"row\">
|
||||
";
|
||||
// line 26
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "id_customization_field", []), 'widget');
|
||||
echo "
|
||||
<div class=\"col-md-3\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "label", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 30
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "label", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 31
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "label", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-3\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 36
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "type", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 37
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "type", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 38
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "type", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-1\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\"> </label>
|
||||
<a class=\"btn btn-block delete\" ><i class=\"material-icons\">delete</i></a>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-4\">
|
||||
<fieldset class=\"form-group\">
|
||||
<div>
|
||||
<label class=\"form-control-label\"> </label>
|
||||
</div>
|
||||
<div class=\"required-custom-field\">
|
||||
";
|
||||
// line 53
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "require", []), 'widget', ["switch" => "tiny"]);
|
||||
echo "
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Forms/form_custom_fields.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 81 => 53, 63 => 38, 59 => 37, 55 => 36, 47 => 31, 43 => 30, 39 => 29, 33 => 26, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Forms/form_custom_fields.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_custom_fields.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,203 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Blocks/header.html.twig */
|
||||
class __TwigTemplate_8f449d904fe0302ccd833bf01434cf9526c12db9b4d0835a9c07ddb3231a70a4 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<div class=\"product-header col-md-12\">
|
||||
<div class=\"row justify-content-md-center\">
|
||||
";
|
||||
// line 27
|
||||
if (($context["is_multishop_context"] ?? null)) {
|
||||
// line 28
|
||||
echo " <div class=\"col-xxl-10\">
|
||||
<div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">";
|
||||
// line 30
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("You are in a multistore context: any modification will impact all your shops, or each shop of the active group.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "</p>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 34
|
||||
echo "
|
||||
<div class=\"col-xxl-10\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-7 big-input ";
|
||||
// line 37
|
||||
echo ((($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_FORCE_FRIENDLY_PRODUCT") == 1)) ? ("friendly-url-force-update") : (""));
|
||||
echo "\" id=\"form_step1_names\">
|
||||
";
|
||||
// line 38
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formName"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
<div class=\"col-sm-7 col-md-2 form_step1_type_product\">
|
||||
";
|
||||
// line 41
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formType"] ?? null), 'widget');
|
||||
echo "
|
||||
<span class=\"help-box pull-xs-right\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 43
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Is the product a pack (a combination of at least two existing products), a virtual product (downloadable file, service, etc.), or simply a standard, physical product?", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"></span>
|
||||
</div>
|
||||
<div class=\"col-sm-2 col-md-1 form_switch_language\">
|
||||
<div class=\"";
|
||||
// line 46
|
||||
echo (((twig_length_filter($this->env, ($context["languages"] ?? null)) == 1)) ? ("hide") : (""));
|
||||
echo "\">
|
||||
<select id=\"form_switch_language\" class=\"custom-select\">
|
||||
";
|
||||
// line 48
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["languages"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
|
||||
// line 49
|
||||
echo " <option value=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["language"], "iso_code", []), "html", null, true);
|
||||
echo "\" ";
|
||||
if ((($context["default_language_iso"] ?? null) == $this->getAttribute($context["language"], "iso_code", []))) {
|
||||
echo "selected=\"selected\"";
|
||||
}
|
||||
echo ">";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["language"], "iso_code", []), "html", null, true);
|
||||
echo "</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 51
|
||||
echo " </select>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"toolbar col-sm-3 col-md-2 text-md-right\">
|
||||
<a class=\"toolbar-button btn-sales\" href=\"";
|
||||
// line 55
|
||||
echo twig_escape_filter($this->env, ($context["stats_link"] ?? null), "html", null, true);
|
||||
echo "\" target=\"_blank\" title=\"";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sales", [], "Admin.Global"), "html", null, true);
|
||||
echo "\"
|
||||
id=\"product_form_go_to_sales\">
|
||||
<i class=\"material-icons\">assessment</i>
|
||||
<span class=\"title\">";
|
||||
// line 58
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sales", [], "Admin.Global"), "html", null, true);
|
||||
echo "</span>
|
||||
</a>
|
||||
|
||||
<a
|
||||
class=\"toolbar-button btn-quicknav btn-sidebar\"
|
||||
href=\"#\"
|
||||
title=\"";
|
||||
// line 64
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Quick navigation", [], "Admin.Global"), "html", null, true);
|
||||
echo "\"
|
||||
data-toggle=\"sidebar\"
|
||||
data-target=\"#right-sidebar\"
|
||||
data-url=\"";
|
||||
// line 67
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_list", ["limit" => "last", "offset" => "last", "view" => "quicknav"]), "html", null, true);
|
||||
echo "\"
|
||||
id=\"product_form_open_quicknav\"
|
||||
>
|
||||
<i class=\"material-icons\">list</i>
|
||||
<span class=\"title\">";
|
||||
// line 71
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Product list", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</span>
|
||||
</a>
|
||||
|
||||
<a class=\"toolbar-button btn-help btn-sidebar\" href=\"#\"
|
||||
title=\"";
|
||||
// line 75
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Help", [], "Admin.Global"), "html", null, true);
|
||||
echo "\"
|
||||
data-toggle=\"sidebar\"
|
||||
data-target=\"#right-sidebar\"
|
||||
data-url=\"";
|
||||
// line 78
|
||||
echo twig_escape_filter($this->env, ($context["help_link"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
id=\"product_form_open_help\"
|
||||
>
|
||||
<i class=\"material-icons\">help</i>
|
||||
<span class=\"title\">";
|
||||
// line 82
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Help", [], "Admin.Global"), "html", null, true);
|
||||
echo "</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-lg-12\">
|
||||
";
|
||||
// line 88
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formName"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 89
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formType"] ?? null), 'errors');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Blocks/header.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 166 => 89, 162 => 88, 153 => 82, 146 => 78, 140 => 75, 133 => 71, 126 => 67, 120 => 64, 111 => 58, 103 => 55, 97 => 51, 82 => 49, 78 => 48, 73 => 46, 67 => 43, 62 => 41, 56 => 38, 52 => 37, 47 => 34, 40 => 30, 36 => 28, 34 => 27, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Blocks/header.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Blocks/header.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,147 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig */
|
||||
class __TwigTemplate_cac1cac1b87808aca44500507fcb21f957401b6f51c3326c618071af34cf3b14 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
// line 25
|
||||
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", 25);
|
||||
$this->blocks = [
|
||||
'content' => [$this, 'block_content'],
|
||||
'javascripts' => [$this, 'block_javascripts'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doGetParent(array $context)
|
||||
{
|
||||
return "@PrestaShop/Admin/layout.html.twig";
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
||||
}
|
||||
|
||||
// line 28
|
||||
public function block_content($context, array $blocks = [])
|
||||
{
|
||||
// line 29
|
||||
echo " <div class=\"container\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col\">
|
||||
";
|
||||
// line 32
|
||||
if ( !($context["isSingleShopContext"] ?? null)) {
|
||||
// line 33
|
||||
echo " <div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 35
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("You have more than one shop and must select one to configure payment.", [], "Admin.Payment.Notification"), "html", null, true);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
} elseif (( // line 38
|
||||
($context["paymentModulesCount"] ?? null) == 0)) {
|
||||
// line 39
|
||||
echo " <div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 41
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("No payment module installed", [], "Admin.Payment.Notification"), "html", null, true);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 45
|
||||
echo " <div class=\"alert alert-info\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 47
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("This is where you decide what payment modules are available for different variations like your customers' currency, group, and country.", [], "Admin.Payment.Help"), "html", null, true);
|
||||
echo "
|
||||
</p>
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 50
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("A check mark indicates you want the payment module available.", [], "Admin.Payment.Help"), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If it is not checked then this means that the payment module is disabled.", [], "Admin.Payment.Help"), "html", null, true);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 55
|
||||
$this->loadTemplate("@PrestaShop/Admin/Improve/Payment/Preferences/Blocks/payment_preferences_form_block.html.twig", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", 55)->display($context);
|
||||
// line 56
|
||||
echo " ";
|
||||
}
|
||||
// line 57
|
||||
echo " </div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
// line 62
|
||||
public function block_javascripts($context, array $blocks = [])
|
||||
{
|
||||
// line 63
|
||||
echo " ";
|
||||
$this->displayParentBlock("javascripts", $context, $blocks);
|
||||
echo "
|
||||
|
||||
<script src=\"";
|
||||
// line 65
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/new-theme/public/payment_preferences.bundle.js"), "html", null, true);
|
||||
echo "\"></script>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 115 => 65, 109 => 63, 106 => 62, 99 => 57, 96 => 56, 94 => 55, 87 => 51, 83 => 50, 77 => 47, 73 => 45, 66 => 41, 62 => 39, 60 => 38, 54 => 35, 50 => 33, 48 => 32, 43 => 29, 40 => 28, 22 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/Preferences/payment_preferences.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Twig/Exception/error.html.twig */
|
||||
class __TwigTemplate_05da79415abd7a4f87e24b47007f54b106cda771222f48dc1a67b9eb01a3653c extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 1
|
||||
echo "<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=\"";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true);
|
||||
echo "\" />
|
||||
<title>An Error Occurred: ";
|
||||
// line 5
|
||||
echo twig_escape_filter($this->env, ($context["status_text"] ?? null), "html", null, true);
|
||||
echo "</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Oops! An Error Occurred</h1>
|
||||
<h2>The server returned a \"";
|
||||
// line 9
|
||||
echo twig_escape_filter($this->env, ($context["status_code"] ?? null), "html", null, true);
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, ($context["status_text"] ?? null), "html", null, true);
|
||||
echo "\".</h2>
|
||||
|
||||
<div>
|
||||
Something is broken. Please let us know what you were doing when this error occurred.
|
||||
We will fix it as soon as possible. Sorry for any inconvenience caused.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Twig/Exception/error.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 46 => 9, 39 => 5, 35 => 4, 30 => 1,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Twig/Exception/error.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/error.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,472 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Forms/form_combinations.html.twig */
|
||||
class __TwigTemplate_bf0797bf4712585754bdfd015f52166f10db97968df92d2247a0a3bbdddc48b4 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<div class=\"row\" id=\"combinations\">
|
||||
<div class=\"col-md-9\">
|
||||
<h2>
|
||||
";
|
||||
// line 28
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Manage your product combinations", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "
|
||||
<span
|
||||
class=\"help-box\"
|
||||
data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Combinations are the different variations of a product, with attributes like its size, weight or color taking different values. To create a combination, you need to create your product attributes first. Go to Catalog > Attributes & Features for this!", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
></span>
|
||||
</h2>
|
||||
<div id=\"attributes-generator\">
|
||||
<div class=\"alert alert-info\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 38
|
||||
echo twig_replace_filter($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("To add combinations, you first need to create proper attributes and values in [1]Attributes & Features[/1]. <br> When done, you may enter the wanted attributes (like \"size\" or \"color\") and their respective values (\"XS\", \"red\", \"all\", etc.) in the field below; or simply select them from the right column. Then click on \"Generate\": it will automatically create all the combinations for you!", [], "Admin.Catalog.Help"), ["[1]" => (("<a class=\"alert-link\" href=" . $this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getAdminLink("AdminAttributesGroups")) . " target=\"_blank\">"), "[/1]" => "</a>"]);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-xl-10 col-lg-9\">
|
||||
<fieldset class=\"form-group\">
|
||||
";
|
||||
// line 44
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "attributes", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 45
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "attributes", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-xl-2 col-lg-3\">
|
||||
<button class=\"btn btn-outline-primary\" id=\"create-combinations\">
|
||||
Generate
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id=\"combinations-bulk-form\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
<p
|
||||
class=\"form-control bulk-action\"
|
||||
data-toggle=\"collapse\"
|
||||
href=\"#bulk-combinations-container\"
|
||||
aria-expanded=\"false\"
|
||||
aria-controls=\"bulk-combinations-container\"
|
||||
>
|
||||
";
|
||||
// line 67
|
||||
echo " <strong>";
|
||||
echo twig_replace_filter($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Bulk actions ([1]/[2] combination(s) selected)", [], "Admin.Catalog.Feature"), ["[1]" => "<span class=\"js-bulk-combinations\">0</span>", "[2]" => (("<span id=\"js-bulk-combinations-total\">" . ($context["combinations_count"] ?? null)) . "</span>")]);
|
||||
echo "</strong>
|
||||
<i class=\"material-icons float-right\">keyboard_arrow_down</i>
|
||||
</p>
|
||||
</div>
|
||||
<div class=\"col-md-12 collapse js-collapse\" id=\"bulk-combinations-container\">
|
||||
<div class=\"border p-3\">
|
||||
";
|
||||
// line 73
|
||||
echo twig_include($this->env, $context, "@Product/ProductPage/Forms/form_combinations_bulk.html.twig", ["form" => ($context["form_combination_bulk"] ?? null)]);
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=\"combinations-list\">
|
||||
<table class=\"table\">
|
||||
<thead class=\"thead-default\" id=\"combinations_thead\" ";
|
||||
// line 81
|
||||
if ( !($context["has_combinations"] ?? null)) {
|
||||
echo "style=\"display: none;\"";
|
||||
}
|
||||
echo ">
|
||||
<tr>
|
||||
<th>
|
||||
<input type=\"checkbox\" id=\"toggle-all-combinations\" >
|
||||
</th>
|
||||
<th></th>
|
||||
<th>";
|
||||
// line 87
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Combinations", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</th>
|
||||
<th>";
|
||||
// line 88
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Impact on price", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</th>
|
||||
<th>";
|
||||
// line 89
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Final price", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</th>
|
||||
";
|
||||
// line 90
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 91
|
||||
echo " <th>";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Quantity", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</th>
|
||||
";
|
||||
}
|
||||
// line 93
|
||||
echo " <th colspan=\"3\" class=\"text-sm-right\">";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Default combination", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class=\"js-combinations-list panel-group accordion\" id=\"accordion_combinations\" data-action-delete-all=\"";
|
||||
// line 96
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_delete_all_attributes", ["idProduct" => 1]);
|
||||
echo "\" data-weight-unit=\"";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_WEIGHT_UNIT"), "html", null, true);
|
||||
echo "\" data-action-refresh-images=\"";
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_get_form_images_combination", ["idProduct" => 1]);
|
||||
echo "\" data-id-product= ";
|
||||
echo twig_escape_filter($this->env, ($context["id_product"] ?? null), "html", null, true);
|
||||
echo " data-ids-product-attribute=\"";
|
||||
echo twig_escape_filter($this->env, ($context["ids_product_attribute"] ?? null), "html", null, true);
|
||||
echo "\" data-combinations-url=\"";
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_combination_generate_form", ["combinationIds" => ":numbers"]);
|
||||
echo "\">
|
||||
";
|
||||
// line 97
|
||||
if (($context["has_combinations"] ?? null)) {
|
||||
// line 98
|
||||
echo " <tr class=\"combination loading timeline-wrapper\" id=\"loading-attribute\">
|
||||
<td class=\"timeline-item\" width=\"1%\">
|
||||
</td>
|
||||
<td class=\"timeline-item img\">
|
||||
<div class=\"animated-background\"></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class=\"animated-background\"></div>
|
||||
</td>
|
||||
<td class=\"attribute-price\">
|
||||
<div class=\"animated-background\"></div>
|
||||
</td>
|
||||
<td class=\"attribute-finalprice\">
|
||||
<div class=\"animated-background\"></div>
|
||||
</td>
|
||||
";
|
||||
// line 113
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 114
|
||||
echo " <td class=\"attribute-quantity\">
|
||||
<div class=\"animated-background\"></div>
|
||||
</td>
|
||||
";
|
||||
}
|
||||
// line 118
|
||||
echo " <td colspan=\"6\"></td>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
// line 121
|
||||
echo " </tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id=\"attributes-list\" class=\"col-md-3\">
|
||||
";
|
||||
// line 127
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["attribute_groups"] ?? null));
|
||||
$context['loop'] = [
|
||||
'parent' => $context['_parent'],
|
||||
'index0' => 0,
|
||||
'index' => 1,
|
||||
'first' => true,
|
||||
];
|
||||
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
||||
$length = count($context['_seq']);
|
||||
$context['loop']['revindex0'] = $length - 1;
|
||||
$context['loop']['revindex'] = $length;
|
||||
$context['loop']['length'] = $length;
|
||||
$context['loop']['last'] = 1 === $length;
|
||||
}
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["attribute_group"]) {
|
||||
// line 128
|
||||
echo " <div class=\"attribute-group\">
|
||||
<a
|
||||
class=\"attribute-group-name ";
|
||||
// line 130
|
||||
if (($this->getAttribute($context["loop"], "index", []) > 3)) {
|
||||
echo " collapsed ";
|
||||
}
|
||||
echo "\"
|
||||
data-toggle=\"collapse\"
|
||||
href=\"#attribute-group-";
|
||||
// line 132
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute_group"], "id", []), "html", null, true);
|
||||
echo "\"
|
||||
aria-expanded=\"";
|
||||
// line 133
|
||||
if (($this->getAttribute($context["loop"], "index", []) <= 3)) {
|
||||
echo "true";
|
||||
} else {
|
||||
echo "false";
|
||||
}
|
||||
echo "\"
|
||||
>
|
||||
";
|
||||
// line 135
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute_group"], "name", []), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
<div class=\"collapse ";
|
||||
// line 137
|
||||
if (($this->getAttribute($context["loop"], "index", []) <= 3)) {
|
||||
echo " show ";
|
||||
}
|
||||
echo " attributes \" id=\"attribute-group-";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute_group"], "id", []), "html", null, true);
|
||||
echo "\">
|
||||
<div class=\"attributes-overflow ";
|
||||
// line 138
|
||||
if ((twig_length_filter($this->env, $this->getAttribute($context["attribute_group"], "attributes", [])) > 7)) {
|
||||
echo " two-columns ";
|
||||
}
|
||||
echo "\">
|
||||
";
|
||||
// line 139
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable($this->getAttribute($context["attribute_group"], "attributes", []));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["attribute"]) {
|
||||
// line 140
|
||||
echo " <div class=\"attribute\">
|
||||
<input
|
||||
class=\"js-attribute-checkbox\"
|
||||
id=\"attribute-";
|
||||
// line 143
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "id", []), "html", null, true);
|
||||
echo "\"
|
||||
data-label=\"";
|
||||
// line 144
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute_group"], "name", []), "html", null, true);
|
||||
echo " : ";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "name", []), "html", null, true);
|
||||
echo "\"
|
||||
data-value=\"";
|
||||
// line 145
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "id", []), "html", null, true);
|
||||
echo "\"
|
||||
data-group-id=\"";
|
||||
// line 146
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute_group"], "id", []), "html", null, true);
|
||||
echo "\"
|
||||
type=\"checkbox\"
|
||||
>
|
||||
<label class=\"attribute-label\" for=\"attribute-";
|
||||
// line 149
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "id", []), "html", null, true);
|
||||
echo "\">
|
||||
<span
|
||||
class=\"pretty-checkbox ";
|
||||
// line 151
|
||||
if ((twig_test_empty($this->getAttribute($context["attribute"], "color", [])) && twig_test_empty($this->getAttribute($context["attribute"], "texture", [])))) {
|
||||
echo " not-color ";
|
||||
}
|
||||
echo "\"
|
||||
";
|
||||
// line 152
|
||||
if ( !twig_test_empty($this->getAttribute($context["attribute"], "color", []))) {
|
||||
echo " style=\"background-color: ";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "color", []), "html", null, true);
|
||||
echo "\" ";
|
||||
}
|
||||
// line 153
|
||||
echo " ";
|
||||
if ( !twig_test_empty($this->getAttribute($context["attribute"], "texture", []))) {
|
||||
echo " style=\"content: url(";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "texture", []), "html", null, true);
|
||||
echo ")\" ";
|
||||
}
|
||||
// line 154
|
||||
echo " >
|
||||
</span>
|
||||
";
|
||||
// line 156
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["attribute"], "name", []), "html", null, true);
|
||||
echo "
|
||||
</label>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 160
|
||||
echo " </div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
++$context['loop']['index0'];
|
||||
++$context['loop']['index'];
|
||||
$context['loop']['first'] = false;
|
||||
if (isset($context['loop']['length'])) {
|
||||
--$context['loop']['revindex0'];
|
||||
--$context['loop']['revindex'];
|
||||
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
||||
}
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attribute_group'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 164
|
||||
echo " </div>
|
||||
</div>
|
||||
|
||||
<div class=\"form-group\">
|
||||
<div class=\"row\">
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
<h2>";
|
||||
// line 171
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Availability preferences", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h2>
|
||||
</div>
|
||||
";
|
||||
// line 173
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 174
|
||||
echo " <div class=\"col-md-12\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 175
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Behavior when out of stock", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 176
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "out_of_stock", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 177
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "out_of_stock", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-4\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 181
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "available_now", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 182
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_now", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 183
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_now", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
|
||||
<div class=\"col-md-4 \">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 187
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "available_later", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 188
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_later", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 189
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_later", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
} else {
|
||||
// line 192
|
||||
echo " <div class=\"col-md-12\">
|
||||
<h3>";
|
||||
// line 193
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Stock management is disabled", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h3>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 196
|
||||
echo "
|
||||
";
|
||||
// line 197
|
||||
if ( !($context["has_combinations"] ?? null)) {
|
||||
// line 198
|
||||
echo " <div class=\"col-md-4 \">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 199
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "available_date", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 200
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_date", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 201
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "available_date", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 204
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Forms/form_combinations.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 439 => 204, 433 => 201, 429 => 200, 425 => 199, 422 => 198, 420 => 197, 417 => 196, 411 => 193, 408 => 192, 402 => 189, 398 => 188, 394 => 187, 387 => 183, 383 => 182, 379 => 181, 372 => 177, 368 => 176, 364 => 175, 361 => 174, 359 => 173, 354 => 171, 345 => 164, 328 => 160, 318 => 156, 314 => 154, 307 => 153, 301 => 152, 295 => 151, 290 => 149, 284 => 146, 280 => 145, 274 => 144, 270 => 143, 265 => 140, 261 => 139, 255 => 138, 247 => 137, 242 => 135, 233 => 133, 229 => 132, 222 => 130, 218 => 128, 201 => 127, 193 => 121, 188 => 118, 182 => 114, 180 => 113, 163 => 98, 161 => 97, 147 => 96, 140 => 93, 134 => 91, 132 => 90, 128 => 89, 124 => 88, 120 => 87, 109 => 81, 98 => 73, 88 => 67, 64 => 45, 60 => 44, 51 => 38, 42 => 32, 35 => 28, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Forms/form_combinations.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_combinations.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,428 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Panels/combinations.html.twig */
|
||||
class __TwigTemplate_e5587ac19809242565223cd9584cb5284055dabb4a6edbf8c86dfc8ac0c9a45d extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<div role=\"tabpanel\" class=\"form-contenttab tab-pane\" id=\"step3\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-12\">
|
||||
<div class=\"container-fluid\">
|
||||
<div class=\"row\">
|
||||
|
||||
<div class=\"col-md-12\">
|
||||
|
||||
<div id=\"quantities\" style=\"";
|
||||
// line 33
|
||||
if ((($context["has_combinations"] ?? null) || ($this->getAttribute($this->getAttribute(($context["formDependsOnStocks"] ?? null), "vars", []), "value", []) != "0"))) {
|
||||
echo "display: none;";
|
||||
}
|
||||
echo "\">
|
||||
<h2>";
|
||||
// line 34
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Quantities", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h2>
|
||||
<fieldset class=\"form-group\">
|
||||
<div class=\"row\">
|
||||
";
|
||||
// line 37
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 38
|
||||
echo " <div class=\"col-md-4\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 39
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formStockQuantity"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 40
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formStockQuantity"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 41
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formStockQuantity"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 44
|
||||
echo " <div class=\"col-md-4\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 45
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formStockMinimalQuantity"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 47
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("The minimum quantity required to buy this product (set to 1 to disable this feature). E.g.: if set to 3, customers will be able to purchase the product only if they take at least 3 in quantity.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
";
|
||||
// line 48
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formStockMinimalQuantity"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 49
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formStockMinimalQuantity"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<h2>";
|
||||
// line 54
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Stock", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h2>
|
||||
<fieldset class=\"form-group\">
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-4\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 58
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formLocation"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 59
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLocation"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 60
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLocation"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-4\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 65
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formLowStockThreshold"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
";
|
||||
// line 66
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLowStockThreshold"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 67
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLowStockThreshold"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
<div class=\"col-md-8\">
|
||||
<label class=\"form-control-label\"> </label>
|
||||
<div class=\"widget-checkbox-inline\">
|
||||
";
|
||||
// line 72
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLowStockAlert"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 73
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formLowStockAlert"] ?? null), 'widget');
|
||||
echo "
|
||||
<span class=\"help-box\" data-toggle=\"popover\" data-html=\"true\" data-content=\"";
|
||||
// line 74
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("The email will be sent to all the users who have the right to run the stock page. To modify the permissions, go to [1]Advanced Parameters > Team[/1]", ["[1]" => (("<a href="" . $this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getAdminLink("AdminEmployees")) . "">"), "[/1]" => "</a>"], "Admin.Catalog.Help");
|
||||
echo "\" ></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id=\"virtual_product\" data-action=\"";
|
||||
// line 81
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_virtual_save_action", ["idProduct" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\" data-action-remove=\"";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_virtual_remove_action", ["idProduct" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\">
|
||||
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-4\">
|
||||
<h2>";
|
||||
// line 85
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</h2>
|
||||
</div>
|
||||
<div class=\"col-md-8\">
|
||||
<fieldset class=\"form-group\">
|
||||
";
|
||||
// line 89
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "is_virtual_file", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id=\"virtual_product_content\" class=\"row col-md-8\">
|
||||
";
|
||||
// line 95
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formVirtualProduct"] ?? null), 'errors');
|
||||
echo "
|
||||
<div class=\"col-md-12\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 98
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "file", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 100
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Upload a file from your computer (%maxUploadSize% max.)", ["%maxUploadSize%" => ($context["max_upload_size"] ?? null)], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
<div id=\"form_step3_virtual_product_file_input\" class=\"";
|
||||
// line 101
|
||||
echo (($this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "vars", [], "any", false, true), "value", [], "any", false, true), "filename", [], "any", true, true)) ? ("hide") : ("show"));
|
||||
echo "\">
|
||||
";
|
||||
// line 102
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "file", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
<div id=\"form_step3_virtual_product_file_details\" class=\"";
|
||||
// line 104
|
||||
echo (($this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "vars", [], "any", false, true), "value", [], "any", false, true), "filename", [], "any", true, true)) ? ("show") : ("hide"));
|
||||
echo "\">
|
||||
<a href=\"";
|
||||
// line 105
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "vars", [], "any", false, true), "value", [], "any", false, true), "file_download_link", [], "any", true, true)) ? ($this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "vars", []), "value", []), "file_download_link", [])) : ("")), "html", null, true);
|
||||
echo "\" class=\"btn btn-default btn-sm download\">";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Download file", [], "Admin.Actions"), "html", null, true);
|
||||
echo "</a>
|
||||
<a href=\"";
|
||||
// line 106
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_virtual_remove_file_action", ["idProduct" => ($context["productId"] ?? null)]), "html", null, true);
|
||||
echo "\" class=\"btn btn-danger btn-sm delete\">";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Delete this file", [], "Admin.Actions"), "html", null, true);
|
||||
echo "</a>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-6\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 112
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "name", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 114
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("The full filename with its extension (e.g. Book.pdf)", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
";
|
||||
// line 115
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "name", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 116
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "name", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-6\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 121
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_downloadable", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 123
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Number of downloads allowed per customer. Set to 0 for unlimited downloads.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
";
|
||||
// line 124
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_downloadable", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 125
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_downloadable", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-6\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 130
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "expiration_date", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 132
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If set, the file will not be downloadable after this date. Leave blank if you do not wish to attach an expiration date.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
";
|
||||
// line 133
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "expiration_date", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 134
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "expiration_date", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-6\">
|
||||
<fieldset class=\"form-group\">
|
||||
<label class=\"form-control-label\">";
|
||||
// line 139
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_days", []), "vars", []), "label", []), "html", null, true);
|
||||
echo "</label>
|
||||
<span class=\"help-box\" data-toggle=\"popover\"
|
||||
data-content=\"";
|
||||
// line 141
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Number of days this file can be accessed by customers. Set to zero for unlimited access.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\" ></span>
|
||||
";
|
||||
// line 142
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_days", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 143
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "nb_days", []), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-12\">
|
||||
";
|
||||
// line 147
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["formVirtualProduct"] ?? null), "save", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 152
|
||||
if ((($context["asm_globally_activated"] ?? null) && ($this->getAttribute($this->getAttribute(($context["formType"] ?? null), "vars", []), "value", []) != "2"))) {
|
||||
// line 153
|
||||
echo " <div class=\"form-group\" id=\"asm_quantity_management\">
|
||||
<label class=\"col-sm-2 control-label\" for=\"form_step3_advanced_stock_management\"></label>
|
||||
<div class=\"col-sm-10\">
|
||||
";
|
||||
// line 156
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formAdvancedStockManagement"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 157
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formAdvancedStockManagement"] ?? null), 'widget');
|
||||
echo "
|
||||
";
|
||||
// line 158
|
||||
if (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "step1", []), "type_product", []), "vars", []), "value", []) == "1")) {
|
||||
// line 159
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("When enabling advanced stock management for a pack, please make sure it is also enabled for its product(s) – if you choose to decrement product quantities.", [], "Admin.Catalog.Notification"), "html", null, true);
|
||||
echo "
|
||||
";
|
||||
}
|
||||
// line 161
|
||||
echo " </div>
|
||||
</div>
|
||||
<div class=\"form-group\" id=\"depends_on_stock_div\" style=\"";
|
||||
// line 163
|
||||
if ( !$this->getAttribute($this->getAttribute(($context["formAdvancedStockManagement"] ?? null), "vars", []), "checked", [])) {
|
||||
echo "display: none;";
|
||||
}
|
||||
echo "\">
|
||||
<label class=\"col-sm-2 control-label\" for=\"form_step3_depends_on_stock\"></label>
|
||||
<div class=\"col-sm-10\">
|
||||
";
|
||||
// line 166
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formDependsOnStocks"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 167
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formDependsOnStocks"] ?? null), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 171
|
||||
echo " ";
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 172
|
||||
echo " <div id=\"pack_stock_type\">
|
||||
<h2>";
|
||||
// line 173
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["formPackStockType"] ?? null), "vars", []), "label", []), "html", null, true);
|
||||
echo "</h2>
|
||||
<div class=\"row col-md-4\">
|
||||
<fieldset class=\"form-group\">
|
||||
";
|
||||
// line 176
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formPackStockType"] ?? null), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 177
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["formPackStockType"] ?? null), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 182
|
||||
echo " ";
|
||||
echo twig_include($this->env, $context, "@Product/ProductPage/Forms/form_combinations.html.twig", ["form" => ($context["formStep3"] ?? null), "form_combination_bulk" => ($context["formCombinations"] ?? null)]);
|
||||
echo "
|
||||
|
||||
";
|
||||
// line 184
|
||||
echo $this->env->getExtension('PrestaShopBundle\Twig\HookExtension')->renderHook("displayAdminProductsQuantitiesStepBottom", ["id_product" => ($context["productId"] ?? null)]);
|
||||
echo "
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Panels/combinations.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 389 => 184, 383 => 182, 375 => 177, 371 => 176, 365 => 173, 362 => 172, 359 => 171, 352 => 167, 348 => 166, 340 => 163, 336 => 161, 330 => 159, 328 => 158, 324 => 157, 320 => 156, 315 => 153, 313 => 152, 305 => 147, 298 => 143, 294 => 142, 290 => 141, 285 => 139, 277 => 134, 273 => 133, 269 => 132, 264 => 130, 256 => 125, 252 => 124, 248 => 123, 243 => 121, 235 => 116, 231 => 115, 227 => 114, 222 => 112, 211 => 106, 205 => 105, 201 => 104, 196 => 102, 192 => 101, 188 => 100, 183 => 98, 177 => 95, 168 => 89, 161 => 85, 152 => 81, 142 => 74, 138 => 73, 134 => 72, 126 => 67, 122 => 66, 118 => 65, 110 => 60, 106 => 59, 102 => 58, 95 => 54, 87 => 49, 83 => 48, 79 => 47, 74 => 45, 71 => 44, 65 => 41, 61 => 40, 57 => 39, 54 => 38, 52 => 37, 46 => 34, 40 => 33, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Panels/combinations.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Panels/combinations.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,96 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/ProductPage/Forms/form_related_products.html.twig */
|
||||
class __TwigTemplate_fa28f209fef5d0de9413573d149ff406b7eabc753ab5eba44a7b7e7a1e5332ae extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "<div id=\"related-content\" class=\"row ";
|
||||
echo (((twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "vars", []), "value", []), "data", [])) == 0)) ? ("hide") : (""));
|
||||
echo "\">
|
||||
<div class=\"col-md-12\">
|
||||
<h2>";
|
||||
// line 27
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Related product", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "</h2>
|
||||
</div>
|
||||
<div class=\"col-xl-8 col-lg-11\">
|
||||
<fieldset class=\"form-group\">
|
||||
";
|
||||
// line 31
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
|
||||
echo "
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class=\"col-md-1\">
|
||||
<fieldset class=\"form-group\">
|
||||
<a class=\"btn tooltip-link delete pl-0 pr-0\" id=\"reset_related_product\"><i class=\"material-icons\">delete</i></a>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"row\">
|
||||
<div class=\"col-md-4\">
|
||||
<button type=\"button\" class=\"btn btn-outline-primary sensitive open ";
|
||||
// line 42
|
||||
echo (((twig_length_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "vars", []), "value", []), "data", [])) > 0)) ? ("hide") : (""));
|
||||
echo "\" id=\"add-related-product-button\">
|
||||
<i class=\"material-icons\">add_circle</i> ";
|
||||
// line 43
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add a related product", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/ProductPage/Forms/form_related_products.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 61 => 43, 57 => 42, 43 => 31, 36 => 27, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/ProductPage/Forms/form_related_products.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_related_products.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,161 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_pagination.html.twig */
|
||||
class __TwigTemplate_09a812489b23a3c5557c8ba78921246b15b798a2617506713979466879e97507 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_preferences_pagination' => [$this, 'block_product_preferences_pagination'],
|
||||
'product_pagination_preferences_form_rest' => [$this, 'block_product_pagination_preferences_form_rest'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
echo "
|
||||
";
|
||||
// line 27
|
||||
$context["ps"] = $this->loadTemplate("@PrestaShop/Admin/macros.html.twig", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_pagination.html.twig", 27);
|
||||
// line 28
|
||||
echo "
|
||||
";
|
||||
// line 29
|
||||
$this->displayBlock('product_preferences_pagination', $context, $blocks);
|
||||
}
|
||||
|
||||
public function block_product_preferences_pagination($context, array $blocks = [])
|
||||
{
|
||||
// line 30
|
||||
echo "<div class=\"col-xl-10\">
|
||||
<div class=\"card\" id=\"configuration_fieldset_order_by_pagination\">
|
||||
<h3 class=\"card-header\">
|
||||
<i class=\"material-icons\">view_headline</i> ";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pagination", [], "Admin.Shopparameters.Feature"), "html", null, true);
|
||||
echo "
|
||||
</h3>
|
||||
<div class=\"card-block row\">
|
||||
<div class=\"card-text\">
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 38
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Products per page", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Number of products displayed per page. Default is 10.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 40
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "products_per_page", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 41
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "products_per_page", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 45
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Default order by", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("The order in which products are displayed in the product list.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 47
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "default_order_by", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 48
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "default_order_by", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"form-group row\">
|
||||
";
|
||||
// line 52
|
||||
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Default order method", [], "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Default order method for product list.", [], "Admin.Shopparameters.Help"));
|
||||
echo "
|
||||
<div class=\"col-sm\">
|
||||
";
|
||||
// line 54
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "default_order_way", []), 'errors');
|
||||
echo "
|
||||
";
|
||||
// line 55
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["paginationForm"] ?? null), "default_order_way", []), 'widget');
|
||||
echo "
|
||||
</div>
|
||||
</div>
|
||||
|
||||
";
|
||||
// line 59
|
||||
$this->displayBlock('product_pagination_preferences_form_rest', $context, $blocks);
|
||||
// line 62
|
||||
echo " </div>
|
||||
</div>
|
||||
<div class=\"card-footer\">
|
||||
<div class=\"d-flex justify-content-end\">
|
||||
<button class=\"btn btn-primary\">";
|
||||
// line 66
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "Admin.Actions"), "html", null, true);
|
||||
echo "</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
// line 59
|
||||
public function block_product_pagination_preferences_form_rest($context, array $blocks = [])
|
||||
{
|
||||
// line 60
|
||||
echo " ";
|
||||
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["paginationForm"] ?? null), 'rest');
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_pagination.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 128 => 60, 125 => 59, 115 => 66, 109 => 62, 107 => 59, 100 => 55, 96 => 54, 91 => 52, 84 => 48, 80 => 47, 75 => 45, 68 => 41, 64 => 40, 59 => 38, 51 => 33, 46 => 30, 40 => 29, 37 => 28, 35 => 27, 32 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/product_preferences_pagination.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Configure/ShopParameters/Blocks/product_preferences_pagination.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,208 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Helpers/dropdown_menu.html.twig */
|
||||
class __TwigTemplate_c7b1e2b680e3335cb47eb150d397ae57e276af9cbede6016f9968620fc6fc296 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
$context["buttonType"] = (((isset($context["buttonType"]) || array_key_exists("buttonType", $context))) ? (_twig_default_filter(($context["buttonType"] ?? null), "primary")) : ("primary"));
|
||||
// line 26
|
||||
$context["right"] = (((isset($context["right"]) || array_key_exists("right", $context))) ? (_twig_default_filter(($context["right"] ?? null), false)) : (false));
|
||||
// line 27
|
||||
echo "
|
||||
<div class=\"";
|
||||
// line 28
|
||||
echo twig_escape_filter($this->env, (((isset($context["div_style"]) || array_key_exists("div_style", $context))) ? (_twig_default_filter(($context["div_style"] ?? null), "btn-group dropdown")) : ("btn-group dropdown")), "html", null, true);
|
||||
echo "\">
|
||||
|
||||
";
|
||||
// line 30
|
||||
if ((isset($context["default_item"]) || array_key_exists("default_item", $context))) {
|
||||
// line 31
|
||||
echo " <a
|
||||
href=\"";
|
||||
// line 32
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "href", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "href", []), "#")) : ("#")), "html", null, true);
|
||||
echo "\"
|
||||
title=\"";
|
||||
// line 33
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "title", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "title", []), (($this->getAttribute(($context["default_item"] ?? null), "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", []), "")) : ("")))) : ((($this->getAttribute(($context["default_item"] ?? null), "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", []), "")) : ("")))), "html", null, true);
|
||||
echo "\"
|
||||
class=\"btn btn-";
|
||||
// line 34
|
||||
echo twig_escape_filter($this->env, ($context["buttonType"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 35
|
||||
if (((isset($context["disabled"]) || array_key_exists("disabled", $context)) && (($context["disabled"] ?? null) == true))) {
|
||||
echo "disabled=\"disabled\"";
|
||||
}
|
||||
// line 36
|
||||
echo " >
|
||||
";
|
||||
// line 37
|
||||
if ($this->getAttribute(($context["default_item"] ?? null), "icon", [])) {
|
||||
// line 38
|
||||
echo " <i class=\"material-icons\">";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute(($context["default_item"] ?? null), "icon", []), "html", null, true);
|
||||
echo "</i>
|
||||
";
|
||||
}
|
||||
// line 40
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", []), "")) : ("")), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
}
|
||||
// line 43
|
||||
echo "
|
||||
<button
|
||||
";
|
||||
// line 45
|
||||
if (($context["button_id"] ?? null)) {
|
||||
echo "id=\"";
|
||||
echo twig_escape_filter($this->env, ($context["button_id"] ?? null), "html", null, true);
|
||||
echo "\"";
|
||||
}
|
||||
// line 46
|
||||
echo " class=\"btn btn-";
|
||||
echo twig_escape_filter($this->env, ($context["buttonType"] ?? null), "html", null, true);
|
||||
echo " dropdown-toggle\"
|
||||
";
|
||||
// line 47
|
||||
if (((isset($context["disabled"]) || array_key_exists("disabled", $context)) && (($context["disabled"] ?? null) == true))) {
|
||||
echo "disabled=\"disabled\"";
|
||||
}
|
||||
// line 48
|
||||
echo " data-toggle=\"dropdown\"
|
||||
>
|
||||
";
|
||||
// line 50
|
||||
echo twig_escape_filter($this->env, (((isset($context["menu_label"]) || array_key_exists("menu_label", $context))) ? (_twig_default_filter(($context["menu_label"] ?? null), "")) : ("")), "html", null, true);
|
||||
echo "
|
||||
<i class=\"";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, (((isset($context["menu_icon"]) || array_key_exists("menu_icon", $context))) ? (_twig_default_filter(($context["menu_icon"] ?? null), "icon-caret-down")) : ("icon-caret-down")), "html", null, true);
|
||||
echo "\"></i>
|
||||
</button>
|
||||
|
||||
<div class=\"dropdown-menu";
|
||||
// line 54
|
||||
if (($context["right"] ?? null)) {
|
||||
echo " dropdown-menu-right";
|
||||
}
|
||||
echo "\">
|
||||
";
|
||||
// line 55
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["entry"]) {
|
||||
// line 56
|
||||
echo " ";
|
||||
if (($this->getAttribute($context["entry"], "divider", [], "any", true, true) && ($this->getAttribute($context["entry"], "divider", []) == true))) {
|
||||
// line 57
|
||||
echo " <div class=\"dropdown-divider\"></div>
|
||||
";
|
||||
} else {
|
||||
// line 59
|
||||
echo " <a
|
||||
class=\"dropdown-item\" href=\"";
|
||||
// line 60
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute($context["entry"], "href", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["entry"], "href", []), "#")) : ("#")), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 61
|
||||
if ($this->getAttribute($context["entry"], "onclick", [], "any", true, true)) {
|
||||
echo "onclick=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "onclick", []), "html", null, true);
|
||||
echo "\"";
|
||||
}
|
||||
// line 62
|
||||
echo " ";
|
||||
if ($this->getAttribute($context["entry"], "target", [], "any", true, true)) {
|
||||
echo "target=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "target", []), "html", null, true);
|
||||
echo "\"";
|
||||
}
|
||||
// line 63
|
||||
echo " >
|
||||
";
|
||||
// line 64
|
||||
if ($this->getAttribute($context["entry"], "icon", [])) {
|
||||
// line 65
|
||||
echo " <i class=\"material-icons\">";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "icon", []), "html", null, true);
|
||||
echo "</i>
|
||||
";
|
||||
}
|
||||
// line 67
|
||||
echo " ";
|
||||
echo twig_escape_filter($this->env, (($this->getAttribute($context["entry"], "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["entry"], "label", []), "")) : ("")), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
}
|
||||
// line 70
|
||||
echo " ";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entry'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 71
|
||||
echo " </div>
|
||||
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Helpers/dropdown_menu.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 175 => 71, 169 => 70, 162 => 67, 156 => 65, 154 => 64, 151 => 63, 144 => 62, 138 => 61, 134 => 60, 131 => 59, 127 => 57, 124 => 56, 120 => 55, 114 => 54, 108 => 51, 104 => 50, 100 => 48, 96 => 47, 91 => 46, 85 => 45, 81 => 43, 74 => 40, 68 => 38, 66 => 37, 63 => 36, 59 => 35, 55 => 34, 51 => 33, 47 => 32, 44 => 31, 42 => 30, 37 => 28, 34 => 27, 32 => 26, 30 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Helpers/dropdown_menu.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Helpers/dropdown_menu.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,403 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @Product/CatalogPage/Lists/products_table.html.twig */
|
||||
class __TwigTemplate_548d908d9798ea34361d02cb9e6bf6b077903aebeb2566581dc0e0082d583928 extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'product_catalog_form_table_header' => [$this, 'block_product_catalog_form_table_header'],
|
||||
'product_catalog_form_table_filters' => [$this, 'block_product_catalog_form_table_filters'],
|
||||
'product_catalog_form_table_items' => [$this, 'block_product_catalog_form_table_items'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 25
|
||||
$context["ps"] = $this->loadTemplate("@PrestaShop/Admin/macros.html.twig", "@Product/CatalogPage/Lists/products_table.html.twig", 25);
|
||||
// line 26
|
||||
echo "<div class=\"table-responsive\">
|
||||
<table
|
||||
class=\"table product mt-3\"
|
||||
redirecturl=\"";
|
||||
// line 29
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_product_catalog", ["limit" => // line 30
|
||||
($context["limit"] ?? null), "offset" => // line 31
|
||||
($context["offset"] ?? null), "orderBy" => // line 32
|
||||
($context["orderBy"] ?? null), "sortOrder" => // line 33
|
||||
($context["sortOrder"] ?? null)]), "html", null, true);
|
||||
// line 35
|
||||
echo "\"
|
||||
>
|
||||
<thead class=\"with-filters\">
|
||||
";
|
||||
// line 38
|
||||
$this->displayBlock('product_catalog_form_table_header', $context, $blocks);
|
||||
// line 84
|
||||
echo "
|
||||
";
|
||||
// line 85
|
||||
$this->displayBlock('product_catalog_form_table_filters', $context, $blocks);
|
||||
// line 199
|
||||
echo " </thead>
|
||||
";
|
||||
// line 200
|
||||
$this->displayBlock('product_catalog_form_table_items', $context, $blocks);
|
||||
// line 210
|
||||
echo " </table>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
|
||||
// line 38
|
||||
public function block_product_catalog_form_table_header($context, array $blocks = [])
|
||||
{
|
||||
// line 39
|
||||
echo " <tr class=\"column-headers\">
|
||||
<th scope=\"col\" style=\"width: 2rem\"></th>
|
||||
<th scope=\"col\" style=\"width: 5rem\">
|
||||
";
|
||||
// line 42
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("ID", [], "Admin.Global"), "id_product", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 45
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Image", [], "Admin.Global"), "html", null, true);
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 48
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Name", [], "Admin.Global"), "name", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\" style=\"width: 9%\">
|
||||
";
|
||||
// line 51
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reference", [], "Admin.Global"), "reference", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\">
|
||||
";
|
||||
// line 54
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Category", [], "Admin.Catalog.Feature"), "name_category", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\" class=\"text-center\" style=\"width: 9%\">
|
||||
";
|
||||
// line 57
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price (tax excl.)", [], "Admin.Catalog.Feature"), "price", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
<th scope=\"col\" class=\"text-center\" style=\"width: 9%\">
|
||||
";
|
||||
// line 60
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price (tax incl.)", [], "Admin.Catalog.Feature"), "html", null, true);
|
||||
echo "
|
||||
</th>
|
||||
|
||||
";
|
||||
// line 63
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 64
|
||||
echo " <th scope=\"col\" class=\"text-center\" style=\"width: 9%\">
|
||||
";
|
||||
// line 65
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Quantity", [], "Admin.Catalog.Feature"), "sav_quantity", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
";
|
||||
} else {
|
||||
// line 68
|
||||
echo " <th></th>
|
||||
";
|
||||
}
|
||||
// line 70
|
||||
echo "
|
||||
<th scope=\"col\" class=\"text-center\">
|
||||
";
|
||||
// line 72
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Status", [], "Admin.Global"), "active", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
";
|
||||
// line 74
|
||||
if ((($context["has_category_filter"] ?? null) == true)) {
|
||||
// line 75
|
||||
echo " <th scope=\"col\">
|
||||
";
|
||||
// line 76
|
||||
echo $context["ps"]->getsortable_column_header($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Position", [], "Admin.Global"), "position", ($context["orderBy"] ?? null), ($context["sortOrder"] ?? null));
|
||||
echo "
|
||||
</th>
|
||||
";
|
||||
}
|
||||
// line 79
|
||||
echo " <th scope=\"col\" class=\"text-right\" style=\"width: 3rem; padding-right: 2rem\">
|
||||
";
|
||||
// line 80
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Actions", [], "Admin.Global"), "html", null, true);
|
||||
echo "
|
||||
</th>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
|
||||
// line 85
|
||||
public function block_product_catalog_form_table_filters($context, array $blocks = [])
|
||||
{
|
||||
// line 86
|
||||
echo " ";
|
||||
$context["filters_disabled"] = ($context["activate_drag_and_drop"] ?? null);
|
||||
// line 87
|
||||
echo " <tr class=\"column-filters\">
|
||||
<th colspan=\"2\">
|
||||
";
|
||||
// line 89
|
||||
$this->loadTemplate("@PrestaShop/Admin/Helpers/range_inputs.html.twig", "@Product/CatalogPage/Lists/products_table.html.twig", 89)->display(twig_array_merge($context, ["input_name" => "filter_column_id_product", "min" => "0", "max" => "1000000", "minLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Min", [], "Admin.Global"), "maxLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Max", [], "Admin.Global"), "value" => // line 95
|
||||
($context["filter_column_id_product"] ?? null), "disabled" => // line 96
|
||||
($context["filters_disabled"] ?? null)]));
|
||||
// line 98
|
||||
echo " </th>
|
||||
<th> </th>
|
||||
<th>
|
||||
<input
|
||||
type=\"text\"
|
||||
class=\"form-control\"
|
||||
placeholder=\"";
|
||||
// line 104
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search name", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
name=\"filter_column_name\"
|
||||
value=\"";
|
||||
// line 106
|
||||
echo twig_escape_filter($this->env, ($context["filter_column_name"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 107
|
||||
if (($context["filters_disabled"] ?? null)) {
|
||||
echo "disabled";
|
||||
}
|
||||
// line 108
|
||||
echo " />
|
||||
</th>
|
||||
<th>
|
||||
<input
|
||||
type=\"text\"
|
||||
class=\"form-control\"
|
||||
placeholder=\"";
|
||||
// line 114
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search ref.", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
name=\"filter_column_reference\"
|
||||
value=\"";
|
||||
// line 116
|
||||
echo twig_escape_filter($this->env, ($context["filter_column_reference"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 117
|
||||
if (($context["filters_disabled"] ?? null)) {
|
||||
echo "disabled";
|
||||
}
|
||||
// line 118
|
||||
echo " />
|
||||
</th>
|
||||
<th>
|
||||
<input
|
||||
type=\"text\"
|
||||
class=\"form-control\"
|
||||
placeholder=\"";
|
||||
// line 124
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search category", [], "Admin.Catalog.Help"), "html", null, true);
|
||||
echo "\"
|
||||
name=\"filter_column_name_category\"
|
||||
value=\"";
|
||||
// line 126
|
||||
echo twig_escape_filter($this->env, ($context["filter_column_name_category"] ?? null), "html", null, true);
|
||||
echo "\"
|
||||
";
|
||||
// line 127
|
||||
if (($context["filters_disabled"] ?? null)) {
|
||||
echo "disabled";
|
||||
}
|
||||
// line 128
|
||||
echo " />
|
||||
</th>
|
||||
<th class=\"text-center\">
|
||||
";
|
||||
// line 131
|
||||
$this->loadTemplate("@PrestaShop/Admin/Helpers/range_inputs.html.twig", "@Product/CatalogPage/Lists/products_table.html.twig", 131)->display(twig_array_merge($context, ["input_name" => "filter_column_price", "min" => "0", "max" => "1000000", "minLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Min", [], "Admin.Global"), "maxLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Max", [], "Admin.Global"), "value" => // line 137
|
||||
($context["filter_column_price"] ?? null), "disabled" => // line 138
|
||||
($context["filters_disabled"] ?? null)]));
|
||||
// line 140
|
||||
echo " </th>
|
||||
<th class=\"text-center\"></th>
|
||||
";
|
||||
// line 142
|
||||
if ($this->env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_STOCK_MANAGEMENT")) {
|
||||
// line 143
|
||||
echo " <th class=\"text-center\">
|
||||
";
|
||||
// line 144
|
||||
$this->loadTemplate("@PrestaShop/Admin/Helpers/range_inputs.html.twig", "@Product/CatalogPage/Lists/products_table.html.twig", 144)->display(twig_array_merge($context, ["input_name" => "filter_column_sav_quantity", "min" => "-1000000", "max" => "1000000", "minLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Min", [], "Admin.Global"), "maxLabel" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Max", [], "Admin.Global"), "value" => // line 150
|
||||
($context["filter_column_sav_quantity"] ?? null), "disabled" => // line 151
|
||||
($context["filters_disabled"] ?? null)]));
|
||||
// line 153
|
||||
echo " </th>
|
||||
";
|
||||
} else {
|
||||
// line 155
|
||||
echo " <th></th>
|
||||
";
|
||||
}
|
||||
// line 157
|
||||
echo "
|
||||
<th id=\"product_filter_column_active\" class=\"text-center\">
|
||||
<div class=\"form-select\">
|
||||
<select class=\"custom-select\" name=\"filter_column_active\" ";
|
||||
// line 160
|
||||
if (($context["filters_disabled"] ?? null)) {
|
||||
echo "disabled";
|
||||
}
|
||||
echo ">
|
||||
<option value=\"\"></option>
|
||||
<option value=\"1\" ";
|
||||
// line 162
|
||||
if (((isset($context["filter_column_active"]) || array_key_exists("filter_column_active", $context)) && (($context["filter_column_active"] ?? null) == "1"))) {
|
||||
echo "selected=\"selected\"";
|
||||
}
|
||||
echo ">Active</option>
|
||||
<option value=\"0\" ";
|
||||
// line 163
|
||||
if (((isset($context["filter_column_active"]) || array_key_exists("filter_column_active", $context)) && (($context["filter_column_active"] ?? null) == "0"))) {
|
||||
echo "selected=\"selected\"";
|
||||
}
|
||||
echo ">Inactive</option>
|
||||
</select>
|
||||
</div>
|
||||
</th>
|
||||
";
|
||||
// line 167
|
||||
if ((($context["has_category_filter"] ?? null) == true)) {
|
||||
// line 168
|
||||
echo " <th>
|
||||
";
|
||||
// line 169
|
||||
if ( !($context["activate_drag_and_drop"] ?? null)) {
|
||||
// line 170
|
||||
echo " <input type=\"button\" class=\"btn btn-outline-secondary\" name=\"products_filter_position_asc\" value=\"";
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reorder", [], "Admin.Actions"), "html", null, true);
|
||||
echo "\" onclick=\"productOrderPrioritiesTable();\" />
|
||||
";
|
||||
} else {
|
||||
// line 172
|
||||
echo " <input type=\"button\" id=\"bulk_edition_save_keep\" class=\"btn\" onclick=\"bulkProductAction(this, 'edition');\" value=\"";
|
||||
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save & refresh", [], "Admin.Actions");
|
||||
echo "\" />
|
||||
";
|
||||
}
|
||||
// line 174
|
||||
echo " </th>
|
||||
";
|
||||
}
|
||||
// line 176
|
||||
echo " <th class=\"text-right\" style=\"width: 5rem\">
|
||||
<button
|
||||
type=\"submit\"
|
||||
class=\"btn btn-primary\"
|
||||
name=\"products_filter_submit\"
|
||||
title=\"";
|
||||
// line 181
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search", [], "Admin.Actions"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
<i class=\"material-icons\">search</i>
|
||||
";
|
||||
// line 184
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search", [], "Admin.Actions"), "html", null, true);
|
||||
echo "
|
||||
</button>
|
||||
<button
|
||||
type=\"reset\"
|
||||
class=\"btn btn-link\"
|
||||
name=\"products_filter_reset\"
|
||||
onclick=\"productColumnFilterReset(\$(this).closest('tr.column-filters'))\"
|
||||
title=\"";
|
||||
// line 191
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reset", [], "Admin.Actions"), "html", null, true);
|
||||
echo "\"
|
||||
>
|
||||
<i class=\"material-icons\">clear</i>
|
||||
";
|
||||
// line 194
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reset", [], "Admin.Actions"), "html", null, true);
|
||||
echo "
|
||||
</button>
|
||||
</th>
|
||||
</tr>
|
||||
";
|
||||
}
|
||||
|
||||
// line 200
|
||||
public function block_product_catalog_form_table_items($context, array $blocks = [])
|
||||
{
|
||||
// line 201
|
||||
echo " ";
|
||||
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("PrestaShopBundle\\Controller\\Admin\\ProductController::listAction", ["limit" => // line 202
|
||||
($context["limit"] ?? null), "offset" => // line 203
|
||||
($context["offset"] ?? null), "orderBy" => // line 204
|
||||
($context["orderBy"] ?? null), "sortOrder" => // line 205
|
||||
($context["sortOrder"] ?? null), "products" => // line 206
|
||||
($context["products"] ?? null), "last_sql" => // line 207
|
||||
($context["last_sql"] ?? null)]));
|
||||
// line 208
|
||||
echo "
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@Product/CatalogPage/Lists/products_table.html.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 372 => 208, 370 => 207, 369 => 206, 368 => 205, 367 => 204, 366 => 203, 365 => 202, 363 => 201, 360 => 200, 351 => 194, 345 => 191, 335 => 184, 329 => 181, 322 => 176, 318 => 174, 312 => 172, 306 => 170, 304 => 169, 301 => 168, 299 => 167, 290 => 163, 284 => 162, 277 => 160, 272 => 157, 268 => 155, 264 => 153, 262 => 151, 261 => 150, 260 => 144, 257 => 143, 255 => 142, 251 => 140, 249 => 138, 248 => 137, 247 => 131, 242 => 128, 238 => 127, 234 => 126, 229 => 124, 221 => 118, 217 => 117, 213 => 116, 208 => 114, 200 => 108, 196 => 107, 192 => 106, 187 => 104, 179 => 98, 177 => 96, 176 => 95, 175 => 89, 171 => 87, 168 => 86, 165 => 85, 157 => 80, 154 => 79, 148 => 76, 145 => 75, 143 => 74, 138 => 72, 134 => 70, 130 => 68, 124 => 65, 121 => 64, 119 => 63, 113 => 60, 107 => 57, 101 => 54, 95 => 51, 89 => 48, 83 => 45, 77 => 42, 72 => 39, 69 => 38, 63 => 210, 61 => 200, 58 => 199, 56 => 85, 53 => 84, 51 => 38, 46 => 35, 44 => 33, 43 => 32, 42 => 31, 41 => 30, 40 => 29, 35 => 26, 33 => 25,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@Product/CatalogPage/Lists/products_table.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/products_table.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,152 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* @PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig */
|
||||
class __TwigTemplate_247f72efa903409a32d1d4ae08e3429a0e151d46f16976712fa8adfdc6414f3b extends \Twig\Template
|
||||
{
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
'payment_methods_module_list' => [$this, 'block_payment_methods_module_list'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
// line 26
|
||||
echo "
|
||||
";
|
||||
// line 27
|
||||
$this->displayBlock('payment_methods_module_list', $context, $blocks);
|
||||
}
|
||||
|
||||
public function block_payment_methods_module_list($context, array $blocks = [])
|
||||
{
|
||||
// line 28
|
||||
echo " ";
|
||||
if ((twig_length_filter($this->env, ($context["paymentModules"] ?? null)) > 0)) {
|
||||
// line 29
|
||||
echo " <div class=\"module-item-list\">
|
||||
";
|
||||
// line 30
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(($context["paymentModules"] ?? null));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["module"]) {
|
||||
// line 31
|
||||
echo " <div class=\"row module-item-wrapper-list border-bottom mb-sm-3\">
|
||||
<div class=\"col-12 col-sm-2 col-md-1 col-lg-1\">
|
||||
<div class=\"module-logo-thumb-list text-center\">
|
||||
<img src=\"";
|
||||
// line 34
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "img", []), "html", null, true);
|
||||
echo "\" alt=\"";
|
||||
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "displayName", []), "html", null, true);
|
||||
echo "\"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=\"col-12 col-sm-6 col-md-8 col-lg-9 pl-0\">
|
||||
<p class=\"mb-0\">
|
||||
";
|
||||
// line 39
|
||||
echo $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "displayName", []);
|
||||
echo "
|
||||
<span class=\"text-muted\">
|
||||
";
|
||||
// line 41
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("v%version% - by %author%", ["%version%" => $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "version", []), "%author%" => $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "author", [])], "Admin.Modules.Feature"), "html", null, true);
|
||||
echo "
|
||||
</span>
|
||||
</p>
|
||||
<p class=\"text-muted\">
|
||||
";
|
||||
// line 45
|
||||
echo $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "description", []);
|
||||
echo "
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
// line 48
|
||||
if ($this->getAttribute($this->getAttribute($context["module"], "attributes", []), "is_configurable", [])) {
|
||||
// line 49
|
||||
echo " <div class=\"col-12 col-sm-4 col-md-3 col-lg-2 mb-3\">
|
||||
<div class=\"text-center\">
|
||||
<a href=\"";
|
||||
// line 51
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_module_configure_action", ["module_name" => $this->getAttribute($this->getAttribute($context["module"], "attributes", []), "name", [])]), "html", null, true);
|
||||
echo "\"
|
||||
class=\"btn btn-primary-reverse btn-outline-primary light-button\"
|
||||
>
|
||||
";
|
||||
// line 54
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Configure", [], "Admin.Global"), "html", null, true);
|
||||
echo "
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
// line 59
|
||||
echo " </div>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 61
|
||||
echo " </div>
|
||||
";
|
||||
} else {
|
||||
// line 63
|
||||
echo " <div class=\"alert alert-warning\" role=\"alert\">
|
||||
<p class=\"alert-text\">
|
||||
";
|
||||
// line 65
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("It seems there are no recommended payment solutions for your country.", [], "Admin.Payment.Notification"), "html", null, true);
|
||||
echo " <br>
|
||||
<a class=\"_blank\" href=\"https://www.prestashop.com/en/contact-us\">";
|
||||
// line 66
|
||||
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Do you think there should be one? Let us know!", [], "Admin.Shipping.Feature"), "html", null, true);
|
||||
echo "</a>
|
||||
</p>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig";
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 122 => 66, 118 => 65, 114 => 63, 110 => 61, 103 => 59, 95 => 54, 89 => 51, 85 => 49, 83 => 48, 77 => 45, 70 => 41, 65 => 39, 55 => 34, 50 => 31, 46 => 30, 43 => 29, 40 => 28, 34 => 27, 31 => 26,);
|
||||
}
|
||||
|
||||
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
||||
public function getSource()
|
||||
{
|
||||
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
||||
|
||||
return $this->getSourceContext()->getCode();
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "@PrestaShop/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/PaymentMethods/Blocks/payment_modules_list.html.twig");
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user