Current File : //var/www/prestashop/var/cache/prod/twig/c3/c3a15245e73fa2b67588b01e247c0bc7.php |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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/Sell/Customer/Blocks/delete_modal.html.twig */
class __TwigTemplate_545b80e56b00581eb5e87b3762183dd9 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 25
echo "
";
// line 26
$this->loadTemplate("@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig", "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig", 26, "1976477134")->display(twig_array_merge($context, ["id" => (twig_get_attribute($this->env, $this->source, // line 27
($context["grid"] ?? null), "id", [], "any", false, false, false, 27) . "_grid_delete_customers_modal"), "title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("How do you want to delete the selected customers?", [], "Admin.Orderscustomers.Notification"), "closable" => true, "closeLabel" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel", [], "Admin.Actions"), "actions" => [0 => ["type" => "button", "label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Delete", [], "Admin.Actions"), "class" => "btn btn-danger btn-lg js-submit-delete-customers"]]]));
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 41 => 27, 40 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/Blocks/delete_modal.html.twig");
}
}
/* @PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig */
class __TwigTemplate_545b80e56b00581eb5e87b3762183dd9___1976477134 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'delete_customers_form' => [$this, 'block_delete_customers_form'],
];
}
protected function doGetParent(array $context)
{
// line 26
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig", 26);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 37
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 38
echo " <div class=\"modal-body\">
<p>";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("There are two ways of deleting a customer. Please choose your preferred method.", [], "Admin.Orderscustomers.Notification"), "html", null, true);
echo "</p>
";
// line 40
$this->displayBlock('delete_customers_form', $context, $blocks);
// line 53
echo " </div>
";
}
// line 40
public function block_delete_customers_form($context, array $blocks = [])
{
$macros = $this->macros;
// line 41
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["deleteCustomersForm"] ?? null), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_customers_index"), "method" => "post"]);
echo "
<div class=\"form-group mb-0\">
";
// line 44
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["deleteCustomersForm"] ?? null), "delete_method", [], "any", false, false, false, 44), 'widget');
echo "
</div>
<div class=\"d-none\">
";
// line 48
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["deleteCustomersForm"] ?? null), "customers_to_delete", [], "any", false, false, false, 48), 'widget');
echo "
</div>
";
// line 51
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["deleteCustomersForm"] ?? null), 'form_end');
echo "
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 140 => 51, 134 => 48, 127 => 44, 120 => 41, 116 => 40, 111 => 53, 109 => 40, 105 => 39, 102 => 38, 98 => 37, 87 => 26, 41 => 27, 40 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Sell/Customer/Blocks/delete_modal.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/Blocks/delete_modal.html.twig");
}
}