(cls, date_due)
return invoices
Invoices that can be auto paid on date_due
Invoices that can be auto paid on date_due
Invoices that can be auto paid on date_due
def autopayable_invoices(cls, date_due):
        """ Invoices that can be auto paid on date_due """
        invoices = cls.objects.select_related('account').filter(
            date_due=date_due,
            is_hidden=False,
            account__auto_pay_user__isnull=False
        )
        return invoices
def autopayable_invoices ( cls , date_due ) : invoices = cls . objects . select_related ( 'account' ) . filter ( date_due = date_due , is_hidden = False , account__auto_pay_user__isnull = False ) return invoices