Fixes for print billing invoice.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 30 Oct 2018 15:14:57 +0000 (11:14 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 30 Oct 2018 15:14:57 +0000 (11:14 -0400)
Adjusting the body height so it will print on one page.

index.php
views/admin/billing/invoiceStore.html
views/admin/billing/viewInvoice.html

index 5e6a1b7..e079ca9 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Billing
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: This is glmAssociate Billing Module
- * Version: 1.0.10
+ * Version: 1.0.11
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersBillingAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.10
+ * @version 1.0.11
  */
 
 /*
@@ -37,7 +37,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.10');
+define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.11');
 define('GLM_MEMBERS_BILLING_PLUGIN_DB_VERSION', '0.0.26');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 594e2cf..ee08d4c 100644 (file)
@@ -6,6 +6,9 @@
 #container-table .line-items {
     border-collapse: collapse;
 }
+body {
+    width: auto !important;
+}
 </style>
 <table id="container-table" width="600" cellspacing="0" cellpadding="0">
     <tr>
index e5cc122..8d9bd0a 100644 (file)
@@ -12,7 +12,7 @@
     {/if}
 
     <div class="button button-secondary graph-print glm-right" data-areaToPrint="PrintArea">Print</div>
-    <div id="PrintArea">
+    <div id="PrintArea" style="padding: 10px;">
     {$invoiceHtml}
     </div>
 </div>