templates/default/achatRecap.html.twig line 1

Open in your IDE?
  1. {% extends 'base2.html.twig' %}
  2. {% block title %}Hello DefaultController!{% endblock %}
  3. {% block body %}
  4. <style>
  5. body{
  6.     background-color: #f1f3f7;
  7. }
  8. .avatar-lg {
  9.     height: 5rem;
  10.     width: 5rem;
  11. }
  12. .font-size-18 {
  13.     font-size: 18px!important;
  14. }
  15. .text-truncate {
  16.     overflow: hidden;
  17.     text-overflow: ellipsis;
  18.     white-space: nowrap;
  19. }
  20. a {
  21.     text-decoration: none!important;
  22. }
  23. .w-xl {
  24.     min-width: 160px;
  25. }
  26. .card {
  27.     margin-bottom: 24px;
  28.     -webkit-box-shadow: 0 2px 3px #e4e8f0;
  29.     box-shadow: 0 2px 3px #e4e8f0;
  30. }
  31. .card {
  32.     position: relative;
  33.     display: -webkit-box;
  34.     display: -ms-flexbox;
  35.     display: flex;
  36.     -webkit-box-orient: vertical;
  37.     -webkit-box-direction: normal;
  38.     -ms-flex-direction: column;
  39.     flex-direction: column;
  40.     min-width: 0;
  41.     word-wrap: break-word;
  42.     background-color: #fff;
  43.     background-clip: border-box;
  44.     border: 1px solid #eff0f2;
  45.     border-radius: 1rem;
  46. }
  47. </style>
  48. <section class="landing-padding">
  49. <div class="container my-5" style="height: 100vh;">
  50.     <div class="row">
  51.         <div class="col-xl-8">
  52.             <div class="card border shadow-none">
  53.                 <div class="card-body">
  54.                     <div class="d-flex align-items-start border-bottom pb-3">
  55.                        
  56.                         <div class="flex-grow-1 align-self-center overflow-hidden">
  57.                             <div>
  58.                                 <h5 class="text-truncate font-size-18"><a href="#" class="text-dark">Crédit Modixom </a></h5>
  59.                                
  60.                             </div>
  61.                         </div>
  62.                         <div class="flex-shrink-0 ms-2">
  63.                             <ul class="list-inline mb-0 font-size-16">
  64.                                 <li class="list-inline-item">
  65.                                     <a href="#" class="text-muted px-1">
  66.                                         <i class="mdi mdi-trash-can-outline"></i>
  67.                                     </a>
  68.                                 </li>
  69.                                 <li class="list-inline-item">
  70.                                     <a href="#" class="text-muted px-1">
  71.                                         <i class="mdi mdi-heart-outline"></i>
  72.                                     </a>
  73.                                 </li>
  74.                             </ul>
  75.                         </div>
  76.                     </div>
  77.                     <div>
  78.                         <div class="row">
  79.                             <div class="col-md-4">
  80.                                 <div class="mt-3">
  81.                                     <p class="text-muted mb-2">Prix</p>
  82.                                     <h5 class="mb-0 mt-2"><span class="text-muted me-2">{{qt}}€</span></h5>
  83.                                 </div>
  84.                             </div>
  85.                             <div class="col-md-5">
  86.                                 <div class="mt-3">
  87.                                     <p class="text-muted mb-2">Quantité</p>
  88.                                     <div class="d-inline-flex">
  89.                                         {{qt}}
  90.                                     </div>
  91.                                 </div>
  92.                             </div>
  93.                             <div class="col-md-3">
  94.                                 <div class="mt-3">
  95.                                     <p class="text-muted mb-2">Total</p>
  96.                                     <h5>{{qt}}€</h5>
  97.                                 </div>
  98.                             </div>
  99.                         </div>
  100.                     </div>
  101.                     <div>
  102.                     <form action="{{path('paiementStripeForm')}}" method="post" >
  103.                         <div class="row">
  104.                             <div class="col-md-12">
  105.                                 <div class="mt-3">
  106.                                     <input type="checkbox" required><label> J'accepte les <a href='#' style='color: #D82E9F !important'>conditions générales de ventes</a></label>
  107.                                 </div>
  108.                             </div>
  109.                         </div>
  110.                     </div>
  111.                 </div>
  112.             </div>
  113.             <!-- end card -->
  114.             <div class="row my-4">
  115.                 <div class="col-sm-6">
  116.                     <a href="{{path('achatCredit')}}" class="btn btn-link text-muted">
  117.                         <i class="mdi mdi-arrow-left me-1"></i> Retour au choix des crédits </a>
  118.                 </div> <!-- end col -->
  119.                 <div class="col-sm-6">
  120.                     <div class="text-sm-end mt-2 mt-sm-0">
  121.                         
  122.                         <input type="hidden" name="qt" value="{{qt}}">
  123.                             <button class="btn" style="background-color: #ACB9CA; color: white" type="submit"><i class="mdi mdi-cart-outline me-1"></i> Acheter </button>
  124.                             </form>
  125.                     </div>
  126.                 </div> <!-- end col -->
  127.             </div> <!-- end row-->
  128.         </div>
  129.         <div class="col-xl-4">
  130.             <div class="mt-5 mt-lg-0">
  131.                 <div class="card border shadow-none">
  132.                     <div class="card-header bg-transparent border-bottom py-3 px-4">
  133.                         <h5 class="font-size-16 mb-0">Récapitulatif de la commande</h5>
  134.                     </div>
  135.                     <div class="card-body p-4 pt-2">
  136.                         <div class="table-responsive">
  137.                             <table class="table mb-0">
  138.                                 <tbody>
  139.                                     <tr>
  140.                                         <td>Sous-total :</td>
  141.                                         <td class="text-end">{{qt}}€</td>
  142.                                     </tr>
  143.                                     <tr>
  144.                                         <td>Nombre de crédit : </td>
  145.                                         <td class="text-end">{{qt}}</td>
  146.                                     </tr>
  147.                                     <tr class="bg-light">
  148.                                         <th>Total :</th>
  149.                                         <td class="text-end">
  150.                                             <span class="fw-bold">
  151.                                                 {{qt}}€
  152.                                             </span>
  153.                                         </td>
  154.                                     </tr>
  155.                                 </tbody>
  156.                             </table>
  157.                         </div>
  158.                         <!-- end table-responsive -->
  159.                     </div>
  160.                 </div>
  161.             </div>
  162.         </div>
  163.     </div>
  164. </section>
  165.     <!-- end row -->
  166. {% endblock %}