File diff b320b227aae9 → ae8f39381f4a
registrasion/controllers/invoice.py
Show inline comments
...
 
@@ -139,13 +139,12 @@ class InvoiceController(object):
 

	
 
        if self.invoice.user.attendee.access_code == access_code:
 
            return True
 

	
 
        return False
 

	
 

	
 
    def _refresh(self):
 
        ''' Refreshes the underlying invoice and cart objects. '''
 
        self.invoice.refresh_from_db()
 
        if self.invoice.cart:
 
            self.invoice.cart.refresh_from_db()