#NEWLINE# def get_email_context( self ) : #NEWLINE# #INDENT# context = super ( InvoiceStripePaymentHandler , self ) . get_email_context ( ) #NEWLINE# context . update ( { #NEWLINE# #INDENT# 'balance' : fmt_dollar_amount ( self . invoice . balance ) , #NEWLINE# 'is_paid' : self . invoice . is_paid , #NEWLINE# 'date_due' : ( self . invoice . date_due . strftime ( USER_DATE_FORMAT ) if self . invoice . date_due else 'None' ) , #NEWLINE# 'invoice_num' : self . invoice . invoice_number , #NEWLINE# #UNINDENT# } ) #NEWLINE# return context