From: Steve Sutton Date: Fri, 9 Nov 2018 20:31:53 +0000 (-0500) Subject: Start updates for uptravel X-Git-Tag: v1.0.12^2~3 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4d303dee688bba06bda4fda91729435d7cb16df4;p=WP-Plugins%2Fglm-member-db-billing.git Start updates for uptravel Setup initial bulk add invoice. --- diff --git a/models/admin/billing/invoices.php b/models/admin/billing/invoices.php index b45718e..3417e49 100644 --- a/models/admin/billing/invoices.php +++ b/models/admin/billing/invoices.php @@ -137,6 +137,9 @@ class GlmMembersAdmin_billing_invoices extends GlmDataInvoices // Do selected option switch ($option) { + case 'bulkadd': + $view = 'bulkAddInvoices'; + break; case 'add': $invoices = $this->newEntry(); diff --git a/views/admin/billing/bulkAddInvoices.html b/views/admin/billing/bulkAddInvoices.html new file mode 100644 index 0000000..e1ffec7 --- /dev/null +++ b/views/admin/billing/bulkAddInvoices.html @@ -0,0 +1,8 @@ +{include file='admin/billing/header.html'} + +{include file='admin/billing/subHeader.html'} + +

Bulk Create Invoices

+Test + +{include file='admin/footer.html'} diff --git a/views/admin/billing/subHeader.html b/views/admin/billing/subHeader.html index f7fcaf2..5f5266a 100644 --- a/views/admin/billing/subHeader.html +++ b/views/admin/billing/subHeader.html @@ -3,4 +3,6 @@ class="nav-tab{if $option == 'list'} nav-tab-active{/if}">Search Invoices Create Invoice + Create Bulk Invoices diff --git a/views/admin/billing/viewInvoice.html b/views/admin/billing/viewInvoice.html index 8d9bd0a..b7f1efc 100644 --- a/views/admin/billing/viewInvoice.html +++ b/views/admin/billing/viewInvoice.html @@ -30,7 +30,7 @@ jQuery(document).ready(function($) { popX: 500, // popup window screen X position popY: 500, // popup window screen Y position popTitle: 'Invoice', // popup window title element - popClose: true, // popup window close after printing + popClose: false, // popup window close after printing extraCss: '', // Comma separated list of extra css to include extraHead: '', // Comma separated list of extra elements to be appended to head tag strict: false // strict or looseTransitional html 4.01 document standard or undefined to not include at all only for popup option