Add missing sort fields
This commit is contained in:
parent
d4fa06301f
commit
19c8ccfb69
|
|
@ -573,6 +573,22 @@ abstract class InvoiceEntity extends Object
|
||||||
case InvoiceFields.date:
|
case InvoiceFields.date:
|
||||||
response = invoiceA.date.compareTo(invoiceB.date);
|
response = invoiceA.date.compareTo(invoiceB.date);
|
||||||
break;
|
break;
|
||||||
|
case InvoiceFields.lastSentDate:
|
||||||
|
response = invoiceA.lastSentDate.compareTo(invoiceB.lastSentDate);
|
||||||
|
break;
|
||||||
|
case InvoiceFields.reminder1Sent:
|
||||||
|
response = invoiceA.reminder1Sent.compareTo(invoiceB.reminder1Sent);
|
||||||
|
break;
|
||||||
|
case InvoiceFields.reminder2Sent:
|
||||||
|
response = invoiceA.reminder2Sent.compareTo(invoiceB.reminder2Sent);
|
||||||
|
break;
|
||||||
|
case InvoiceFields.reminder3Sent:
|
||||||
|
response = invoiceA.reminder3Sent.compareTo(invoiceB.reminder3Sent);
|
||||||
|
break;
|
||||||
|
case InvoiceFields.reminderLastSent:
|
||||||
|
response =
|
||||||
|
invoiceA.reminderLastSent.compareTo(invoiceB.reminderLastSent);
|
||||||
|
break;
|
||||||
case InvoiceFields.balance:
|
case InvoiceFields.balance:
|
||||||
response = invoiceA.balanceOrAmount.compareTo(invoiceB.balanceOrAmount);
|
response = invoiceA.balanceOrAmount.compareTo(invoiceB.balanceOrAmount);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue