From 7ae70da7eeba3ee35e0fb5b8fd765ef0b8501733 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 30 Mar 2018 08:20:51 -0400 Subject: [PATCH] Update list views Get rid of checkboxes for the invoices page. Set the autocomplete to submit form on invoices list. --- views/admin/billing/index.html | 3 ++- views/admin/billing/invoices.html | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) 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(); + } }, }); -- 2.17.1