custom/apps/DmitsBruttoNetto/Resources/views/storefront/layout/footer/footer.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
  2.       
  3. {% block layout_footer_service_menu   %}
  4.     
  5.     {% if (config('DmitsBruttoNetto.config.footercopyright')) and (controllerName|lower!='checkout') %}
  6.         <div class="row align-items-center">
  7.             <div class="col-auto" style="margin:auto">
  8.                 {{  "dmits.bruttonetto.custom.selecttext"|trans }}
  9.                 <select class="custom-select change-bruttonetto" data-dmitsbruttonetto="{% if ((context.taxState=='gross') and app.request.cookies.get('dmits-bruttonetto-cookie-value')=='' and app.request.get('showprice')=='') or (app.request.cookies.get('dmits-bruttonetto-cookie-value')=='gross') or (app.request.get('showprice')=='gross') %}gross{%else %}net{% endif %}">
  10.                     <option value='gross' {% if ((context.taxState=='gross') and app.request.cookies.get('dmits-bruttonetto-cookie-value')=='' and app.request.get('showprice')=='') or (app.request.cookies.get('dmits-bruttonetto-cookie-value')=='gross') or (app.request.get('showprice')=='gross') %}selected{% endif %}>{{  "dmits.bruttonetto.custom.gross"|trans|striptags }}</option>
  11.                      <option value='net' {% if ((context.taxState=='net') and app.request.cookies.get('dmits-bruttonetto-cookie-value')=='' and app.request.get('showprice')=='') or (app.request.cookies.get('dmits-bruttonetto-cookie-value')=='net') or (app.request.get('showprice')=='net') %}selected{% endif %}>{{  "dmits.bruttonetto.custom.net"|trans|striptags }}</option>
  12.                 </select>
  13.             </div>
  14.         </div>
  15.     {% endif %} 
  16.     {{ parent() }}
  17.     {% if config('DmitsBruttoNetto.config.popup') %}
  18.         <div class="modal fade" id="dmitsbruttonetto" tabindex="-1" role="dialog" aria-labelledby="bruttonetto"" aria-hidden="true">
  19.         <div class="modal-dialog" role="document">
  20.             <div class="modal-content">
  21.                 <div class="modal-header">
  22.                     <h5 class="modal-title" id="bruttonettoLabel">{{  "dmits.bruttonetto.custom.title"|trans }}</h5>
  23.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  24.                         <span aria-hidden="true">&times;</span>
  25.                     </button>
  26.                 </div>
  27.                 <div class="modal-body">
  28.                     {{  "dmits.bruttonetto.custom.content"|trans|raw }}
  29.                     
  30.                     {% if not app.request.cookies.get('dmits-bruttonetto-cookie-key') %}
  31.                         {{  "dmits.bruttonetto.custom.popupcookienotice"|trans|raw }}
  32.                     {% endif %}
  33.                 </div>
  34.                 <div class="modal-footer">
  35.                     <div class="col-6">
  36.                         {% if  config('DmitsBruttoNetto.config.titlenetto')  %}<p> {{  "dmits.bruttonetto.custom.titlenetto"|trans }}</p>{% endif %}
  37.                         {% if  config('DmitsBruttoNetto.config.contentnetto')  %}<p> {{  "dmits.bruttonetto.custom.contentnetto"|trans|raw }}</p>{% endif %}
  38.                         <button type="button" class="btn btn-secondary"  id="btn-dmits-net">{{  "dmits.bruttonetto.custom.contentbuttonnetto"|trans }}</button>
  39.                     </div>
  40.                     <div class="col-6">
  41.                         {% if config('DmitsBruttoNetto.config.titlebrutto')  %}<p> {{  "dmits.bruttonetto.custom.titlebrutto"|trans }}</p>{% endif %}
  42.                         {% if config('DmitsBruttoNetto.config.contentbrutto')  %}<p> {{  "dmits.bruttonetto.custom.contentbrutto"|trans|raw }}</p>{% endif %}
  43.                         <button type="button" class="btn btn-secondary"  id="btn-dmits-gross">{{  "dmits.bruttonetto.custom.contentbuttonbrutto"|trans }}</button>
  44.                     </div>
  45.                 </div>
  46.             </div>
  47.         </div>
  48.     </div>
  49.     
  50.     {% endif %} 
  51. {% endblock %}