From: Steve Sutton Date: Fri, 30 Mar 2018 12:20:51 +0000 (-0400) Subject: Update list views X-Git-Tag: v1.0.0^2~88 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=7ae70da7eeba3ee35e0fb5b8fd765ef0b8501733;p=WP-Plugins%2Fglm-member-db-billing.git Update list views Get rid of checkboxes for the invoices page. Set the autocomplete to submit form on invoices list. --- diff --git a/views/admin/billing/index.html b/views/admin/billing/index.html index 8a9369b..24aeece 100644 --- a/views/admin/billing/index.html +++ b/views/admin/billing/index.html @@ -5,10 +5,11 @@ {include file='admin/billing/header.html'} {/if} +
Accounts Export
+ Create Invoice Make Payment -
Accounts Export
{include file='admin/billing/accountSearchForm.html'} diff --git a/views/admin/billing/invoices.html b/views/admin/billing/invoices.html index 302ec93..3c664b0 100644 --- a/views/admin/billing/invoices.html +++ b/views/admin/billing/invoices.html @@ -25,11 +25,6 @@ -
- - Show Pending Only - Show Overdue Only -
@@ -115,6 +110,13 @@ source: availableAccounts, select: function( event, ui ){ $('#member-account').val( ui.item.id ); + $('#searchForm').submit(); + }, + change: function( event, ui) { + if( ui.item == null ) { + $('#member-account').val( '' ); + $('#searchForm').submit(); + } }, });