templates/app/operation/odr/details.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Haribo Pro - Votre offre de remboursement{% endblock %}
  3. {% block body %}
  4. <div id="odr" class="step-odr">
  5.     {% include 'partials/banner-blue.html.twig' %}
  6.     {% for message in app.flashes('danger') %}
  7.         <div class="alert alert-danger text-center" role="alert">
  8.             {{ message }}
  9.         </div>
  10.     {% endfor %}
  11.     <hgroup class="text-center mt-5">
  12.         <h1>Votre offre de remboursement</h1>
  13.     </hgroup>
  14.     <p class="text-center mt-3 description">Suivez les différentes étapes pour effectuer votre demande de remboursement
  15.     </p>
  16.     <img class="img-fluid wave-top d-none d-md-block w-100" src="{{ asset('build/img/pink-wave.png') }}"
  17.         alt="Haribo pro" />
  18.     <img class="img-fluid wave-top d-block d-sm-none w-100" src="{{ asset('build/img/pink-wave-mobile.png') }}"
  19.         alt="Haribo pro" />
  20.     <div class="bg-pink">
  21.         <div class="container">
  22.             <div class="card col-md-6 shadow card-selected">
  23.                 <div class="card-part-1">
  24.                     <h4><i class="far fa-calendar"></i> Du {{ odr.startDate|date('d/m/Y') }} au {{
  25.                         odr.endDate|date('d/m/Y') }}</h4>
  26.                     {% for thumbnail in odr.thumbnailOdrs %}
  27.                     <img src="{{ thumbnail.filePath | imageFilePath('odr') }}" alt="thumbnail_odr-{{ odr.id }}">
  28.                     {% endfor %}
  29.                     <div class="preview-txt-detail-wrap mt-2">
  30.                         <h2>{{ odr.title }}</h2>
  31.                     </div>
  32.                 </div>
  33.                 <div class="card-part-2">
  34.                     <div class="container-price">
  35.                         {% if (odr.percentage) > 0 %}
  36.                         <p class="price">{{ odr.percentage }}<span>%</span></p>
  37.                         {% else %}
  38.                         <p class="price">{{ odr.amount }}<span>€</span></p>
  39.                         {% endif %}
  40.                         <p class="reduc">de réductions</p>
  41.                     </div>
  42.                 </div>
  43.             </div>
  44.             <section class="odr-detail-txt-wrapper mt-5 how-reimbursed how-reimbursed-odr" id="howReimbursedODR">
  45.                 {% if odr.firstStep %}
  46.                     <h3 class="text-center">Comment bénéficier de mon remboursement ?</h3>
  47.                 {% endif %}
  48.                     <ul>
  49.                         {% if odr.firstStep %}
  50.                         <li>
  51.                             <div class="left">1</div>
  52.                             <div class="right">
  53.                                 {{ odr.firstStep | raw }}
  54.                             </div>
  55.                         </li>
  56.                         {% endif %}
  57.                         {% if odr.secondStep %}
  58.                         <li>
  59.                             <div class="left">2</div>
  60.                             <div class="right">
  61.                                 {{ odr.secondStep | raw }}
  62.                             </div>
  63.                         </li>
  64.                         {% endif %}
  65.                         {% if odr.thirdStep %}
  66.                         <li>
  67.                             <div class="left">3</div>
  68.                             <div class="right">
  69.                                 {{ odr.thirdStep | raw }}
  70.                             </div>
  71.                         </li>
  72.                         {% endif %}
  73.                         {% if odr.fourthStep %}
  74.                         <li>
  75.                             <div class="left">4</div>
  76.                             <div class="right">
  77.                                 {{ odr.fourthStep | raw }}
  78.                             </div>
  79.                         </li>
  80.                         {% endif %}
  81.                         {% if odr.fifthStep %}
  82.                         <li>
  83.                             <div class="left">5</div>
  84.                             <div class="right">
  85.                                 {{ odr.fifthStep | raw }}
  86.                             </div>
  87.                         </li>
  88.                         {% endif %}
  89.                     </ul>
  90.                     <div class="btn-bar">
  91.                         <a href="{{ path('kiwi_operation_odr') }}" class="btn btn-secondary">
  92.                             {# <i class="far fa-arrow-alt-circle-left"></i> #}Retour</a>
  93.                         {% if app.user %}
  94.                         <a class="btn btn-primary correct-button"
  95.                             href="{{ path('kiwi_operation_odr_form_participation_user') }}">Je fais ma demande</a>
  96.                         {% else %}
  97.                         <a class="btn btn-primary correct-button" data-bs-toggle="modal" data-bs-target="#odrModal"
  98.                             href="{{ path('app_login') }}">Je fais ma demande</a>
  99.                         {% endif %}
  100.                     </div>
  101.                     <p class="text-center mt-4 txt-legal-recap">En cliquant sur "Je fais ma demande", je déclare avoir
  102.                         lu et accepté les <a class="link" href="{{ odr.pdfOdrs[0].filePath | imageFilePath('odr') }}"
  103.                             target="_blank">modalités</a></p>
  104.             </section>
  105.         </div>
  106.     </div>
  107.     <img class="img-fluid wave-bottom d-none d-md-block w-100" src="{{ asset('build/img/pink-wave-bottom.png') }}"
  108.         alt="Haribo pro" />
  109.     <img class="img-fluid wave-bottom d-block d-sm-none w-100"
  110.         src="{{ asset('build/img/pink-wave-bottom-mobile.png') }}" alt="Haribo pro" />
  111. </div>
  112. <div class="modal fade modal-draw" id="odrModal" tabindex="-1" aria-labelledby="odrModalLabel" aria-hidden="true">
  113.     <div class="modal-dialog">
  114.         <div class="modal-content">
  115.             <div class="modal-header">
  116.                 <h5 class="modal-title" id="odrModalLabel"></h5>
  117.                 <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
  118.                     <span aria-hidden="true"><i class="fa-solid fa-xmark"></i></span>
  119.                 </button>
  120.             </div>
  121.             <div class="modal-body">
  122.                 <div class="modal-register-wrapper">
  123.                     <h3 class="text-center">Vous souhaitez participer<br />à cette offre ?</h3>
  124.                     <p class="text-center">
  125.                         Pour participer à l'offre de remboursement, vous devez <strong>vous connecter ou vous inscrire
  126.                             en ligne.</strong>
  127.                     </p>
  128.                     <h2 class="text-center mt-4">Pas encore membre ?</h2>
  129.                     <div class="btn-bar text-center mt-3">
  130.                         <a href="{{ path(register_path | default('kiwi_register_user')) }}"
  131.                             class="btn btn-primary col-md-12">Je m'inscris</a>
  132.                     </div>
  133.                 </div>
  134.                 <div class="login-wrapper">
  135.                     <h2 class="text-center mt-5">Déjà Membre ?</h2>
  136.                     <div class="btn-bar text-center mt-3">
  137.                         <a href="{{ path('app_login') }}" class="btn btn-secondary col-md-12">Je me connecte<br /></a>
  138.                     </div>
  139.                 </div>
  140.             </div>
  141.         </div>
  142.     </div>
  143. </div>
  144. {% endblock %}