add shipments
This commit is contained in:
@@ -122,7 +122,7 @@ class InvoiceModel extends BaseModel {
|
||||
if (isCustomer) {
|
||||
pageQuery = pageQuery.where("user_id", isEqualTo: user.id);
|
||||
}
|
||||
pageQuery = pageQuery.orderBy("current_status_date", descending: true);
|
||||
pageQuery = pageQuery.orderBy("status_date", descending: true);
|
||||
var paginator = new Paginator(pageQuery, rowPerLoad: 20, toObj: (data, id) {
|
||||
return Invoice.fromMap(data, id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user