<?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/customsInvoice/bblDocumentsProcessed.html.twig */
class __TwigTemplate_64401a0602f2084d4eb9f0abc5a590de 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>
            Hello,<br /><br />

            The following customs documents have been received from <strong>";
        // line 6
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "declarant", [], "any", false, false, false, 6), "html", null, true);
        yield "</strong> for the export declaration <strong>";
        yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", true, true, false, 6) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", false, false, false, 6)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", false, false, false, 6), "html", null, true)) : ("N/A"));
        yield "</strong> and are attached to this email:<br /><br />

            ";
        // line 8
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "documents", [], "any", false, false, false, 8));
        foreach ($context['_seq'] as $context["_key"] => $context["document"]) {
            // line 9
            yield "                ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["document"], "type", [], "any", false, false, false, 9), "html", null, true);
            yield " — ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["document"], "name", [], "any", false, false, false, 9), "html", null, true);
            yield "<br />
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['document'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 11
        yield "            <br />

            Kind regards,
        </mj-text>
    </mj-column>
</mj-section>
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  71 => 11,  60 => 9,  56 => 8,  49 => 6,  42 => 1,);
    }

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