Current File : //var/www/prestashop/var/cache/prod/twig/8c/8c6b3551d9a585ea54fc7b03cde1dfac.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/product_list.html.twig */
class __TwigTemplate_7d9c4ba76924313cbd1b5b0af88f1321 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
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["orderForViewing"] ?? null), "products", [], "any", false, false, false, 25), "products", [], "any", false, false, false, 25));
$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 26
echo " ";
$this->loadTemplate("@PrestaShop/Admin/Sell/Order/Order/Blocks/View/product.html.twig", "@PrestaShop/Admin/Sell/Order/Order/Blocks/View/product_list.html.twig", 26)->display(twig_array_merge($context, ["product" => // line 27
$context["product"], "productIndex" => twig_get_attribute($this->env, $this->source, // line 28
$context["loop"], "index", [], "any", false, false, false, 28), "paginationNum" => // line 29
($context["paginationNum"] ?? null), "isColumnLocationDisplayed" => // line 30
($context["isColumnLocationDisplayed"] ?? null), "isColumnRefundedDisplayed" => // line 31
($context["isColumnRefundedDisplayed"] ?? null), "isAvailableQuantityDisplayed" => // line 32
($context["isAvailableQuantityDisplayed"] ?? null)]));
++$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['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Sell/Order/Order/Blocks/View/product_list.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 61 => 32, 60 => 31, 59 => 30, 58 => 29, 57 => 28, 56 => 27, 54 => 26, 37 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Sell/Order/Order/Blocks/View/product_list.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/product_list.html.twig");
}
}