diff --git a/assets/php/class-submenu-page.php b/assets/php/class-submenu-page.php
index 32b94ff..021152d 100644
--- a/assets/php/class-submenu-page.php
+++ b/assets/php/class-submenu-page.php
@@ -1,18 +1,13 @@
_path = $path;
+
$this->_nrows = $this->getPmtsCount();
//
// Create zgo_pmtlst if does not exist
@@ -40,9 +36,9 @@ class Submenu_Page {
$wpdb->query($sql);
if ( ! $this->pmtLstRdy() ) {
- //
- // Calculate first time pagination paramters
- //
+ //
+ // Calculate first time pagination paramters
+ //
$this->_limit = 10;
$this->_page = 1;
$this->_offset = 0;
@@ -593,7 +589,7 @@ class Submenu_Page {
$result = $wpdb->get_row($sql,OBJECT);
if ( $result ) {
if ($result->gTotalPmts > 0) {
- ?>
+ ?>
Global Totals
-
-
- |
-
-
+
+
+ |
+
+
+ font-weight: 600;
+ font-size: 15px;
+ margin: auto;
+ text-align: center;
+ vertical-align: center;
+ height: 20px;
+ background-color: #ff5722;
+ color: white !important;">
Payments: |
gTotalPmts ?> |
Total Amount: |
@@ -625,10 +621,11 @@ class Submenu_Page {
gTotalZec,8) ?> |
- | |
+
+ |
-
-
+ submenu_page = $submenu_page;
}
- /**
- * Adds a submenu for this plugin to the 'Tools' menu.
- **/
public function init() {
add_action( 'admin_menu', array( $this, 'add_options_page' ) );
}
- /**
- * Creates the submenu item and calls on the Submenu Page object to render
- * the actual contents of the page.
- **/
public function add_options_page() {
add_management_page(
|