Commits

Albert O'Connor committed f830cf5

Fix critical error with box office summary.

  • Participants
  • Parent commits c55b890

Comments (0)

Files changed (1)

File uwfass/store/views.py

             customer = order_product.order.customer
             key = (customer, show)
             if key not in ticket_dict: ticket_dict[key] = 0
-            ticket_dict[key] += 1
+            ticket_dict[key] += order_product.quantity
             if show not in show_dict: show_dict[show] = 0
-            show_dict[show] += 1
+            show_dict[show] += order_product.quantity
         
     ticket_list = [(customer.get_full_name(), show, ticket_dict[(customer,show)]) for customer,show in ticket_dict]
     ticket_list = sorted(ticket_list)