Current File : //var/www/prestashop/var/cache/prod/twig/b5/b548707aee5228b4f5e5de8006d9823e.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/Order/Order/Blocks/View/Modal/update_shipping_modal.html.twig */
class __TwigTemplate_056c78e39cb5856f7043f95aa110feaf 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 "
<div class=\"modal fade\" id=\"updateOrderShippingModal\" tabindex=\"-1\" role=\"dialog\">
<div class=\"modal-dialog\" role=\"document\">
";
// line 28
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["updateOrderShippingForm"] ?? null), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_orders_update_shipping", ["orderId" => twig_get_attribute($this->env, $this->source, // line 29
($context["orderForViewing"] ?? null), "id", [], "any", false, false, false, 29)])]);
// line 30
echo "
<div class=\"modal-content\">
<div class=\"modal-header\">
<h5 class=\"modal-title\">";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Edit shipping details", [], "Admin.Orderscustomers.Feature"), "html", null, true);
echo "</h5>
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Close", [], "Admin.Actions"), "html", null, true);
echo "\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div class=\"modal-body\">
";
// line 39
if ( !$this->extensions['PrestaShopBundle\Twig\LayoutExtension']->getConfiguration("PS_ORDER_RECALCULATE_SHIPPING")) {
// line 40
echo " <div class=\"alert alert-info\" role=\"alert\">
<p class=\"alert-text\">
";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please note that carrier change will not recalculate your shipping costs, if you want to change this please visit Shop Parameters > Order Settings", [], "Admin.Orderscustomers.Notification"), "html", null, true);
echo "
</p>
</div>
";
}
// line 46
echo "
<div class=\"form-group\">
<label class=\"form-control-label\" for=\"";
// line 48
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["updateOrderShippingForm"] ?? null), "tracking_number", [], "any", false, false, false, 48), "vars", [], "any", false, false, false, 48), "id", [], "any", false, false, false, 48), "html", null, true);
echo "\">
";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tracking number", [], "Admin.Shipping.Feature"), "html", null, true);
echo "
</label>
";
// line 52
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["updateOrderShippingForm"] ?? null), "tracking_number", [], "any", false, false, false, 52), 'widget');
echo "
</div>
<div class=\"form-group\">
<label class=\"form-control-label\" for=\"";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["updateOrderShippingForm"] ?? null), "new_carrier_id", [], "any", false, false, false, 56), "vars", [], "any", false, false, false, 56), "id", [], "any", false, false, false, 56), "html", null, true);
echo "\">
";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Carrier", [], "Admin.Global"), "html", null, true);
echo "
</label>
";
// line 60
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["updateOrderShippingForm"] ?? null), "new_carrier_id", [], "any", false, false, false, 60), 'widget');
echo "
</div>
<div class=\"d-none\">
";
// line 64
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["updateOrderShippingForm"] ?? null), 'rest');
echo "
</div>
</div>
<div class=\"modal-footer\">
<button type=\"button\" class=\"btn btn-outline-secondary\" data-dismiss=\"modal\">
";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel", [], "Admin.Actions"), "html", null, true);
echo "
</button>
<button type=\"submit\" class=\"btn btn-primary\">
";
// line 72
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Update", [], "Admin.Actions"), "html", null, true);
echo "
</button>
</div>
</div>
";
// line 76
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["updateOrderShippingForm"] ?? null), 'form_end');
echo "
</div>
</div>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Sell/Order/Order/Blocks/View/Modal/update_shipping_modal.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 134 => 76, 127 => 72, 121 => 69, 113 => 64, 106 => 60, 100 => 57, 96 => 56, 89 => 52, 83 => 49, 79 => 48, 75 => 46, 68 => 42, 64 => 40, 62 => 39, 54 => 34, 50 => 33, 45 => 30, 43 => 29, 42 => 28, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Sell/Order/Order/Blocks/View/Modal/update_shipping_modal.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/Modal/update_shipping_modal.html.twig");
}
}