var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/4e/4e9864684b24b3773be8b174cdeb1570c6eba9dd57d65c0d5977498f1f3b6f13.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @Storefront/storefront/page/account/order-history/index.html.twig */
  16. class __TwigTemplate_86092ad060206e80856652f080bdc3c495cbca73bd1e47477ae19584da5bc7ee extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'page_account_main_content' => [$this'block_page_account_main_content'],
  26.             'page_account_orders' => [$this'block_page_account_orders'],
  27.             'page_account_orders_welcome' => [$this'block_page_account_orders_welcome'],
  28.             'page_account_orders_welcome_headline' => [$this'block_page_account_orders_welcome_headline'],
  29.             'page_account_orders_main' => [$this'block_page_account_orders_main'],
  30.             'page_account_orders_info_empty' => [$this'block_page_account_orders_info_empty'],
  31.             'page_account_orders_overview' => [$this'block_page_account_orders_overview'],
  32.             'page_account_orders_table' => [$this'block_page_account_orders_table'],
  33.             'page_account_orders_table_body' => [$this'block_page_account_orders_table_body'],
  34.             'page_account_orders_paging' => [$this'block_page_account_orders_paging'],
  35.             'page_account_orders_paging_form' => [$this'block_page_account_orders_paging_form'],
  36.             'page_account_orders_paging_csrf' => [$this'block_page_account_orders_paging_csrf'],
  37.         ];
  38.     }
  39.     protected function doGetParent(array $context)
  40.     {
  41.         // line 2
  42.         return "@Storefront/storefront/page/account/_page.html.twig";
  43.     }
  44.     protected function doDisplay(array $context, array $blocks = [])
  45.     {
  46.         $macros $this->macros;
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/account/order-history/index.html.twig"));
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/account/order-history/index.html.twig"));
  51.         $this->parent $this->loadTemplate("@Storefront/storefront/page/account/_page.html.twig""@Storefront/storefront/page/account/order-history/index.html.twig"2);
  52.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  53.         
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.     }
  58.     // line 3
  59.     public function block_page_account_main_content($context, array $blocks = [])
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_main_content"));
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_main_content"));
  66.         // line 4
  67.         echo "    ";
  68.         $this->displayBlock('page_account_orders'$context$blocks);
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     public function block_page_account_orders($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders"));
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders"));
  81.         // line 5
  82.         echo "        <div class=\"account-orders\">
  83.             ";
  84.         // line 6
  85.         $this->displayBlock('page_account_orders_welcome'$context$blocks);
  86.         // line 14
  87.         echo "
  88.             ";
  89.         // line 15
  90.         $this->displayBlock('page_account_orders_main'$context$blocks);
  91.         // line 76
  92.         echo "        </div>
  93.     ";
  94.         
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  96.         
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  98.     }
  99.     // line 6
  100.     public function block_page_account_orders_welcome($context, array $blocks = [])
  101.     {
  102.         $macros $this->macros;
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_welcome"));
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_welcome"));
  107.         // line 7
  108.         echo "                <div class=\"account-welcome\">
  109.                     ";
  110.         // line 8
  111.         $this->displayBlock('page_account_orders_welcome_headline'$context$blocks);
  112.         // line 12
  113.         echo "                </div>
  114.             ";
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.     }
  120.     // line 8
  121.     public function block_page_account_orders_welcome_headline($context, array $blocks = [])
  122.     {
  123.         $macros $this->macros;
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_welcome_headline"));
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_welcome_headline"));
  128.         // line 9
  129.         echo "                        <h1>";
  130.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.ordersTitle"));
  131.         echo "</h1>
  132.                         <p>";
  133.         // line 10
  134.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.ordersWelcome"));
  135.         echo "</p>
  136.                     ";
  137.         
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  139.         
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  141.     }
  142.     // line 15
  143.     public function block_page_account_orders_main($context, array $blocks = [])
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_main"));
  148.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_main"));
  150.         // line 16
  151.         echo "                <div class=\"account-orders-main\">
  152.                     ";
  153.         // line 17
  154.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "orders", [], "any"falsefalsefalse17), "total", [], "any"falsefalsefalse17), 0))) {
  155.             // line 18
  156.             echo "                        ";
  157.             $this->displayBlock('page_account_orders_info_empty'$context$blocks);
  158.             // line 24
  159.             echo "                    ";
  160.         } else {
  161.             // line 25
  162.             echo "                        ";
  163.             $this->displayBlock('page_account_orders_overview'$context$blocks);
  164.             // line 40
  165.             echo "                        ";
  166.             $this->displayBlock('page_account_orders_paging'$context$blocks);
  167.             // line 73
  168.             echo "                    ";
  169.         }
  170.         // line 74
  171.         echo "                </div>
  172.             ";
  173.         
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.         
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.     }
  178.     // line 18
  179.     public function block_page_account_orders_info_empty($context, array $blocks = [])
  180.     {
  181.         $macros $this->macros;
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_info_empty"));
  184.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  185.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_info_empty"));
  186.         // line 19
  187.         echo "                            ";
  188.         $this->loadTemplate("@Storefront/storefront/utilities/alert.html.twig""@Storefront/storefront/page/account/order-history/index.html.twig"19)->display(twig_array_merge($context, ["type" => "warning""content" => $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("account.ordersInfoEmpty"))]));
  189.         // line 23
  190.         echo "                        ";
  191.         
  192.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  193.         
  194.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  195.     }
  196.     // line 25
  197.     public function block_page_account_orders_overview($context, array $blocks = [])
  198.     {
  199.         $macros $this->macros;
  200.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  201.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_overview"));
  202.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_overview"));
  204.         // line 26
  205.         echo "                            <div class=\"account-orders-overview\">
  206.                                 ";
  207.         // line 27
  208.         $this->displayBlock('page_account_orders_table'$context$blocks);
  209.         // line 38
  210.         echo "                            </div>
  211.                         ";
  212.         
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  214.         
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  216.     }
  217.     // line 27
  218.     public function block_page_account_orders_table($context, array $blocks = [])
  219.     {
  220.         $macros $this->macros;
  221.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_table"));
  223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_table"));
  225.         // line 28
  226.         echo "                                    ";
  227.         $this->displayBlock('page_account_orders_table_body'$context$blocks);
  228.         // line 37
  229.         echo "                                ";
  230.         
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  232.         
  233.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  234.     }
  235.     // line 28
  236.     public function block_page_account_orders_table_body($context, array $blocks = [])
  237.     {
  238.         $macros $this->macros;
  239.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_table_body"));
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_table_body"));
  243.         // line 29
  244.         echo "                                        ";
  245.         $context['_parent'] = $context;
  246.         $context['_seq'] = twig_ensure_traversable(sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "orders", [], "any"falsefalsefalse29));
  247.         $context['loop'] = [
  248.           'parent' => $context['_parent'],
  249.           'index0' => 0,
  250.           'index'  => 1,
  251.           'first'  => true,
  252.         ];
  253.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  254.             $length count($context['_seq']);
  255.             $context['loop']['revindex0'] = $length 1;
  256.             $context['loop']['revindex'] = $length;
  257.             $context['loop']['length'] = $length;
  258.             $context['loop']['last'] = === $length;
  259.         }
  260.         foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
  261.             // line 30
  262.             echo "                                            ";
  263.             // line 31
  264.             echo "                                            <div class=\"";
  265.             if ( !$this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
  266.                 echo "table ";
  267.             }
  268.             echo "order-table\"
  269.                                                  data-order-detail-loader=\"true\">
  270.                                                 ";
  271.             // line 33
  272.             $this->loadTemplate("@Storefront/storefront/page/account/order-history/order-item.html.twig""@Storefront/storefront/page/account/order-history/index.html.twig"33)->display($context);
  273.             // line 34
  274.             echo "                                            </div>
  275.                                         ";
  276.             ++$context['loop']['index0'];
  277.             ++$context['loop']['index'];
  278.             $context['loop']['first'] = false;
  279.             if (isset($context['loop']['length'])) {
  280.                 --$context['loop']['revindex0'];
  281.                 --$context['loop']['revindex'];
  282.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  283.             }
  284.         }
  285.         $_parent $context['_parent'];
  286.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['order'], $context['_parent'], $context['loop']);
  287.         $context array_intersect_key($context$_parent) + $_parent;
  288.         // line 36
  289.         echo "                                    ";
  290.         
  291.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  292.         
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  294.     }
  295.     // line 40
  296.     public function block_page_account_orders_paging($context, array $blocks = [])
  297.     {
  298.         $macros $this->macros;
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging"));
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging"));
  303.         // line 41
  304.         echo "                            ";
  305.         $context["criteria"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "orders", [], "any"falsefalsefalse41), "criteria", [], "any"falsefalsefalse41);
  306.         // line 42
  307.         echo "
  308.                             ";
  309.         // line 43
  310.         $context["totalPages"] = twig_round((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "orders", [], "any"falsefalsefalse43), "total", [], "any"falsefalsefalse43) / sw_get_attribute($this->env$this->source, ($context["criteria"] ?? null), "limit", [], "any"falsefalsefalse43)), 0"ceil");
  311.         // line 44
  312.         echo "
  313.                             ";
  314.         // line 45
  315.         if ((=== twig_compare(($context["totalPages"] ?? null), 1))) {
  316.             // line 46
  317.             echo "                                ";
  318.             $context["formAjaxSubmitOptions"] = ["replaceSelectors" => ".account-orders-main""submitOnChange" => true];
  319.             // line 50
  320.             echo "
  321.                                 ";
  322.             // line 51
  323.             $this->displayBlock('page_account_orders_paging_form'$context$blocks);
  324.             // line 71
  325.             echo "                            ";
  326.         }
  327.         // line 72
  328.         echo "                        ";
  329.         
  330.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  331.         
  332.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  333.     }
  334.     // line 51
  335.     public function block_page_account_orders_paging_form($context, array $blocks = [])
  336.     {
  337.         $macros $this->macros;
  338.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  339.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging_form"));
  340.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  341.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging_form"));
  342.         // line 52
  343.         echo "                                    <div class=\"account-orders-pagination\">
  344.                                         <form class=\"account-orders-pagination-form\"
  345.                                               action=\"";
  346.         // line 54
  347.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend.account.order.page");
  348.         echo "\"
  349.                                               method=\"post\"
  350.                                               data-form-ajax-submit=\"true\"
  351.                                               data-form-ajax-submit-options='";
  352.         // line 57
  353.         echo sw_escape_filter($this->env$this->env->getFilter('json_encode')->getCallable()(($context["formAjaxSubmitOptions"] ?? null)), "html"nulltrue);
  354.         echo "'>
  355.                                             ";
  356.         // line 60
  357.         echo "                                            ";
  358.         $this->displayBlock('page_account_orders_paging_csrf'$context$blocks);
  359.         // line 63
  360.         echo "
  361.                                             ";
  362.         // line 64
  363.         $this->loadTemplate("@Storefront/storefront/component/pagination.html.twig""@Storefront/storefront/page/account/order-history/index.html.twig"64)->display(twig_array_merge($context, ["entities" => sw_get_attribute($this->env$this->source,         // line 65
  364. ($context["page"] ?? null), "orders", [], "any"falsefalsefalse65), "criteria" =>         // line 66
  365. ($context["criteria"] ?? null)]));
  366.         // line 68
  367.         echo "                                        </form>
  368.                                     </div>
  369.                                 ";
  370.         
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  372.         
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  374.     }
  375.     // line 60
  376.     public function block_page_account_orders_paging_csrf($context, array $blocks = [])
  377.     {
  378.         $macros $this->macros;
  379.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging_csrf"));
  381.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_account_orders_paging_csrf"));
  383.         // line 61
  384.         echo "                                                ";
  385.         echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder("frontend.account.order.page");
  386.         echo "
  387.                                             ";
  388.         
  389.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  390.         
  391.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  392.     }
  393.     public function getTemplateName()
  394.     {
  395.         return "@Storefront/storefront/page/account/order-history/index.html.twig";
  396.     }
  397.     public function isTraitable()
  398.     {
  399.         return false;
  400.     }
  401.     public function getDebugInfo()
  402.     {
  403.         return array (  452 => 61,  442 => 60,  430 => 68,  428 => 66,  427 => 65,  426 => 64,  423 => 63,  420 => 60,  415 => 57,  409 => 54,  405 => 52,  395 => 51,  385 => 72,  382 => 71,  380 => 51,  377 => 50,  374 => 46,  372 => 45,  369 => 44,  367 => 43,  364 => 42,  361 => 41,  351 => 40,  341 => 36,  326 => 34,  324 => 33,  316 => 31,  314 => 30,  296 => 29,  286 => 28,  276 => 37,  273 => 28,  263 => 27,  252 => 38,  250 => 27,  247 => 26,  237 => 25,  227 => 23,  224 => 19,  214 => 18,  203 => 74,  200 => 73,  197 => 40,  194 => 25,  191 => 24,  188 => 18,  186 => 17,  183 => 16,  173 => 15,  161 => 10,  156 => 9,  146 => 8,  135 => 12,  133 => 8,  130 => 7,  120 => 6,  109 => 76,  107 => 15,  104 => 14,  102 => 6,  99 => 5,  79 => 4,  69 => 3,  46 => 2,);
  404.     }
  405.     public function getSourceContext()
  406.     {
  407.         return new Source("{% sw_extends '@Storefront/storefront/page/account/_page.html.twig' %}
  408. {% block page_account_main_content %}
  409.     {% block page_account_orders %}
  410.         <div class=\"account-orders\">
  411.             {% block page_account_orders_welcome %}
  412.                 <div class=\"account-welcome\">
  413.                     {% block page_account_orders_welcome_headline %}
  414.                         <h1>{{ \"account.ordersTitle\"|trans|sw_sanitize }}</h1>
  415.                         <p>{{ \"account.ordersWelcome\"|trans|sw_sanitize }}</p>
  416.                     {% endblock %}
  417.                 </div>
  418.             {% endblock %}
  419.             {% block page_account_orders_main %}
  420.                 <div class=\"account-orders-main\">
  421.                     {% if page.orders.total == 0 %}
  422.                         {% block page_account_orders_info_empty %}
  423.                             {% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
  424.                                 type: \"warning\",
  425.                                 content: \"account.ordersInfoEmpty\"|trans|sw_sanitize
  426.                             } %}
  427.                         {% endblock %}
  428.                     {% else %}
  429.                         {% block page_account_orders_overview %}
  430.                             <div class=\"account-orders-overview\">
  431.                                 {% block page_account_orders_table %}
  432.                                     {% block page_account_orders_table_body %}
  433.                                         {% for order in page.orders %}
  434.                                             {# @deprecated tag:v6.5.0 - Bootstrap v5 `.table` class will be removed because it adds unneeded styling. #}
  435.                                             <div class=\"{% if not feature('v6.5.0.0') %}table {% endif %}order-table\"
  436.                                                  data-order-detail-loader=\"true\">
  437.                                                 {% sw_include '@Storefront/storefront/page/account/order-history/order-item.html.twig' %}
  438.                                             </div>
  439.                                         {% endfor %}
  440.                                     {% endblock %}
  441.                                 {% endblock %}
  442.                             </div>
  443.                         {% endblock %}
  444.                         {% block page_account_orders_paging %}
  445.                             {% set criteria = page.orders.criteria %}
  446.                             {% set totalPages = (page.orders.total/criteria.limit)|round(0,'ceil') %}
  447.                             {% if totalPages > 1 %}
  448.                                 {% set formAjaxSubmitOptions = {
  449.                                     replaceSelectors: \".account-orders-main\",
  450.                                     submitOnChange: true
  451.                                 } %}
  452.                                 {% block page_account_orders_paging_form %}
  453.                                     <div class=\"account-orders-pagination\">
  454.                                         <form class=\"account-orders-pagination-form\"
  455.                                               action=\"{{ path('frontend.account.order.page') }}\"
  456.                                               method=\"post\"
  457.                                               data-form-ajax-submit=\"true\"
  458.                                               data-form-ajax-submit-options='{{ formAjaxSubmitOptions|json_encode }}'>
  459.                                             {# @deprecated tag:v6.5.0 - Block page_account_orders_paging_csrf will be removed. #}
  460.                                             {% block page_account_orders_paging_csrf %}
  461.                                                 {{ sw_csrf('frontend.account.order.page') }}
  462.                                             {% endblock %}
  463.                                             {% sw_include '@Storefront/storefront/component/pagination.html.twig' with {
  464.                                                 entities: page.orders,
  465.                                                 criteria: criteria
  466.                                             }  %}
  467.                                         </form>
  468.                                     </div>
  469.                                 {% endblock %}
  470.                             {% endif %}
  471.                         {% endblock %}
  472.                     {% endif %}
  473.                 </div>
  474.             {% endblock %}
  475.         </div>
  476.     {% endblock %}
  477. {% endblock %}
  478. ""@Storefront/storefront/page/account/order-history/index.html.twig""/home/fasflpog/shopware/vendor/shopware/storefront/Resources/views/storefront/page/account/order-history/index.html.twig");
  479.     }
  480. }