<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;

/* Mail/mjml/content/reflex/expedition_partial.html.twig */
class __TwigTemplate_a19b8e76e70ef8e3c506a6dc61c7ec64 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $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 = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield "<mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"10px\">
    <mj-column>
        <mj-text>
            <p>Bonjour,</p>
            <p>Suite à des erreurs de préparation à notre entrepôt, notre chargement ";
        // line 5
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "numtou", [], "any", false, false, false, 5), "html", null, true);
        yield " parti à ce jour à destination de votre agence contient des commandes incomplètes, merci d’attendre les instructions de Vente-unique avant de les mettre en livraison.</p>
            <p>Vous trouverez également plus bas les régulations faites sur les commandes partielles des chargements précédents.</p>

            <p style=\x27text-decoration: underline;\x27>Volumétrie du chargement :</p>
            <ul>
                <li>Volume : ";
        // line 10
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "cbm", [], "any", false, false, false, 10), "html", null, true);
        yield " m3</li>
                <li>Nombre de commande : ";
        // line 11
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "nbExpedition", [], "any", false, false, false, 11), "html", null, true);
        yield "</li>
                <li>Quantité de colis commandée : ";
        // line 12
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "nbParcel", [], "any", false, false, false, 12), "html", null, true);
        yield "</li>
                <li>Colis en Reste à expédier : ";
        // line 13
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "nbRae", [], "any", false, false, false, 13), "html", null, true);
        yield "</li>
                <li>Colis Régulés : ";
        // line 14
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "nbCompleted", [], "any", false, false, false, 14), "html", null, true);
        yield "</li>
            </ul>

            ";
        // line 17
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "partials", [], "any", false, false, false, 17)) > 0)) {
            // line 18
            yield "                <h3 style=\x27text-decoration: underline;\x27>Liste des ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "partials", [], "any", false, false, false, 18)), "html", null, true);
            yield " commandes incomplètes :</h3>

                ";
            // line 20
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "partials", [], "any", false, false, false, 20));
            foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
                // line 21
                yield "                    <p>Numéro commande : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "code_teliae", [], "any", false, false, false, 21), "html", null, true);
                yield "<br/>Nom du client : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "customer", [], "any", false, false, false, 21), "html", null, true);
                yield "

                    ";
                // line 23
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["order"], "slot", [], "any", false, false, false, 23)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 24
                    yield "                        <h3 style=\"color: red;\">Créneau : ";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "slot", [], "any", false, false, false, 24), "html", null, true);
                    yield "</h3>
                    ";
                }
                // line 26
                yield "                    </p>

                    <table class=\"table table-striped\" border=\"1\">
                        <thead>
                        <tr>
                            <th>Code produit</th>
                            <th>Désignation</th>
                            <th>Qté commandée</th>
                            <th>Qté expédiée</th>
                            <th>Type</th>
                        </tr>
                        </thead>
                        <tbody>
                        ";
                // line 39
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "parcels", [], "any", false, false, false, 39));
                foreach ($context['_seq'] as $context["_key"] => $context["parcel"]) {
                    // line 40
                    yield "                            <tr>
                                <td>";
                    // line 41
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "id", [], "any", false, false, false, 41), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 42
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "title", [], "any", false, false, false, 42), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 43
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "quantityOrdered", [], "any", false, false, false, 43), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 44
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "quantityShipped", [], "any", false, false, false, 44), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 45
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "type", [], "any", false, false, false, 45), "html", null, true);
                    yield "</td>
                            </tr>
                        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['parcel'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 48
                yield "                        </tbody>
                    </table>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['order'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 51
            yield "            ";
        }
        // line 52
        yield "
            ";
        // line 53
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "completed", [], "any", false, false, false, 53)) > 0)) {
            // line 54
            yield "                <h3 style=\x27text-decoration: underline;\x27>Liste des ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "completed", [], "any", false, false, false, 54)), "html", null, true);
            yield " commandes régulées :</h3>

                ";
            // line 56
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "completed", [], "any", false, false, false, 56));
            foreach ($context['_seq'] as $context["_key"] => $context["order"]) {
                // line 57
                yield "                    <p>Numéro commande : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "code_teliae", [], "any", false, false, false, 57), "html", null, true);
                yield "<br/>Nom du client : ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "customer", [], "any", false, false, false, 57), "html", null, true);
                yield "

                    ";
                // line 59
                if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["order"], "slot", [], "any", false, false, false, 59)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
                    // line 60
                    yield "                        <h3 style=\"color: red;\">Créneau : ";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "slot", [], "any", false, false, false, 60), "html", null, true);
                    yield "</h3>
                    ";
                }
                // line 62
                yield "                    </p>

                    <table class=\"table table-striped\" border=\"1\">
                        <thead>
                        <tr>
                            <th>Code produit</th>
                            <th>Désignation</th>
                            <th>Num chargement</th>
                            <th>Date expédition</th>
                            <th>Colis régulé</th>
                        </tr>
                        </thead>
                        <tbody>
                        ";
                // line 75
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["order"], "parcels", [], "any", false, false, false, 75));
                foreach ($context['_seq'] as $context["_key"] => $context["parcel"]) {
                    // line 76
                    yield "                            <tr>
                                <td>";
                    // line 77
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "id", [], "any", false, false, false, 77), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 78
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "title", [], "any", false, false, false, 78), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 79
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "numtou", [], "any", false, false, false, 79), "html", null, true);
                    yield "</td>
                                <td>";
                    // line 80
                    yield (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "date", [], "any", false, false, false, 80)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "date", [], "any", false, false, false, 80), "d/m/Y"), "html", null, true)) : (""));
                    yield "</td>
                                <td>";
                    // line 81
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["parcel"], "quantity", [], "any", false, false, false, 81), "html", null, true);
                    yield "</td>
                            </tr>
                        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['parcel'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 84
                yield "                        </tbody>
                    </table>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['order'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 87
            yield "            ";
        }
        // line 88
        yield "        </mj-text>
    </mj-column>
</mj-section>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "Mail/mjml/content/reflex/expedition_partial.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  253 => 88,  250 => 87,  242 => 84,  233 => 81,  229 => 80,  225 => 79,  221 => 78,  217 => 77,  214 => 76,  210 => 75,  195 => 62,  189 => 60,  187 => 59,  179 => 57,  175 => 56,  169 => 54,  167 => 53,  164 => 52,  161 => 51,  153 => 48,  144 => 45,  140 => 44,  136 => 43,  132 => 42,  128 => 41,  125 => 40,  121 => 39,  106 => 26,  100 => 24,  98 => 23,  90 => 21,  86 => 20,  80 => 18,  78 => 17,  72 => 14,  68 => 13,  64 => 12,  60 => 11,  56 => 10,  48 => 5,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "Mail/mjml/content/reflex/expedition_partial.html.twig", "/var/www/fulfillment/api/templates/Mail/mjml/content/reflex/expedition_partial.html.twig");
    }
}
