From ebd985f1c8dc7b208cf75b4cc4f7e08c97f4b7fe Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 12 Sep 2019 16:26:12 -0400 Subject: [PATCH] Update footer and the invoice list page Invoice list page. order due date desc. Use same text from all plugins for the footer. --- models/admin/billing/invoices.php | 2 +- views/admin/billing/footer.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/admin/billing/invoices.php b/models/admin/billing/invoices.php index 03627b5..81fa8e3 100644 --- a/models/admin/billing/invoices.php +++ b/models/admin/billing/invoices.php @@ -693,7 +693,7 @@ class GlmMembersAdmin_billing_invoices extends GlmDataInvoices $where = implode( ' AND ', $where_params ); // Get the list of invoices and determine number of invoices in list - $orderBy = 'due_date ASC, transaction_time DESC'; + $orderBy = 'due_date DESC, transaction_time DESC'; $this->line_items_post = true; $invoicesResult = $this->getList($where, $orderBy, true, 'id', $start, $limit); $totalInvoices = $this->getStats($where); diff --git a/views/admin/billing/footer.html b/views/admin/billing/footer.html index af8b3d4..30abc3c 100644 --- a/views/admin/billing/footer.html +++ b/views/admin/billing/footer.html @@ -1,6 +1,6 @@