Update footer and the invoice list page
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Sep 2019 20:26:12 +0000 (16:26 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Sep 2019 20:26:12 +0000 (16:26 -0400)
Invoice list page. order due date desc.
Use same text from all plugins for the footer.

models/admin/billing/invoices.php
views/admin/billing/footer.html

index 03627b5..81fa8e3 100644 (file)
@@ -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);
index af8b3d4..30abc3c 100644 (file)
@@ -1,6 +1,6 @@
     </div> <!-- / admin content area -->
     <div class="glm-copyright">
-        Billing<br>
+        {$glmPluginName}<br>
         Copyright &copy; 2014-{$thisYear} Gaslight Media - All Rights Reserved<br>
         Phone: 231-487-0692 - E-Mail: plugins@gaslightmedia.com<br>
         <a href="http://www.gaslightmedia.com">http://www.gaslightmedia.com</a>