<?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/expedition/xxl_breaking_control.html.twig */
class __TwigTemplate_834f4496b6ab4d9e9ae4aa0c49759a87 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>
                Une commande XXL vient d\x27être injectée dans Reflex. Merci d\x27analyser les ruptures sur la commande suivante pour valider la disponibilité totale avant lancement.
            </p>

            <table class=\"table table-bordered\" style=\"margin-top: 15px;\">
                <tbody>
                    <tr>
                        <td><strong>Motif Prep (type)</strong></td>
                        <td>XXL</td>
                    </tr>
                    <tr>
                        <td><strong>Commande</strong></td>
                        <td>";
        // line 16
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "orderNumber", [], "any", false, false, false, 16), "html", null, true);
        yield "</td>
                    </tr>
                    <tr>
                        <td><strong>TOULIV</strong></td>
                        <td>";
        // line 20
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "touliv", [], "any", false, false, false, 20), "html", null, true);
        yield "</td>
                    </tr>
                    <tr>
                        <td><strong>Entrepôt de départ</strong></td>
                        <td>";
        // line 24
        yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "warehouseName", [], "any", true, true, false, 24) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "warehouseName", [], "any", false, false, false, 24)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "warehouseName", [], "any", false, false, false, 24), "html", null, true)) : ("N/A"));
        yield "</td>
                    </tr>
                    <tr>
                        <td><strong>Adresse de livraison</strong></td>
                        <td>
                            ";
        // line 29
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "deliveryAddressName", [], "any", false, false, false, 29), "html", null, true);
        yield "<br/>
                            ";
        // line 30
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "deliveryAddressStreet", [], "any", false, false, false, 30), "html", null, true);
        yield "<br/>
                            ";
        // line 31
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "deliveryAddressZipcode", [], "any", false, false, false, 31), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "deliveryAddressCity", [], "any", false, false, false, 31), "html", null, true);
        yield "<br/>
                            ";
        // line 32
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "deliveryAddressCountry", [], "any", false, false, false, 32), "html", null, true);
        yield "
                        </td>
                    </tr>
                    <tr>
                        <td><strong>";
        // line 36
        yield (((($tmp =  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rdvDate", [], "any", false, false, false, 36))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("Date de RDV") : ("Date de livraison estimée"));
        yield "</strong></td>
                        <td>";
        // line 37
        yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rdvDate", [], "any", true, true, false, 37) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rdvDate", [], "any", false, false, false, 37)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "rdvDate", [], "any", false, false, false, 37), "html", null, true)) : ((((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "estimatedDeliveryDate", [], "any", true, true, false, 37) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "estimatedDeliveryDate", [], "any", false, false, false, 37)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "estimatedDeliveryDate", [], "any", false, false, false, 37), "html", null, true)) : ("N/A"))));
        yield "</td>
                    </tr>
                </tbody>
            </table>

            <h3 style=\"margin-top: 20px;\">Informations sur l\x27expédition</h3>
            <table class=\"table table-bordered\">
                <tbody>
                    <tr>
                        <td><strong>Total des colis</strong></td>
                        <td>";
        // line 47
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "totalParcels", [], "any", false, false, false, 47), "html", null, true);
        yield "</td>
                    </tr>
                    <tr>
                        <td><strong>Poids de l\x27expédition</strong></td>
                        <td>";
        // line 51
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "totalWeight", [], "any", false, false, false, 51), 2, ",", " "), "html", null, true);
        yield " kg</td>
                    </tr>
                    <tr>
                        <td><strong>Volume de l\x27expédition</strong></td>
                        <td>";
        // line 55
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "totalVolume", [], "any", false, false, false, 55), 3, ",", " "), "html", null, true);
        yield " m³</td>
                    </tr>
                </tbody>
            </table>
        </mj-text>
    </mj-column>
</mj-section>
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  133 => 55,  126 => 51,  119 => 47,  106 => 37,  102 => 36,  95 => 32,  89 => 31,  85 => 30,  81 => 29,  73 => 24,  66 => 20,  59 => 16,  42 => 1,);
    }

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