Deprecated: Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256

Deprecated: Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261

Deprecated: Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268

Deprecated: Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278

Deprecated: Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22

Deprecated: Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38

Deprecated: Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30

Deprecated: Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43

Deprecated: Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14

Deprecated: Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler

var/cache/dev/twig/5c/5cbdee05381ff557bca6e9f5abbf3bee6d870ee5c00a461e2336186a655b35f2.php line 428

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/tender_recipients.html.twig */
  14. class __TwigTemplate_0c0be17b8c3b2065bc5a23016c484d82e27996eb73718e3f329abe461774f67f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_decription' => [$this'block_meta_decription'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'layout' => [$this'block_layout'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/tender_recipients.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/tender_recipients.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""frontend/tender_recipients.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         // line 3
  57.         echo "        ";
  58.         $context["metaTitle"] = "SANRAL SMME Tenders - Building South Africa Through Better Roads";
  59.         // line 4
  60.         echo "        ";
  61.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'4$this->source); })()), "html"nulltrue);
  62.         echo "
  63.     ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 6
  70.     public function block_meta_decription($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  77.         // line 7
  78.         echo "        ";
  79.         $context["metaTitle"] = "SANRAL SMME Tenders - Building South Africa Through Better Roads";
  80.         // line 8
  81.         echo "        ";
  82.         $context["metaDescription"] = "Building South Africa Through Better Roads";
  83.         // line 9
  84.         echo "        <meta name=\"twitter:card\" content=\"summary\" />
  85.         <meta name=\"twitter:site\" content=\"Sanral\" />
  86.         <meta name=\"twitter:title\" content=\"";
  87.         // line 11
  88.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'11$this->source); })()), "html"nulltrue);
  89.         echo "\" />
  90.         <meta name=\"twitter:description\" content=\"";
  91.         // line 12
  92.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'12$this->source); })()), "html"nulltrue);
  93.         echo "\" />
  94. ";
  95.         // line 14
  96.         echo "        <meta name=\"twitter:url\" content=\"";
  97.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "uri", [], "any"falsefalsefalse14), "html"nulltrue);
  98.         echo "\" />
  99. ";
  100.         // line 17
  101.         echo "        <meta name=\"og:title\" content=\"";
  102.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'17$this->source); })()), "html"nulltrue);
  103.         echo "\" />
  104.         <meta name=\"og:description\" content=\"";
  105.         // line 18
  106.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'18$this->source); })()), "html"nulltrue);
  107.         echo "\" />
  108.         <meta name=\"og:url\" content=\"";
  109.         // line 19
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "uri", [], "any"falsefalsefalse19), "html"nulltrue);
  111.         echo "\" />
  112.         <meta name=\"description\" content=\"";
  113.         // line 20
  114.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'20$this->source); })()), "html"nulltrue);
  115.         echo "\">
  116.     ";
  117.         
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  119.         
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  121.     }
  122.     // line 22
  123.     public function block_stylesheets($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  130.         // line 23
  131.         echo "        ";
  132.         $this->displayParentBlock("stylesheets"$context$blocks);
  133.         echo "
  134.     ";
  135.         
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  137.         
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  139.     }
  140.     // line 26
  141.     public function block_layout($context, array $blocks = [])
  142.     {
  143.         $macros $this->macros;
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  148.         // line 27
  149.         echo "        <div id=\"content-wrapper\" class=\"container-fluid\">
  150.             <div class=\"container-fluid\">
  151.                 <div class=\"px-3\">
  152.                     <!-- Desktop -->
  153.                     <div class=\"d-none d-md-flex row my-4\">
  154.                         <div class=\"col-12 col-md-8 pl-0\">
  155.                             <div class=\"row mx-0\">
  156.                                 <div class=\"col-md-3 pl-0\">
  157.                                     <div class=\"single-tender-region\" style=\"background-image: url(";
  158.         // line 35
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/regions/" twig_get_attribute($this->env$this->source, (isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'35$this->source); })()), "thumbnail", [], "any"falsefalsefalse35))), "html"nulltrue);
  160.         echo ")\"></div>
  161.                                     <div class=\"single-tender-meta\">";
  162.         // line 36
  163.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'36$this->source); })()), "Region", [], "any"falsefalsefalse36), "html"nulltrue);
  164.         echo "</div>
  165.                                 </div>
  166.                                 <div class=\"col-md-3 pl-0 text-center\">
  167.                                     <div class=\"single-tender-sector mx-auto\" style=\"background-image: url(";
  168.         // line 39
  169.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/categories/" twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'39$this->source); })()), "thumbnail", [], "any"falsefalsefalse39))), "html"nulltrue);
  170.         echo ")\"></div>
  171.                                     <div class=\"single-tender-meta\">";
  172.         // line 40
  173.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'40$this->source); })()), "category", [], "any"falsefalsefalse40), "html"nulltrue);
  174.         echo "</div>
  175.                                 </div>
  176.                                 ";
  177.         // line 42
  178.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'42$this->source); })()), "grade", [], "any"falsefalsefalse42))) {
  179.             // line 43
  180.             echo "                                <div class=\"col-md-6 pl-0 text-center\">
  181.                                     <div class=\"single-tender-grade mx-auto text-white\">
  182.                                         <span class=\"cidb-inner\">
  183.                                             ";
  184.             // line 46
  185.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'46$this->source); })()), "grade", [], "any"falsefalsefalse46), "html"nulltrue);
  186.             echo "
  187.                                         </span>
  188.                                     </div>
  189.                                     <div class=\"single-tender-meta\">CIDB Grade ";
  190.             // line 49
  191.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'49$this->source); })()), "grade", [], "any"falsefalsefalse49), "html"nulltrue);
  192.             echo "</div>
  193.                                 </div>
  194.                                 ";
  195.         }
  196.         // line 52
  197.         echo "                            </div>
  198.                         </div>
  199.                         <div class=\"col-12 col-md-4\">
  200.                             ";
  201.         // line 55
  202.         if (((isset($context["documents"]) || array_key_exists("documents"$context) ? $context["documents"] : (function () { throw new RuntimeError('Variable "documents" does not exist.'55$this->source); })()) != 0)) {
  203.             // line 56
  204.             echo "                                <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\"  data-toggle=\"modal\" data-target=\"#modalDownload\">
  205.                                     Download Tender Document(s)
  206.                                 </a>
  207.                             ";
  208.         }
  209.         // line 60
  210.         echo "                        </div>
  211.                     </div>
  212.                     <!-- Mobile -->
  213.                     <div class=\"d-flex d-md-none row\">
  214.                         <div class=\"col-12 pl-0 text-center\">
  215.                             <div class=\"single-tender-region\" style=\"background-image: url(";
  216.         // line 66
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/regions/" twig_get_attribute($this->env$this->source, (isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'66$this->source); })()), "thumbnail", [], "any"falsefalsefalse66))), "html"nulltrue);
  218.         echo ");background-position: center\"></div>
  219.                             <div class=\"single-tender-meta\">";
  220.         // line 67
  221.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'67$this->source); })()), "Region", [], "any"falsefalsefalse67), "html"nulltrue);
  222.         echo "</div>
  223.                         </div>
  224.                         <div class=\"col-12 pl-0 text-center\">
  225.                             <div class=\"single-tender-sector mx-auto\" style=\"background-image: url(";
  226.         // line 70
  227.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/categories/" twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'70$this->source); })()), "thumbnail", [], "any"falsefalsefalse70))), "html"nulltrue);
  228.         echo ")\"></div>
  229.                             <div class=\"single-tender-meta\">";
  230.         // line 71
  231.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'71$this->source); })()), "category", [], "any"falsefalsefalse71), "html"nulltrue);
  232.         echo "</div>
  233.                         </div>
  234.                         ";
  235.         // line 73
  236.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'73$this->source); })()), "grade", [], "any"falsefalsefalse73))) {
  237.             // line 74
  238.             echo "                            <div class=\"col-12 pl-0 text-center\">
  239.                                 <div class=\"single-tender-grade mx-auto text-white\">
  240.                                         <span class=\"cidb-inner\">
  241.                                             ";
  242.             // line 77
  243.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'77$this->source); })()), "grade", [], "any"falsefalsefalse77), "html"nulltrue);
  244.             echo "
  245.                                         </span>
  246.                                 </div>
  247.                                 <div class=\"single-tender-meta\">CIDB Grade ";
  248.             // line 80
  249.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'80$this->source); })()), "grade", [], "any"falsefalsefalse80), "html"nulltrue);
  250.             echo "</div>
  251.                             </div>
  252.                         ";
  253.         }
  254.         // line 83
  255.         echo "                        <div class=\"col-12\">
  256.                             ";
  257.         // line 84
  258.         if (((isset($context["documents"]) || array_key_exists("documents"$context) ? $context["documents"] : (function () { throw new RuntimeError('Variable "documents" does not exist.'84$this->source); })()) != 0)) {
  259.             // line 85
  260.             echo "                                <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\"  data-toggle=\"modal\" data-target=\"#modalDownload\">
  261.                                     Download Tender Document(s)
  262.                                 </a>
  263.                             ";
  264.         }
  265.         // line 89
  266.         echo "                        </div>
  267.                     </div>
  268.                     <div class=\"row\">
  269.                         <div class=\"col tender-detail\">
  270.                             <dt>Closing Date</dt>
  271.                             <dt></dt>
  272.                             <dd>
  273.                                 <time datetime=\"Friday, 16 October 2020\" itemprop=\"datePublished\">
  274.                                     ";
  275.         // line 98
  276.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'98$this->source); })()), "closingDate", [], "any"falsefalsefalse98), "l d F Y"), "html"nulltrue);
  277.         echo "
  278.                                     ";
  279.         // line 99
  280.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'99$this->source); })()), "closingTime", [], "any"falsefalsefalse99), "html"nulltrue);
  281.         echo ":00:00
  282.                                 </time>
  283.                             </dd>
  284.                         </div>
  285.                         <div class=\"col tender-detail\">
  286.                             <dt>Project Number</dt>
  287.                             <dt></dt>
  288.                             <dd>";
  289.         // line 106
  290.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'106$this->source); })()), "projectNumber", [], "any"falsefalsefalse106), "html"nulltrue);
  291.         echo "</dd>
  292.                         </div>
  293.                         <div class=\"col tender-detail\">
  294.                             <dt>B-BBEE Status</dt>
  295.                             <dt></dt>
  296.                             <dd>";
  297.         // line 111
  298.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'111$this->source); })()), "beeee", [], "any"falsefalsefalse111), "html"nulltrue);
  299.         echo "</dd>
  300.                         </div>
  301.                     </div>
  302.                 
  303.                     <div class=\"row\">
  304.                         <div class=\"col tender-detail\">
  305.                             <dt>Contract Description</dt>
  306.                             <dt></dt>
  307.                             <dd>
  308.                                 ";
  309.         // line 120
  310.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'120$this->source); })()), "contractDescription", [], "any"falsefalsefalse120), "html"nulltrue);
  311.         echo "
  312.                             </dd>
  313.                         </div>
  314.                     </div>
  315.                     <table class=\"table table-hover border\">
  316.                     <thead class=\"rain-forest\">
  317.                         <tr class=\"text-white text-uppercase font-weight-light table-head\">
  318.                             <th>
  319.                             Tenderer's Name
  320.                             </th>
  321.                              <th>
  322.                             Amount Tendered
  323.                             </th>
  324.                             <th>
  325.                             Alt Tender
  326.                             </th>
  327.                             <th>
  328.                             Notes
  329.                             </th>
  330.                         </tr>
  331.                     </thead>
  332.                     <tbody>
  333.                     ";
  334.         // line 142
  335.         if ((twig_length_filter($this->env, (isset($context["tender_recipient"]) || array_key_exists("tender_recipient"$context) ? $context["tender_recipient"] : (function () { throw new RuntimeError('Variable "tender_recipient" does not exist.'142$this->source); })())) > 0)) {
  336.             // line 143
  337.             echo "                    ";
  338.             $context['_parent'] = $context;
  339.             $context['_seq'] = twig_ensure_traversable((isset($context["tender_recipient"]) || array_key_exists("tender_recipient"$context) ? $context["tender_recipient"] : (function () { throw new RuntimeError('Variable "tender_recipient" does not exist.'143$this->source); })()));
  340.             foreach ($context['_seq'] as $context["_key"] => $context["recipient"]) {
  341.                 // line 144
  342.                 echo "                    <tr>
  343.                     <td>         
  344.                         ";
  345.                 // line 146
  346.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["recipient"], "companyName", [], "array"falsefalsefalse146), "html"nulltrue);
  347.                 echo "
  348.                     </td>
  349.                      <td>         
  350.                         R ";
  351.                 // line 149
  352.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["recipient"], "amount", [], "array"falsefalsefalse149), "html"nulltrue);
  353.                 echo "
  354.                     </td>
  355.                       <td>         
  356.                         ";
  357.                 // line 152
  358.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["recipient"], "alt_tender", [], "array"falsefalsefalse152), "html"nulltrue);
  359.                 echo "
  360.                     </td>
  361.                       <td>         
  362.                         ";
  363.                 // line 155
  364.                 echo twig_escape_filter($this->envstrip_tags(twig_get_attribute($this->env$this->source$context["recipient"], "notes", [], "array"falsefalsefalse155)), "html"nulltrue);
  365.                 echo "
  366.                     </td>
  367.                     </tr>
  368.                     ";
  369.             }
  370.             $_parent $context['_parent'];
  371.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recipient'], $context['_parent'], $context['loop']);
  372.             $context array_intersect_key($context$_parent) + $_parent;
  373.             // line 159
  374.             echo "                    ";
  375.         } else {
  376.             // line 160
  377.             echo "                    <tr>
  378.                         <td>
  379.                             There are currently no recipients for this tender. 
  380.                         </td>
  381.                     </tr>
  382.                     ";
  383.         }
  384.         // line 166
  385.         echo "                    </tbody>
  386.                     </table>
  387.                 
  388.                 </div>
  389.             </div>
  390.         </div>
  391.         <!-- Tender download -->
  392.         <div class=\"modal fade\" id=\"modalDownload\" tabindex=\"-1\" role=\"dialog\" aria-label=\"myModalLabel\" aria-hidden=\"true\">
  393.             ";
  394.         // line 175
  395.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\TendersController::getDownloadForm", ["id" => twig_get_attribute($this->env$this->source, (isset($context["tender"]) || array_key_exists("tender"$context) ? $context["tender"] : (function () { throw new RuntimeError('Variable "tender" does not exist.'175$this->source); })()), "id", [], "any"falsefalsefalse175)]));
  396.         echo "
  397.         </div>
  398.     ";
  399.         
  400.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  401.         
  402.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  403.     }
  404.     public function getTemplateName()
  405.     {
  406.         return "frontend/tender_recipients.html.twig";
  407.     }
  408.     public function isTraitable()
  409.     {
  410.         return false;
  411.     }
  412.     public function getDebugInfo()
  413.     {
  414.         return array (  428 => 175,  417 => 166,  409 => 160,  406 => 159,  396 => 155,  390 => 152,  384 => 149,  378 => 146,  374 => 144,  369 => 143,  367 => 142,  342 => 120,  330 => 111,  322 => 106,  312 => 99,  308 => 98,  297 => 89,  291 => 85,  289 => 84,  286 => 83,  280 => 80,  274 => 77,  269 => 74,  267 => 73,  262 => 71,  258 => 70,  252 => 67,  248 => 66,  240 => 60,  234 => 56,  232 => 55,  227 => 52,  221 => 49,  215 => 46,  210 => 43,  208 => 42,  203 => 40,  199 => 39,  193 => 36,  189 => 35,  179 => 27,  169 => 26,  156 => 23,  146 => 22,  134 => 20,  130 => 19,  126 => 18,  121 => 17,  115 => 14,  111 => 12,  107 => 11,  103 => 9,  100 => 8,  97 => 7,  87 => 6,  74 => 4,  71 => 3,  61 => 2,  38 => 1,);
  415.     }
  416.     public function getSourceContext()
  417.     {
  418.         return new Source("{% extends 'base.html.twig' %}
  419.     {% block title %}
  420.         {% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
  421.         {{ metaTitle }}
  422.     {% endblock %}
  423.     {% block meta_decription %}
  424.         {% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
  425.         {% set metaDescription = 'Building South Africa Through Better Roads' %}
  426.         <meta name=\"twitter:card\" content=\"summary\" />
  427.         <meta name=\"twitter:site\" content=\"Sanral\" />
  428.         <meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
  429.         <meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
  430. {#        <meta name=\"twitter:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  431.         <meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
  432. {#        <meta name=\"og:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  433.         <meta name=\"og:title\" content=\"{{ metaTitle }}\" />
  434.         <meta name=\"og:description\" content=\"{{ metaDescription }}\" />
  435.         <meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
  436.         <meta name=\"description\" content=\"{{ metaDescription }}\">
  437.     {% endblock %}
  438.     {% block stylesheets %}
  439.         {{ parent() }}
  440.     {% endblock %}
  441.     {% block layout %}
  442.         <div id=\"content-wrapper\" class=\"container-fluid\">
  443.             <div class=\"container-fluid\">
  444.                 <div class=\"px-3\">
  445.                     <!-- Desktop -->
  446.                     <div class=\"d-none d-md-flex row my-4\">
  447.                         <div class=\"col-12 col-md-8 pl-0\">
  448.                             <div class=\"row mx-0\">
  449.                                 <div class=\"col-md-3 pl-0\">
  450.                                     <div class=\"single-tender-region\" style=\"background-image: url({{ asset('images/regions/'~region.thumbnail) }})\"></div>
  451.                                     <div class=\"single-tender-meta\">{{ region.Region }}</div>
  452.                                 </div>
  453.                                 <div class=\"col-md-3 pl-0 text-center\">
  454.                                     <div class=\"single-tender-sector mx-auto\" style=\"background-image: url({{ asset('images/categories/'~category.thumbnail) }})\"></div>
  455.                                     <div class=\"single-tender-meta\">{{ category.category }}</div>
  456.                                 </div>
  457.                                 {% if tender.grade is not empty %}
  458.                                 <div class=\"col-md-6 pl-0 text-center\">
  459.                                     <div class=\"single-tender-grade mx-auto text-white\">
  460.                                         <span class=\"cidb-inner\">
  461.                                             {{ tender.grade }}
  462.                                         </span>
  463.                                     </div>
  464.                                     <div class=\"single-tender-meta\">CIDB Grade {{ tender.grade }}</div>
  465.                                 </div>
  466.                                 {% endif %}
  467.                             </div>
  468.                         </div>
  469.                         <div class=\"col-12 col-md-4\">
  470.                             {% if documents != 0 %}
  471.                                 <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\"  data-toggle=\"modal\" data-target=\"#modalDownload\">
  472.                                     Download Tender Document(s)
  473.                                 </a>
  474.                             {% endif %}
  475.                         </div>
  476.                     </div>
  477.                     <!-- Mobile -->
  478.                     <div class=\"d-flex d-md-none row\">
  479.                         <div class=\"col-12 pl-0 text-center\">
  480.                             <div class=\"single-tender-region\" style=\"background-image: url({{ asset('images/regions/'~region.thumbnail) }});background-position: center\"></div>
  481.                             <div class=\"single-tender-meta\">{{ region.Region }}</div>
  482.                         </div>
  483.                         <div class=\"col-12 pl-0 text-center\">
  484.                             <div class=\"single-tender-sector mx-auto\" style=\"background-image: url({{ asset('images/categories/'~category.thumbnail) }})\"></div>
  485.                             <div class=\"single-tender-meta\">{{ category.category }}</div>
  486.                         </div>
  487.                         {% if tender.grade is not empty %}
  488.                             <div class=\"col-12 pl-0 text-center\">
  489.                                 <div class=\"single-tender-grade mx-auto text-white\">
  490.                                         <span class=\"cidb-inner\">
  491.                                             {{ tender.grade }}
  492.                                         </span>
  493.                                 </div>
  494.                                 <div class=\"single-tender-meta\">CIDB Grade {{ tender.grade }}</div>
  495.                             </div>
  496.                         {% endif %}
  497.                         <div class=\"col-12\">
  498.                             {% if documents != 0 %}
  499.                                 <a href=\"#\" class=\"tender-download-btn text-uppercase btn btn-link text-white rain-forest\"  data-toggle=\"modal\" data-target=\"#modalDownload\">
  500.                                     Download Tender Document(s)
  501.                                 </a>
  502.                             {% endif %}
  503.                         </div>
  504.                     </div>
  505.                     <div class=\"row\">
  506.                         <div class=\"col tender-detail\">
  507.                             <dt>Closing Date</dt>
  508.                             <dt></dt>
  509.                             <dd>
  510.                                 <time datetime=\"Friday, 16 October 2020\" itemprop=\"datePublished\">
  511.                                     {{ tender.closingDate|date('l d F Y') }}
  512.                                     {{ tender.closingTime }}:00:00
  513.                                 </time>
  514.                             </dd>
  515.                         </div>
  516.                         <div class=\"col tender-detail\">
  517.                             <dt>Project Number</dt>
  518.                             <dt></dt>
  519.                             <dd>{{ tender.projectNumber }}</dd>
  520.                         </div>
  521.                         <div class=\"col tender-detail\">
  522.                             <dt>B-BBEE Status</dt>
  523.                             <dt></dt>
  524.                             <dd>{{ tender.beeee }}</dd>
  525.                         </div>
  526.                     </div>
  527.                 
  528.                     <div class=\"row\">
  529.                         <div class=\"col tender-detail\">
  530.                             <dt>Contract Description</dt>
  531.                             <dt></dt>
  532.                             <dd>
  533.                                 {{ tender.contractDescription }}
  534.                             </dd>
  535.                         </div>
  536.                     </div>
  537.                     <table class=\"table table-hover border\">
  538.                     <thead class=\"rain-forest\">
  539.                         <tr class=\"text-white text-uppercase font-weight-light table-head\">
  540.                             <th>
  541.                             Tenderer's Name
  542.                             </th>
  543.                              <th>
  544.                             Amount Tendered
  545.                             </th>
  546.                             <th>
  547.                             Alt Tender
  548.                             </th>
  549.                             <th>
  550.                             Notes
  551.                             </th>
  552.                         </tr>
  553.                     </thead>
  554.                     <tbody>
  555.                     {%if tender_recipient|length>0 %}
  556.                     {% for recipient in tender_recipient %}
  557.                     <tr>
  558.                     <td>         
  559.                         {{recipient['companyName']}}
  560.                     </td>
  561.                      <td>         
  562.                         R {{recipient['amount']}}
  563.                     </td>
  564.                       <td>         
  565.                         {{recipient['alt_tender']}}
  566.                     </td>
  567.                       <td>         
  568.                         {{recipient['notes']|striptags}}
  569.                     </td>
  570.                     </tr>
  571.                     {% endfor %}
  572.                     {% else %}
  573.                     <tr>
  574.                         <td>
  575.                             There are currently no recipients for this tender. 
  576.                         </td>
  577.                     </tr>
  578.                     {% endif %}
  579.                     </tbody>
  580.                     </table>
  581.                 
  582.                 </div>
  583.             </div>
  584.         </div>
  585.         <!-- Tender download -->
  586.         <div class=\"modal fade\" id=\"modalDownload\" tabindex=\"-1\" role=\"dialog\" aria-label=\"myModalLabel\" aria-hidden=\"true\">
  587.             {{ render(controller('App\\\\Controller\\\\TendersController::getDownloadForm',{'id':tender.id})) }}
  588.         </div>
  589.     {% endblock %}""frontend/tender_recipients.html.twig""/var/www/html/sanralsmme/templates/frontend/tender_recipients.html.twig");
  590.     }
  591. }