@property<EOL><INDENT>def warningFlag(self):<DEDENT>
if not hasattr(self,'<STR_LIT>'):<EOL><INDENT>return True<EOL><DEDENT>if apps.is_installed('<STR_LIT>'):<EOL><INDENT>'''<STR_LIT>'''<EOL>if self.invoice.revenueNotYetReceived != <NUM_LIT:0> or self.invoice.revenueMismatch:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return (<EOL>self.priceWithDiscount != self.invoice.total or<EOL>self.invoice.unpaid or self.invoice.outstandingBalance != <NUM_LIT:0><EOL>)<EOL>
When viewing individual event registrations, there are a large number of potential
issues that can arise that may warrant scrutiny. This property just checks all of
these conditions and indicates if anything is amiss so that the template need not
check each of these conditions individually repeatedly.