add 'Retiré' in 'Statut Réservation' for some case
This commit is contained in:
		
							parent
							
								
									332d9dd509
								
							
						
					
					
						commit
						193bd8ef3a
					
				| 
						 | 
				
			
			@ -39,13 +39,17 @@
 | 
			
		|||
                                        Disponible
 | 
			
		||||
                                    </span>
 | 
			
		||||
                                    {{else if len .Bookings | eq 1}}
 | 
			
		||||
                                            {{range .Bookings}}
 | 
			
		||||
                                                {{if eq .Status -1 }}
 | 
			
		||||
                                        {{range .Bookings}}
 | 
			
		||||
                                            {{if  .Data.administrator_unavailability}}
 | 
			
		||||
                                                <span class="mt-1 p-1 bg-black text-white text-xs font-bold rounded-xl" >
 | 
			
		||||
                                                    Retiré
 | 
			
		||||
                                                </span>
 | 
			
		||||
                                            {{else if eq .Status -1 }}
 | 
			
		||||
                                                <span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
 | 
			
		||||
                                                    Disponible
 | 
			
		||||
                                                </span>
 | 
			
		||||
                                                {{end}}
 | 
			
		||||
                                            {{end}}
 | 
			
		||||
                                        {{end}}
 | 
			
		||||
                                    {{else}}
 | 
			
		||||
                                    {{range .Bookings}}
 | 
			
		||||
                                            {{if .Data.administrator_unavailability}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue