def get_email_context(self,**kwargs):
        ''' Overrides EmailRecipientMixin '''
        context = super(Invoice,self).get_email_context(**kwargs)
        context.update({
            'id': self.id,
            'url': '%s?v=%s' % (self.url, self.validationString),
            'amountPaid': self.amountPaid,
            'outstandingBalance': self.outstandingBalance,
            'status': self.statusLabel,
            'creationDate': self.creationDate,
            'modifiedDate': self.modifiedDate,
            'paidOnline': self.paidOnline,
            'grossTotal': self.grossTotal,
            'total': self.total,
            'adjustments': self.adjustments,
            'taxes': self.taxes,
            'fees': self.fees,
            'comments': self.comments,
        })
        return context
def get_email_context ( self , ** kwargs ) : context = super ( Invoice , self ) . get_email_context ( ** kwargs ) context . update ( { 'id' : self . id , 'url' : '%s?v=%s' % ( self . url , self . validationString ) , 'amountPaid' : self . amountPaid , 'outstandingBalance' : self . outstandingBalance , 'status' : self . statusLabel , 'creationDate' : self . creationDate , 'modifiedDate' : self . modifiedDate , 'paidOnline' : self . paidOnline , 'grossTotal' : self . grossTotal , 'total' : self . total , 'adjustments' : self . adjustments , 'taxes' : self . taxes , 'fees' : self . fees , 'comments' : self . comments , } ) return context
Overrides EmailRecipientMixin