Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,283 @@
<?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/Blocks/payment_preferences_form_block.html.twig */
class __TwigTemplate_22cb30452ca2d6de1f701457e8a6aa0295792fbc6c84e4c2f3f86086e22a5ccb extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'payment_preferences_form' => [$this, 'block_payment_preferences_form'],
'payment_modules_currency_restrictions' => [$this, 'block_payment_modules_currency_restrictions'],
'payment_modules_group_restrictions' => [$this, 'block_payment_modules_group_restrictions'],
'payment_modules_country_restrictions' => [$this, 'block_payment_modules_country_restrictions'],
'payment_modules_carrier_restrictions' => [$this, 'block_payment_modules_carrier_restrictions'],
'payment_preferences_block_rest' => [$this, 'block_payment_preferences_block_rest'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 26
echo "
";
// line 27
$this->displayBlock('payment_preferences_form', $context, $blocks);
}
public function block_payment_preferences_form($context, array $blocks = [])
{
// line 28
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["paymentPreferencesForm"] ?? null), 'form_start');
echo "
";
// line 29
$this->displayBlock('payment_modules_currency_restrictions', $context, $blocks);
// line 55
echo "
";
// line 56
$this->displayBlock('payment_modules_group_restrictions', $context, $blocks);
// line 82
echo "
";
// line 83
$this->displayBlock('payment_modules_country_restrictions', $context, $blocks);
// line 109
echo "
";
// line 110
$this->displayBlock('payment_modules_carrier_restrictions', $context, $blocks);
// line 135
echo "
";
// line 136
$this->displayBlock('payment_preferences_block_rest', $context, $blocks);
// line 139
echo "
";
// line 140
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["paymentPreferencesForm"] ?? null), 'form_end');
echo "
";
}
// line 29
public function block_payment_modules_currency_restrictions($context, array $blocks = [])
{
// line 30
echo " <div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">euro_symbol</i>
";
// line 33
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Currency restrictions", [], "Admin.Payment.Feature"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<p>
<small class=\"form-text\">
";
// line 38
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please mark each checkbox for the currency, or currencies, for which you want the payment module(s) to be available.", [], "Admin.Payment.Help"), "html", null, true);
echo "
</small>
</p>
<div class=\"form-group\">
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["paymentPreferencesForm"] ?? null), "payment_module_preferences", []), "currency_restrictions", []), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">
";
// line 49
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>
";
}
// line 56
public function block_payment_modules_group_restrictions($context, array $blocks = [])
{
// line 57
echo " <div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">group</i>
";
// line 60
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Group restrictions", [], "Admin.Payment.Feature"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<p>
<small class=\"form-text\">
";
// line 65
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please mark each checkbox for the customer group(s), for which you want the payment module(s) to be available.", [], "Admin.Payment.Help"), "html", null, true);
echo "
</small>
</p>
<div class=\"form-group\">
";
// line 70
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["paymentPreferencesForm"] ?? null), "payment_module_preferences", []), "group_restrictions", []), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">
";
// line 76
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>
";
}
// line 83
public function block_payment_modules_country_restrictions($context, array $blocks = [])
{
// line 84
echo " <div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">public</i>
";
// line 87
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Country restrictions", [], "Admin.Payment.Feature"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<p>
<small class=\"form-text\">
";
// line 92
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please mark each checkbox for the country, or countries, in which you want the payment module(s) to be available.", [], "Admin.Payment.Help"), "html", null, true);
echo "
</small>
</p>
<div class=\"form-group\">
";
// line 97
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["paymentPreferencesForm"] ?? null), "payment_module_preferences", []), "country_restrictions", []), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">
";
// line 103
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>
";
}
// line 110
public function block_payment_modules_carrier_restrictions($context, array $blocks = [])
{
// line 111
echo " <div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">local_shipping</i>
";
// line 114
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Carrier restrictions", [], "Admin.Payment.Feature"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<p>
<small class=\"form-text\">
";
// line 119
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please mark each checkbox for the carrier, or carrier, for which you want the payment module(s) to be available.", [], "Admin.Payment.Help"), "html", null, true);
echo "
</small>
</p>
<div class=\"form-group\">
";
// line 123
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["paymentPreferencesForm"] ?? null), "payment_module_preferences", []), "carrier_restrictions", []), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">
";
// line 129
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>
";
}
// line 136
public function block_payment_preferences_block_rest($context, array $blocks = [])
{
// line 137
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["paymentPreferencesForm"] ?? null), 'rest');
echo "
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Improve/Payment/Preferences/Blocks/payment_preferences_form_block.html.twig";
}
public function getDebugInfo()
{
return array ( 255 => 137, 252 => 136, 242 => 129, 233 => 123, 226 => 119, 218 => 114, 213 => 111, 210 => 110, 200 => 103, 191 => 97, 183 => 92, 175 => 87, 170 => 84, 167 => 83, 157 => 76, 148 => 70, 140 => 65, 132 => 60, 127 => 57, 124 => 56, 114 => 49, 105 => 43, 97 => 38, 89 => 33, 84 => 30, 81 => 29, 75 => 140, 72 => 139, 70 => 136, 67 => 135, 65 => 110, 62 => 109, 60 => 83, 57 => 82, 55 => 56, 52 => 55, 50 => 29, 45 => 28, 39 => 27, 36 => 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/Preferences/Blocks/payment_preferences_form_block.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/Preferences/Blocks/payment_preferences_form_block.html.twig");
}
}

File diff suppressed because it is too large Load Diff