Parcourir la source

agregado de comentarios y arreglo zindex del carrito

Erwin Jacimino il y a 4 mois
Parent
commit
ca8adcd101

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 16
public/main/assets/index-70wTuyF4.js


Fichier diff supprimé car celui-ci est trop grand
+ 16 - 0
public/main/assets/index-BHH3WaTu.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
public/main/assets/index-CRJP6Kmt.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
public/main/assets/index-GLEYu3zj.css


+ 2 - 2
public/main/index.html

@@ -17,8 +17,8 @@
       href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
       href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
       rel="stylesheet"
       rel="stylesheet"
     />
     />
-  <script type="module" crossorigin src="/express/assets/index-70wTuyF4.js"></script>
-  <link rel="stylesheet" crossorigin href="/express/assets/index-GLEYu3zj.css">
+  <script type="module" crossorigin src="/express/assets/index-BHH3WaTu.js"></script>
+  <link rel="stylesheet" crossorigin href="/express/assets/index-CRJP6Kmt.css">
 </head>
 </head>
   <body>
   <body>
     <div id="root"></div>
     <div id="root"></div>

+ 3 - 0
routes/products.py

@@ -118,6 +118,9 @@ async def get_free_beer(table_id: int, current_user:User = Depends(get_current_u
     
     
     if current_user.reward_progress >= 100:
     if current_user.reward_progress >= 100:
         print_ticket(table_id)
         print_ticket(table_id)
+        
+        user_data_service.set_reward_progress(current_user.id, 0)
+        
         return success_response(message= SuccessResponse.REWARD_SUCCESS, status_code=200)
         return success_response(message= SuccessResponse.REWARD_SUCCESS, status_code=200)
 
 
     # Return 404 if free beer product not found
     # Return 404 if free beer product not found

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff