diff --git a/billard/templatetags/display_client.py b/billard/templatetags/display_client.py index 309032a..bc4805d 100644 --- a/billard/templatetags/display_client.py +++ b/billard/templatetags/display_client.py @@ -15,9 +15,7 @@ def display_client(client, desk_no): desk = desks[0] if not desk.enabled: return '' - alert = 'alert-success' - #acc = Accounting.objects.filter(client=client, desk_no=desk_no)[:3][::-1] acc = desk.accounting_set.all()[:3][::-1] if acc is not None and len(acc) > 0: a = acc[-1] @@ -27,7 +25,6 @@ def display_client(client, desk_no): prize = '{0:.2f}'.format(prize) if prize != a.prize: a.prize = prize - html = '
\n' html += '
\n'.format(alert) html += '

({}) {}

\n'.format(desk_no, desk.name)