Make the PayDialog use the SalesManager controller
Fix Ticket.add_product increasing amount of other tickets' lines
Account for NULL max_debt for customers in PayDialog