lingo: add handling of past-due-date reason (#13735)
This commit is contained in:
parent
a63c3575d6
commit
87cbde30ad
|
@ -236,7 +236,9 @@ class RemoteItem(object):
|
|||
@property
|
||||
def no_online_payment_reason_details(self):
|
||||
reasons = {'litigation': _('This invoice is in litigation.'),
|
||||
'autobilling': _('Autobilling has been set for this invoice.')}
|
||||
'autobilling': _('Autobilling has been set for this invoice.'),
|
||||
'past-due-date': _('Due date is over.'),
|
||||
}
|
||||
return settings.LINGO_NO_ONLINE_PAYMENT_REASONS.get(self.no_online_payment_reason,
|
||||
reasons.get(self.no_online_payment_reason))
|
||||
|
||||
|
|
Loading…
Reference in New Issue