File diff 6c94eb9e91ee → c56c7498700b
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -8,13 +8,13 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        ''' This is used to pre-fill the attendee's name from the
 
        speaker profile. If it's None, that functionality is disabled. '''
 
        return "name"
 

	
 
    def invoice_recipient(self):
 
        if self.company:
 
            base = "%(name_per_invoice)s c/- %(company)s"
 
            base = "\n%(company)s\nAttention: %(name_per_invoice)s"
 
        else:
 
            base = "%(name_per_invoice)s"
 
        return base % self.__dict__
 

	
 
    def save(self):
 
        if not self.name_per_invoice: