<?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;

/* pdf/customs_tax_exemption_certificate.html.twig */
class __TwigTemplate_3e55226288f3f5a50520b05a045c5f82 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 "<!doctype html>
<html lang=\"fr\">
    <head>
        <meta charset=\"UTF-8\">
        <title>Attestation de Franchise</title>
        <style>
            body {
                font-family: Arial, sans-serif;
                font-size: 12pt;
                margin: 20px;
            }
            h1 {
                text-align: center;
                text-decoration: underline;
            }
            li {
                margin-bottom: 20px;
            }
            li > strong {
                margin-top: 5px;
            }
            p {
                margin-bottom: 15px;
            }
            strong {
                font-weight: bold;
                font-size: 14pt;
                margin: 5px 0;
            }
            #signature-section {
                margin-top: 15px;
                float: right;
            }
            #signature {
                width: 200px;
                height: auto;
            }
        </style>
    </head>
    <body>
        <h1>Attestation de Franchise</h1>
        <p>Je soussigné:<br/>(nom, adresse, raison sociale)</p>
        <p><strong>";
        // line 43
        yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "importerAddress", [], "any", false, false, false, 43), "html", null, true));
        yield "</strong></p>
        <p>Destinataire des marchandises réimportées suivantes:</p>
        <ul>
            <li>
                N° de colis:<br/>
                <strong>";
        // line 48
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "importedParcelCount", [], "any", false, false, false, 48), "html", null, true);
        yield " Colis conformément au document annexé</strong>
            </li>

            <li>
                Description de la marchandise:<br/>
                <strong>";
        // line 53
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "goodsDescription", [], "any", false, false, false, 53), "html", null, true);
        yield "</strong>
            </li>

            <li>
                Motif de retour de la marchandise:<br/>
                <strong>";
        // line 58
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "reasonForReturn", [], "any", false, false, false, 58), "html", null, true);
        yield "</strong>
            </li>

            <li>
                Adresse du centre des impôts (de l\x27expéditeur):<br/>
                <strong>";
        // line 63
        yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "taxOfficeAddress", [], "any", false, false, false, 63), "html", null, true));
        yield "</strong>
            </li>

            <li>
                N° EORI (de l\x27expéditeur): <strong>";
        // line 67
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "EORINumber", [], "any", false, false, false, 67), "html", null, true);
        yield "</strong>
            </li>
        </ul>

        <p>
            Certifie sous les peines de droit que ces marchandises n\x27ont pas été modifiées ni transformées à l\x27étranger, à l\x27exception des opérations de manutention, de stockage ou de transport nécessaires à leur conservation en bon état.
        </p>

        <p>
            Je sollicite, en conséquence, la réimportation des taxes sur le chiffre d\x27affaires.
        </p>

        <div id=\"signature-section\">
            <p>
                Fait à <strong>";
        // line 81
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "placeOfIssue", [], "any", false, false, false, 81), "html", null, true);
        yield "</strong><br/>
                le <strong>";
        // line 82
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "dateOfIssue", [], "any", false, false, false, 82), "d/m/Y"), "html", null, true);
        yield "</strong>
            </p>

            <p>
                Cachet commercial / Signature (obligatoire)
            </p>

            <img
                src=\"";
        // line 90
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl(CoreExtension::getAttribute($this->env, $this->source, ($context["certificate"] ?? null), "signatureImagePath", [], "any", false, false, false, 90)), "html", null, true);
        yield "\"
                alt=\"Signature\"
                id=\"signature\"
            />
        </div>  
    </body>
</html>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "pdf/customs_tax_exemption_certificate.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  157 => 90,  146 => 82,  142 => 81,  125 => 67,  118 => 63,  110 => 58,  102 => 53,  94 => 48,  86 => 43,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "pdf/customs_tax_exemption_certificate.html.twig", "/var/www/fulfillment/api/templates/pdf/customs_tax_exemption_certificate.html.twig");
    }
}
