registrasion/controllers/invoice.py
def email(cls, invoice, kind):
        ''' Sends out an e-mail notifying the user about something to do
        with that invoice. '''

        context = {
            "invoice": invoice,
        }

        send_email([invoice.user.email], kind, context=context)
def email(cls, invoice, kind):
        ''' Sends out an e-mail notifying the user about something to do
        with that invoice. '''

        context = {
            "invoice": invoice,
        }

        send_email([invoice.user.email], kind, context=context)
def email ( cls , invoice , kind ) : context = { "invoice" : invoice , } send_email ( [ invoice . user . email ] , kind , context = context )
Sends out an e-mail notifying the user about something to do
        with that invoice.
Sends out an e - mail notifying the user about something to do with that invoice .