@@ -37,14 +37,14 @@ def display_client(client, desk_no):
 | 
			
		||||
    html += '    <div class="col-md-12 table-info alert {}">\n'.format(alert)
 | 
			
		||||
    html += '        <h4 style="text-align: center">({}) {}</h4>\n'.format(desk_no, desk.name)
 | 
			
		||||
    if loc.happy_hour_start is not None and desk.prize_hh is not None:
 | 
			
		||||
        html += '        <h5 style="text-align: center">Preis: {:.2f} € / Stunde | {} - {}: {:.2f} / € Stunde</h5a>\n'\
 | 
			
		||||
        html += '        <h6 style="text-align: center">Preis: {:.2f} € / Stunde | {} - {}: {:.2f} / € Stunde</h6>\n'\
 | 
			
		||||
            .format(
 | 
			
		||||
                desk.prize,
 | 
			
		||||
                loc.happy_hour_start,
 | 
			
		||||
                loc.happy_hour_end,
 | 
			
		||||
                loc.happy_hour_start.strftime('%H:%M'),
 | 
			
		||||
                loc.happy_hour_end.strftime('%H:%M'),
 | 
			
		||||
                desk.prize_hh,)
 | 
			
		||||
    else:
 | 
			
		||||
        html += '        <h5 style="text-align: center">Preis: {0:.2f} / Stunde</h5a>\n'.format(
 | 
			
		||||
        html += '        <h6 style="text-align: center">Preis: {0:.2f} / Stunde</h6>\n'.format(
 | 
			
		||||
            desk.prize,)
 | 
			
		||||
    if len(acc) > 0:
 | 
			
		||||
        html += '        <table class="table">\n'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user