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

templates/frontend/tender_recipients.html.twig line 175

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2.     {% block title %}
  3.         {% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
  4.         {{ metaTitle }}
  5.     {% endblock %}
  6.     {% block meta_decription %}
  7.         {% set metaTitle = 'SANRAL SMME Tenders - Building South Africa Through Better Roads' %}
  8.         {% set metaDescription = 'Building South Africa Through Better Roads' %}
  9.         <meta name="twitter:card" content="summary" />
  10.         <meta name="twitter:site" content="Sanral" />
  11.         <meta name="twitter:title" content="{{ metaTitle }}" />
  12.         <meta name="twitter:description" content="{{ metaDescription }}" />
  13. {#        <meta name="twitter:image" content="https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}" />#}
  14.         <meta name="twitter:url" content="{{ app.request.uri }}" />
  15. {#        <meta name="og:image" content="https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}" />#}
  16.         <meta name="og:title" content="{{ metaTitle }}" />
  17.         <meta name="og:description" content="{{ metaDescription }}" />
  18.         <meta name="og:url" content="{{ app.request.uri }}" />
  19.         <meta name="description" content="{{ metaDescription }}">
  20.     {% endblock %}
  21.     {% block stylesheets %}
  22.         {{ parent() }}
  23.     {% endblock %}
  24.     {% block layout %}
  25.         <div id="content-wrapper" class="container-fluid">
  26.             <div class="container-fluid">
  27.                 <div class="px-3">
  28.                     <!-- Desktop -->
  29.                     <div class="d-none d-md-flex row my-4">
  30.                         <div class="col-12 col-md-8 pl-0">
  31.                             <div class="row mx-0">
  32.                                 <div class="col-md-3 pl-0">
  33.                                     <div class="single-tender-region" style="background-image: url({{ asset('images/regions/'~region.thumbnail) }})"></div>
  34.                                     <div class="single-tender-meta">{{ region.Region }}</div>
  35.                                 </div>
  36.                                 <div class="col-md-3 pl-0 text-center">
  37.                                     <div class="single-tender-sector mx-auto" style="background-image: url({{ asset('images/categories/'~category.thumbnail) }})"></div>
  38.                                     <div class="single-tender-meta">{{ category.category }}</div>
  39.                                 </div>
  40.                                 {% if tender.grade is not empty %}
  41.                                 <div class="col-md-6 pl-0 text-center">
  42.                                     <div class="single-tender-grade mx-auto text-white">
  43.                                         <span class="cidb-inner">
  44.                                             {{ tender.grade }}
  45.                                         </span>
  46.                                     </div>
  47.                                     <div class="single-tender-meta">CIDB Grade {{ tender.grade }}</div>
  48.                                 </div>
  49.                                 {% endif %}
  50.                             </div>
  51.                         </div>
  52.                         <div class="col-12 col-md-4">
  53.                             {% if documents != 0 %}
  54.                                 <a href="#" class="tender-download-btn text-uppercase btn btn-link text-white rain-forest"  data-toggle="modal" data-target="#modalDownload">
  55.                                     Download Tender Document(s)
  56.                                 </a>
  57.                             {% endif %}
  58.                         </div>
  59.                     </div>
  60.                     <!-- Mobile -->
  61.                     <div class="d-flex d-md-none row">
  62.                         <div class="col-12 pl-0 text-center">
  63.                             <div class="single-tender-region" style="background-image: url({{ asset('images/regions/'~region.thumbnail) }});background-position: center"></div>
  64.                             <div class="single-tender-meta">{{ region.Region }}</div>
  65.                         </div>
  66.                         <div class="col-12 pl-0 text-center">
  67.                             <div class="single-tender-sector mx-auto" style="background-image: url({{ asset('images/categories/'~category.thumbnail) }})"></div>
  68.                             <div class="single-tender-meta">{{ category.category }}</div>
  69.                         </div>
  70.                         {% if tender.grade is not empty %}
  71.                             <div class="col-12 pl-0 text-center">
  72.                                 <div class="single-tender-grade mx-auto text-white">
  73.                                         <span class="cidb-inner">
  74.                                             {{ tender.grade }}
  75.                                         </span>
  76.                                 </div>
  77.                                 <div class="single-tender-meta">CIDB Grade {{ tender.grade }}</div>
  78.                             </div>
  79.                         {% endif %}
  80.                         <div class="col-12">
  81.                             {% if documents != 0 %}
  82.                                 <a href="#" class="tender-download-btn text-uppercase btn btn-link text-white rain-forest"  data-toggle="modal" data-target="#modalDownload">
  83.                                     Download Tender Document(s)
  84.                                 </a>
  85.                             {% endif %}
  86.                         </div>
  87.                     </div>
  88.                     <div class="row">
  89.                         <div class="col tender-detail">
  90.                             <dt>Closing Date</dt>
  91.                             <dt></dt>
  92.                             <dd>
  93.                                 <time datetime="Friday, 16 October 2020" itemprop="datePublished">
  94.                                     {{ tender.closingDate|date('l d F Y') }}
  95.                                     {{ tender.closingTime }}:00:00
  96.                                 </time>
  97.                             </dd>
  98.                         </div>
  99.                         <div class="col tender-detail">
  100.                             <dt>Project Number</dt>
  101.                             <dt></dt>
  102.                             <dd>{{ tender.projectNumber }}</dd>
  103.                         </div>
  104.                         <div class="col tender-detail">
  105.                             <dt>B-BBEE Status</dt>
  106.                             <dt></dt>
  107.                             <dd>{{ tender.beeee }}</dd>
  108.                         </div>
  109.                     </div>
  110.                 
  111.                     <div class="row">
  112.                         <div class="col tender-detail">
  113.                             <dt>Contract Description</dt>
  114.                             <dt></dt>
  115.                             <dd>
  116.                                 {{ tender.contractDescription }}
  117.                             </dd>
  118.                         </div>
  119.                     </div>
  120.                     <table class="table table-hover border">
  121.                     <thead class="rain-forest">
  122.                         <tr class="text-white text-uppercase font-weight-light table-head">
  123.                             <th>
  124.                             Tenderer's Name
  125.                             </th>
  126.                              <th>
  127.                             Amount Tendered
  128.                             </th>
  129.                             <th>
  130.                             Alt Tender
  131.                             </th>
  132.                             <th>
  133.                             Notes
  134.                             </th>
  135.                         </tr>
  136.                     </thead>
  137.                     <tbody>
  138.                     {%if tender_recipient|length>0 %}
  139.                     {% for recipient in tender_recipient %}
  140.                     <tr>
  141.                     <td>         
  142.                         {{recipient['companyName']}}
  143.                     </td>
  144.                      <td>         
  145.                         R {{recipient['amount']}}
  146.                     </td>
  147.                       <td>         
  148.                         {{recipient['alt_tender']}}
  149.                     </td>
  150.                       <td>         
  151.                         {{recipient['notes']|striptags}}
  152.                     </td>
  153.                     </tr>
  154.                     {% endfor %}
  155.                     {% else %}
  156.                     <tr>
  157.                         <td>
  158.                             There are currently no recipients for this tender. 
  159.                         </td>
  160.                     </tr>
  161.                     {% endif %}
  162.                     </tbody>
  163.                     </table>
  164.                 
  165.                 </div>
  166.             </div>
  167.         </div>
  168.         <!-- Tender download -->
  169.         <div class="modal fade" id="modalDownload" tabindex="-1" role="dialog" aria-label="myModalLabel" aria-hidden="true">
  170.             {{ render(controller('App\\Controller\\TendersController::getDownloadForm',{'id':tender.id})) }}
  171.         </div>
  172.     {% endblock %}