From: Steve Sutton Date: Mon, 22 Jul 2019 20:44:21 +0000 (-0400) Subject: Setup ui elements for grid start form start and end X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=85d46819ae03e05d43f65f1d4801a6d88a6f75fb;p=WP-Plugins%2Fglm-member-db-billing.git Setup ui elements for grid start form start and end replacing form and callout div's --- diff --git a/views/admin/billing/accounts.html b/views/admin/billing/accounts.html index 8f62781..f7adf21 100644 --- a/views/admin/billing/accounts.html +++ b/views/admin/billing/accounts.html @@ -1,105 +1,118 @@ +{* Accounts *} + +{* Header *} {include file='admin/billing/header.html'} -
+{* Grid Start *} +{$ui = [ + 'nowrap' => false, + 'backgroundColor' => '', + 'sectionColor' => '' +]} +{include file='ui/f6/grid-start.html'} -

Accounts

+

Accounts

-
Accounts Export
+
Accounts Export
- {* Search Form *} - {include file='admin/billing/accountSearchForm.html'} +{* Search Form *} +{include file='admin/billing/accountSearchForm.html'} -

Total found: {$totalAccounts}

+

Total found: {$totalAccounts}

- {if $paging} - - - {/if} +{if $paging} + + +{/if} -
+
- - - - - - {if $settings.allow_employees} - - {/if} - - - - - - - {if $haveAccounts} - {foreach $accounts as $t} - - - - {if $settings.allow_employees} - +
IDMember NameBoss/EmployeesBilling EmailAnniversary DateRenewal Date
+ + + + + {if $settings.allow_employees} + + {/if} + + + + + + + {if $haveAccounts} + {foreach $accounts as $t} + + + + {if $settings.allow_employees} + + {/if} + + + + + + - - - - - + + {if $t.boss.value} + + - {if $t.boss.value} - - - - {/if} - {/foreach} - {else} - - {/if} - -
IDMember NameBoss/EmployeesBilling EmailAnniversary DateRenewal Date
+
+ {foreach $t.employees as $emp} +
{$emp.ref_name}
+ {/foreach} +
+
+
+ +
+
-
- {foreach $t.employees as $emp} -
{$emp.ref_name}
- {/foreach} -
-
-
- -
-
-
(no Invoice Types listed)
+ {/if} + {/foreach} + {else} + (no Invoice Types listed) + {/if} + + +{* Paging *} +{if $paging} + + +{/if} - {if $paging} - - - {/if} +{* Form End *} +{include file='ui/f6/form-end.html'} - {* Form End *} - {include file='ui/f6/form-end.html'} +{* export Modals *} +{include file='admin/billing/exportBillingModal.html'} - {include file='admin/billing/exportBillingModal.html'} - {include file='admin/billing/accountReveals.html'} +{* Account Reveals *} +{include file='admin/billing/accountReveals.html'} -
+{* Grid End *} +{include file='ui/f6/grid-end.html'} - +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/editInvoiceType.html b/views/admin/billing/editInvoiceType.html index ae3bd21..f311073 100644 --- a/views/admin/billing/editInvoiceType.html +++ b/views/admin/billing/editInvoiceType.html @@ -1,6 +1,9 @@ +{* Edit Invoice Type *} + +{* Header *} {include file='admin/billing/header.html'} -{*
*} +{* Grid Start *} {$ui = [ 'nowrap' => false, 'backgroundColor' => '', @@ -189,6 +192,8 @@
+ +{* Form Submit *} {if isset( $data.fieldData.id )} {$label = 'Update Invoice Type'} {else} @@ -203,13 +208,14 @@ Cancel +{* Error Callout *} {include file='ui/f6/errorCallout.html'} - +{* Form End *} {include file='ui/f6/form-end.html'} +{* Grid End *} {include file='ui/f6/grid-end.html'} -{* *} +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/editNotificationType.html b/views/admin/billing/editNotificationType.html index b4b5a06..2e4f1cb 100644 --- a/views/admin/billing/editNotificationType.html +++ b/views/admin/billing/editNotificationType.html @@ -1,9 +1,11 @@ +{* Edit Notification Type *} +{* Header *} {include file='admin/billing/header.html'} {$ui = [ @@ -13,8 +15,6 @@ ]} {include file='ui/f6/grid-start.html'} -{*
*} - {* Set $data to $notification *} {* This is for using the UI elements *} {$data = $notification} @@ -51,214 +51,225 @@ ]} {include file="ui/f6/callout.html"} -
- {if $notification_id} - - - {else} - - {/if} - - {include file='ui/f6/errorCallout.html'} - -
-
- -
- Notification - - {* Name *} - {$ui = [ - 'value' => $data.fieldData.name, - 'field' => 'name', - 'label' => 'Name', - 'required' => $data.fieldRequired.name, - 'errorText' => 'Name is Required', - 'dataError' => $data.fieldFail.name - ]} - {include file='ui/f6/text.html'} - -
-
- Send Notification based on -
+{* Form Start *} +{$ui = [ + 'id' => 'billing-notification-form', + 'action' => "{$thisUrl}?page={$thisPage}&glm_action=notifications", + 'method' => 'post', + 'file' => false +]} +{include file="ui/f6/form-start.html"} + +{if $notification_id} + + +{else} + +{/if} + +{* Error Callout *} +{include file='ui/f6/errorCallout.html'} + +
+
+ +
+ Notification + + {* Name *} + {$ui = [ + 'value' => $data.fieldData.name, + 'field' => 'name', + 'label' => 'Name', + 'required' => $data.fieldRequired.name, + 'errorText' => 'Name is Required', + 'dataError' => $data.fieldFail.name + ]} + {include file='ui/f6/text.html'} + +
+
+ Send Notification based on
- -
-
-
-
- -
- - -
-
-
- {* Number *} - {$ui = [ - 'value' => $data.fieldData.send_date_number, - 'field' => 'send_date_number', - 'label' => 'Number', - 'pattern' => 'number', - 'required' => $data.fieldRequired.send_date_number, - 'errorText' => 'Number is Required to be numeric', - 'dataError' => $data.fieldFail.send_date_number - ]} - {include file='ui/f6/text.html'} -
-
- {* Period *} - {$ui = [ - 'value' => $data.fieldData.send_date_period, - 'field' => 'send_date_period', - 'label' => 'Period', - 'list' => $send_date_period, - 'l_blank' => false, - 'required' => $data.fieldRequired.send_date_period, - 'errorText' => 'Period is Required', - 'dataError' => $data.fieldFail.send_date_period - ]} - {include file='ui/f6/select.html'} -
-
- {* When *} - {$ui = [ - 'value' => $data.fieldData.send_date_when, - 'field' => 'send_date_when', - 'label' => 'When', - 'list' => $send_date_when, - 'l_blank' => false, - 'required' => $data.fieldRequired.send_date_when, - 'errorText' => 'When is Required', - 'dataError' => $data.fieldFail.send_date_when - ]} - {include file='ui/f6/select.html'} +
+ +
+
+
+
+ +
+ +
+
+ {* Number *} + {$ui = [ + 'value' => $data.fieldData.send_date_number, + 'field' => 'send_date_number', + 'label' => 'Number', + 'pattern' => 'number', + 'required' => $data.fieldRequired.send_date_number, + 'errorText' => 'Number is Required to be numeric', + 'dataError' => $data.fieldFail.send_date_number + ]} + {include file='ui/f6/text.html'} +
+
+ {* Period *} + {$ui = [ + 'value' => $data.fieldData.send_date_period, + 'field' => 'send_date_period', + 'label' => 'Period', + 'list' => $send_date_period, + 'l_blank' => false, + 'required' => $data.fieldRequired.send_date_period, + 'errorText' => 'Period is Required', + 'dataError' => $data.fieldFail.send_date_period + ]} + {include file='ui/f6/select.html'} +
+
+ {* When *} + {$ui = [ + 'value' => $data.fieldData.send_date_when, + 'field' => 'send_date_when', + 'label' => 'When', + 'list' => $send_date_when, + 'l_blank' => false, + 'required' => $data.fieldRequired.send_date_when, + 'errorText' => 'When is Required', + 'dataError' => $data.fieldFail.send_date_when + ]} + {include file='ui/f6/select.html'} +
-
-
-
- -
- - -
+
+
+
+
+ +
+ +
-
- - {* Send Action *} - {$ui = [ - 'value' => $data.fieldData.send_action, - 'field' => 'send_action', - 'label' => 'Send Action', - 'list' => $send_action, - 'l_blank' => false, - 'required' => $data.fieldRequired.send_action, - 'errorText' => 'Send Action is Required', - 'dataError' => $data.fieldFail.send_action - ]} - {include file='ui/f6/select.html'} +
+
+ + {* Send Action *} + {$ui = [ + 'value' => $data.fieldData.send_action, + 'field' => 'send_action', + 'label' => 'Send Action', + 'list' => $send_action, + 'l_blank' => false, + 'required' => $data.fieldRequired.send_action, + 'errorText' => 'Send Action is Required', + 'dataError' => $data.fieldFail.send_action + ]} + {include file='ui/f6/select.html'} -
+
+ + {* To Email *} + {$ui = [ + 'value' => $data.fieldData.to_email, + 'field' => 'to_email', + 'label' => 'To Email', + 'pattern' => 'email', + 'required' => $data.fieldRequired.to_email, + 'errorText' => 'To Email is Required to be valid email', + 'helpText' => 'Leave this field blank to send notice to proper {$account.email} address', + 'dataError' => $data.fieldFail.to_email + ]} + {include file='ui/f6/text.html'} + + {* Subject *} + {$ui = [ + 'value' => $data.fieldData.subject, + 'field' => 'subject', + 'label' => 'Subject', + 'required' => $data.fieldRequired.subject, + 'errorText' => 'Subject is Required', + 'dataError' => $data.fieldFail.subject + ]} + {include file='ui/f6/text.html'} + + {* From *} + {$ui = [ + 'value' => $data.fieldData.from_header, + 'field' => 'from_header', + 'label' => 'From', + 'pattern' => 'email', + 'required' => $data.fieldRequired.from_header, + 'errorText' => 'From is Required to be valid email', + 'dataError' => $data.fieldFail.from_header + ]} + {include file='ui/f6/text.html'} + + {* Reply To *} + {$ui = [ + 'value' => $data.fieldData.replyto, + 'field' => 'replyto', + 'label' => 'Reply To', + 'required' => $data.fieldRequired.replyto, + 'errorText' => 'Reply To is Required', + 'dataError' => $data.fieldFail.replyto + ]} + {include file='ui/f6/text.html'} + + {* Message *} + {$ui = [ + 'value' => $data.fieldData.message, + 'field' => 'message', + 'label' => 'Message', + 'height' => '250', + 'required' => $data.fieldRequired.message, + 'errortext' => 'Message is Required', + 'dataError' => $data.fieldFail.message + ]} + {include file='ui/f6/editor.html'} + + + + + + Cancel + +
+ + +
+ + Merge Tag Description + +

Merge Tags

+

The "merge tags" listed below may be used in the E-Mail message content + to include certain information about the Account or Invoice. Be sure to + include the "{literal}{{/literal}" and "{literal}}{/literal}" and "$" characters exactly as show.

+ + {html_table loop=$mergeTagsBilling cols=2 table_attr='border=0 width=400' caption='Billing Examples'} + + {html_table loop=$mergeTagsContact cols=2 table_attr='border=0 width=400' caption='Contact Examples'} + + {html_table loop=$mergeTagsInvoice cols=2 table_attr='border=0 width=400' caption='Only available using Immediate Action - Create Invoice'} + + {html_table loop=$mergeTagsPayment cols=2 table_attr='border=0 width=400' caption='Only available using Immediate Action - Received Payment'} + +
- {* To Email *} - {$ui = [ - 'value' => $data.fieldData.to_email, - 'field' => 'to_email', - 'label' => 'To Email', - 'pattern' => 'email', - 'required' => $data.fieldRequired.to_email, - 'errorText' => 'To Email is Required to be valid email', - 'helpText' => 'Leave this field blank to send notice to proper {$account.email} address', - 'dataError' => $data.fieldFail.to_email - ]} - {include file='ui/f6/text.html'} - - {* Subject *} - {$ui = [ - 'value' => $data.fieldData.subject, - 'field' => 'subject', - 'label' => 'Subject', - 'required' => $data.fieldRequired.subject, - 'errorText' => 'Subject is Required', - 'dataError' => $data.fieldFail.subject - ]} - {include file='ui/f6/text.html'} - - {* From *} - {$ui = [ - 'value' => $data.fieldData.from_header, - 'field' => 'from_header', - 'label' => 'From', - 'pattern' => 'email', - 'required' => $data.fieldRequired.from_header, - 'errorText' => 'From is Required to be valid email', - 'dataError' => $data.fieldFail.from_header - ]} - {include file='ui/f6/text.html'} - - {* Reply To *} - {$ui = [ - 'value' => $data.fieldData.replyto, - 'field' => 'replyto', - 'label' => 'Reply To', - 'required' => $data.fieldRequired.replyto, - 'errorText' => 'Reply To is Required', - 'dataError' => $data.fieldFail.replyto - ]} - {include file='ui/f6/text.html'} - - {* Message *} - {$ui = [ - 'value' => $data.fieldData.message, - 'field' => 'message', - 'label' => 'Message', - 'height' => '250', - 'required' => $data.fieldRequired.message, - 'errortext' => 'Message is Required', - 'dataError' => $data.fieldFail.message - ]} - {include file='ui/f6/editor.html'} - - - - - - Cancel - -
- - -
- - Merge Tag Description - -

Merge Tags

-

The "merge tags" listed below may be used in the E-Mail message content - to include certain information about the Account or Invoice. Be sure to - include the "{literal}{{/literal}" and "{literal}}{/literal}" and "$" characters exactly as show.

- - {html_table loop=$mergeTagsBilling cols=2 table_attr='border=0 width=400' caption='Billing Examples'} - - {html_table loop=$mergeTagsContact cols=2 table_attr='border=0 width=400' caption='Contact Examples'} - - {html_table loop=$mergeTagsInvoice cols=2 table_attr='border=0 width=400' caption='Only available using Immediate Action - Create Invoice'} - - {html_table loop=$mergeTagsPayment cols=2 table_attr='border=0 width=400' caption='Only available using Immediate Action - Received Payment'} - -
- -
+
- {include file='ui/f6/errorCallout.html'} +{* Error Callout *} +{include file='ui/f6/errorCallout.html'} - +{* Form End *} +{include file='ui/f6/form-end.html'} {* *} {include file='ui/f6/grid-end.html'} @@ -298,4 +309,5 @@ jQuery(document).ready(function($){ }); +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/index.html b/views/admin/billing/index.html index a46793b..82a8de7 100644 --- a/views/admin/billing/index.html +++ b/views/admin/billing/index.html @@ -1,3 +1,5 @@ +{* index (Dashboard) *} + {if $fromMemberMenu} {include file='admin/member/header.html'} {include file='admin/billing/memberBillingSubHeader.html'} @@ -5,136 +7,146 @@ {include file='admin/billing/header.html'} {/if} -
- -

Accounts

- -
- Accounts Export - Create Invoice - Make Payment -
- - {* Search Form *} - {include file='admin/billing/accountSearchForm.html'} - {include file='ui/f6/form-end.html'} - - {foreach $dashboards as $dashboard_title => $list} -
- {$dashboard_title} - - - - - - - - - - - {if $list.number > 0} - {foreach $list.data.list as $t} - - - - - - - +{* Grid Start *} +{$ui = [ + 'nowrap' => false, + 'backgroundColor' => '', + 'sectionColor' => '' +]} +{include file='ui/f6/grid-start.html'} + +

Accounts

+ +
+ Accounts Export + Create Invoice + Make Payment +
+ +{* Search Form *} +{include file='admin/billing/accountSearchForm.html'} +{include file='ui/f6/form-end.html'} + +{foreach $dashboards as $dashboard_title => $list} +
+ {$dashboard_title} +
Member NameBilling EmailAnniversary DateRenewal Date
+ + + + + + + + + + {if $list.number > 0} + {foreach $list.data.list as $t} + + + + + + + + + + {if $t.boss.value} + - {if $t.boss.value} - - - - {/if} - {/foreach} - {/if} - -
Member NameBilling EmailAnniversary DateRenewal Date
-
- {/foreach} - - {include file='admin/billing/exportBillingModal.html'} - - - {include file='admin/billing/accountReveals.html'} -
+ function accountLinksEmployeesSelected() { + accountEmployee = true; + console.log( 'accountHoverId: ', accountHoverId ); + $('#account-container-' + accountHoverId).addClass('glm-hidden'); + } + + function clearAccountLinks() { + accountLinksEmployeesSelected(); + accountHoverId = false; + accountEmployee = false; + } + + + }); + + +{* account reveals *} +{include file='admin/billing/accountReveals.html'} + +{* Grid End *} +{include file='ui/f6/grid-end.html'} +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/invoices.html b/views/admin/billing/invoices.html index 1468438..08c56ae 100644 --- a/views/admin/billing/invoices.html +++ b/views/admin/billing/invoices.html @@ -1,182 +1,193 @@ -{include file='admin/billing/header.html'} +{* Invoices *} -
- -

Invoices

- - Create Invoice - {if $invoiceSent}

Invoice Sent

{/if} - - {* Form Start *} - {$ui = [ - 'id' => 'searchForm', - 'action' => "{$thisUrl}?page={$thisPage}", - 'method' => 'post' - ]} - {include file='ui/f6/form-start.html'} - - - - - - - - - -
- Search Invoices -
-
-
- - - - -
-
- - - - - - -
-
- -
-
- -
+{* Header *} +{include file='admin/billing/header.html'} +{* Grid Start *} +{$ui = [ + 'nowrap' => false, + 'backgroundColor' => '', + 'sectionColor' => '' +]} +{include file='ui/f6/grid-start.html'} + +

Invoices

+ +Create Invoice +{if $invoiceSent}

Invoice Sent

{/if} + +{* Form Start *} +{$ui = [ + 'id' => 'searchForm', + 'action' => "{$thisUrl}?page={$thisPage}", + 'method' => 'post' +]} +{include file='ui/f6/form-start.html'} + + + + + + + + + +
+ Search Invoices +
+
+
+ + + + +
+
+ + + + + + +
+
+
+
+ +
+
-
+
+
-
+
-

Total found: {$totalInvoices}

+

Total found: {$totalInvoices}

{if $paging} - - + + {/if} -
- - - - - - - - - - - - - - - {if $haveInvoices} - {foreach $invoices as $t} - - - - - - - - - - - + + {/foreach} + {else} + + {/if} + +
Invoice #Member NameInvoice ForTimeDue DateAmount TotalBalance
{$t.id} {$t.member_name} - {foreach $t.line_items as $item} - {$item.name} {if $item.recurring && $item.recurrence_string}( {$item.recurrence_string} ){/if} - {/foreach} - {$t.transaction_time.datetime} {$t.due_date.date} {$t.amount_total} {$t.balance}
(no Invoices listed)
- {* Reveal for Billing Payments *} -
-
- {* Ajax Loading Graphic *} - - {* Reveal for Payment Success *} -
-

Payment Complete!

-
-

Successfully saved your data!

- -
-
+
+{* Grid End *} +{include file='ui/f6/grid-end.html'} + + +{* Paging *} +{if $paging} + + +{/if} +{* Form End *} +{include file='ui/f6/form-end.html'} + +{* Grid End *} +{include file='ui/f6/grid-end.html'} + + + +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/payments.html b/views/admin/billing/payments.html index 148f698..8e18cab 100644 --- a/views/admin/billing/payments.html +++ b/views/admin/billing/payments.html @@ -1,149 +1,162 @@ +{* Payments *} + +{* Header *} {include file='admin/billing/header.html'} -
+{* Grid Start *} +{$ui = [ + 'nowrap' => false, + 'backgroundColor' => '', + 'sectionColor' => '' +]} +{include file='ui/f6/grid-start.html'} -

Payments

+

Payments

-
-
Payments Export
- Make Payment -
+
+
Payments Export
+ Make Payment +
- {* Form Start *} - {$ui = [ - 'id' => 'searchForm', - 'action' => "{$thisUrl}?page={$thisPage}", - 'method' => 'post' - ]} - {include file='ui/f6/form-start.html'} - - - - - - - - - -
- Search Payments -
-
-
- From Date: -
-
- To Date: -
-
- Member Account:  - - -
-
- -
+{* Form Start *} +{$ui = [ + 'id' => 'searchForm', + 'action' => "{$thisUrl}?page={$thisPage}", + 'method' => 'post' +]} +{include file='ui/f6/form-start.html'} + + + + + + + + + +
+ Search Payments +
+
+
+ From Date: +
+
+ To Date: +
+
+ Member Account:  + + +
+
+
-
+
+
+ +
+

Total found: {$numbDisplayed}

+{if $paging} + + +{/if}
-

Total found: {$numbDisplayed}

- {if $paging} - - - {/if} -
- - - - - - - - - - - - {if $havePayments} - {assign var="i" value="0"} - {foreach $payments as $t} - - - - - - - - - - - {/foreach} - {else} - - {/if} - -
Member NameTimeAmountPayment Method - Payment Notes
{$t.member_name} {$t.transaction_time.datetime} {$t.amount|string_format:"%.2f"} {$t.payment_method} {$t.payment_data}
(no Payments listed)
- - {if $paging} - - - {/if} - - {* Form End *} - {include file='ui/f6/form-end.html'} - - + }); + - {include file='admin/billing/exportPaymentModal.html'} +{* Payment Modals *} +{include file='admin/billing/exportPaymentModal.html'} -
+{* Grid End *} +{include file='ui/f6/grid-end.html'} + +{* Footer *} {include file='admin/billing/footer.html'} diff --git a/views/admin/billing/reports.html b/views/admin/billing/reports.html index 688e0b3..4306064 100644 --- a/views/admin/billing/reports.html +++ b/views/admin/billing/reports.html @@ -1,312 +1,328 @@ {include file='admin/billing/header.html'}
-

Reports

- {* include file='admin/billing/reportsSubHeader.html' *} +

Reports

+{* include file='admin/billing/reportsSubHeader.html' *} - {if $option} -

- {if $option == 'openAccounts'} - Open Accounts - {elseif $option == 'closedAccounts'} - Closed Accounts - {elseif $option == 'accountsByAge'} - Accounts By Age - {elseif $option == 'reportGenerator'} - Report Generator - {elseif $option == 'noAccounts'} - No Accounts - {elseif $option == 'allAccounts'} - All Accounts - {/if} -

- {/if} +{if $option} +

+ {if $option == 'openAccounts'} + Open Accounts + {elseif $option == 'closedAccounts'} + Closed Accounts + {elseif $option == 'accountsByAge'} + Accounts By Age + {elseif $option == 'reportGenerator'} + Report Generator + {elseif $option == 'noAccounts'} + No Accounts + {elseif $option == 'allAccounts'} + All Accounts + {/if} +

+{/if} - {if $option == 'reportGenerator'} -
Report Export
- {/if} +{if $option == 'reportGenerator'} +
Report Export
+{/if} -
- - - - - - - {if $option == 'reportGenerator'} -
- Filter Reports +{* Form Start *} +{$ui = [ + 'id' => 'reports-form', + 'action' => "{$thisUrl}?page={$thisPage}", + 'method' => 'get', + 'file' => false +]} +{include file='ui/f6/form-start.html'} -
+ + + + + + +{if $option == 'reportGenerator'} +
+ Filter Reports -
+
- {if $paymentTypes} -
+
- {* Payment Types *} - {$ui = [ - 'value' => $smarty.request.invoice_types, - 'field' => 'invoice_types', - 'label' => 'Payment Types', - 'list' => $paymentTypes, - 'l_label' => 'name', - 'l_value' => 'id', - 'l_blank' => false, - 'l_size' => 10, - 'required' => false, - 'errorText' => 'Payment Types is Required', - 'dataError' => '' - ]} - {include file='ui/f6/multiselect.html'} + {if $paymentTypes} +
-
- {/if} + {* Payment Types *} + {$ui = [ + 'value' => $smarty.request.invoice_types, + 'field' => 'invoice_types', + 'label' => 'Payment Types', + 'list' => $paymentTypes, + 'l_label' => 'name', + 'l_value' => 'id', + 'l_blank' => false, + 'l_size' => 10, + 'required' => false, + 'errorText' => 'Payment Types is Required', + 'dataError' => '' + ]} + {include file='ui/f6/multiselect.html'} - {if $counties} -
+
+ {/if} - {* Counties *} - {$ui = [ - 'value' => $smarty.request.counties, - 'field' => 'counties', - 'label' => 'Counties', - 'list' => $counties, - 'l_label' => 'name', - 'l_value' => 'id', - 'l_blank' => false, - 'l_size' => 10, - 'required' => false, - 'errorText' => 'Counties is Required', - 'dataError' => '' - ]} - {include file='ui/f6/multiselect.html'} + {if $counties} +
-
- {/if} -
+ {* Counties *} + {$ui = [ + 'value' => $smarty.request.counties, + 'field' => 'counties', + 'label' => 'Counties', + 'list' => $counties, + 'l_label' => 'name', + 'l_value' => 'id', + 'l_blank' => false, + 'l_size' => 10, + 'required' => false, + 'errorText' => 'Counties is Required', + 'dataError' => '' + ]} + {include file='ui/f6/multiselect.html'} - {* Member Name *} - {$ui = [ - 'value' => $smarty.request.member_name, - 'field' => 'member_name', - 'label' => 'Member Name', - 'required' => false, - 'errorText' => 'Member Name is Required', - 'dataError' => '' - ]} - {include file='ui/f6/text.html'} - - {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} - {* Account Number *} - {$ui = [ - 'value' => $smarty.request.account_number, - 'field' => 'account_number', - 'label' => 'Account Number', - 'required' => false, - 'errorText' => 'Account Number is Required', - 'dataError' => '' - ]} - {include file='ui/f6/text.html'} - {/if} +
+ {/if} +
- {* From *} - {$ui = [ - 'value' => $smarty.request.from_date, - 'field' => 'from_date', - 'label' => 'From', - 'required' => false, - 'errorText' => 'From is Required', - 'dataError' => '' - ]} - {include file='ui/f6/text.html'} + {* Member Name *} + {$ui = [ + 'value' => $smarty.request.member_name, + 'field' => 'member_name', + 'label' => 'Member Name', + 'required' => false, + 'errorText' => 'Member Name is Required', + 'dataError' => '' + ]} + {include file='ui/f6/text.html'} - {* To *} - {$ui = [ - 'value' => $smarty.request.to_date, - 'field' => 'to_date', - 'label' => 'To', - 'required' => false, - 'errorText' => 'To is Required', - 'dataError' => '' - ]} - {include file='ui/f6/text.html'} + {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} + {* Account Number *} + {$ui = [ + 'value' => $smarty.request.account_number, + 'field' => 'account_number', + 'label' => 'Account Number', + 'required' => false, + 'errorText' => 'Account Number is Required', + 'dataError' => '' + ]} + {include file='ui/f6/text.html'} + {/if} -
-
- {* Transaction Types *} - {$ui = [ - 'value' => $smarty.request.transactionTypes, - 'field' => 'transactionTypes', - 'label' => 'Transaction Types', - 'list' => $actionTypeSel, - 'l_blank' => false, - 'l_size' => 10, - 'required' => false, - 'errorText' => 'Transaction Types is Required', - 'dataError' => '' - ]} - {include file='ui/f6/multiselect.html'} + {* From *} + {$ui = [ + 'value' => $smarty.request.from_date, + 'field' => 'from_date', + 'label' => 'From', + 'required' => false, + 'errorText' => 'From is Required', + 'dataError' => '' + ]} + {include file='ui/f6/text.html'} -
-
- -
+ {* To *} + {$ui = [ + 'value' => $smarty.request.to_date, + 'field' => 'to_date', + 'label' => 'To', + 'required' => false, + 'errorText' => 'To is Required', + 'dataError' => '' + ]} + {include file='ui/f6/text.html'} -
+
+
+ {* Transaction Types *} + {$ui = [ + 'value' => $smarty.request.transactionTypes, + 'field' => 'transactionTypes', + 'label' => 'Transaction Types', + 'list' => $actionTypeSel, + 'l_blank' => false, + 'l_size' => 10, + 'required' => false, + 'errorText' => 'Transaction Types is Required', + 'dataError' => '' + ]} + {include file='ui/f6/multiselect.html'}
+
+ +
-
- {/if} - {if $option == 'accountsByAge'} -

over 60 days

- {/if} -
-
-

Total found: {$totalAccounts}

- {* Paging *} - {if $paging} - - - {/if} -
- {if isset( $accounts ) && !empty( $accounts )} -
- - - - - {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} - - {/if} - - - - - {foreach $accounts as $t} - - - {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} - - {/if} - - - - {/foreach} -
Member Name Account Number Payment Type Balance Due
- - {$t.member_name} - - {$t.account_number} {$t.payment_type} - {if $t.balance_due == 'N/A'} - {$t.balance_due} - {else} - {$t.balance_due|string_format:"%.2f"} - {/if} -
-
- {/if} - {if isset( $transactions ) && !empty( $transactions )} -
- - - - - - - - - - - {foreach $transactions as $t} - - - - - - - - {/foreach} -
Transaction Time Type Member Name Description Amount
{$t.transaction_time.datetime} - {if $t.type == $tActionTypes.Invoice} - Invoice - {else} - Payment - {/if} - - - {$t.member_name} - - {$t.notes} - {if $t.type == 10} - {$t.current_invoice_total|string_format:"%.2f"} - {else} - {$t.current_payment_total|string_format:"%.2f"} - {/if} -
- {/if} - {* Paging *} - {if $paging} - - - {/if} - - {if $option == 'reportGenerator'} -
-
Total Invoices: {$totalInvoices}
-
Total Payments: {$totalPayments}
+
- {/if} - {include file='admin/billing/exportReportModal.html'} +
+{/if} +{if $option == 'accountsByAge'} +

over 60 days

+{/if} +
+
+

Total found: {$totalAccounts}

+{* Paging *} +{if $paging} + + +{/if} +
+{if isset( $accounts ) && !empty( $accounts )} +
+ + + + + {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} + + {/if} + + + + + {foreach $accounts as $t} + + + {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled} + + {/if} + + + + {/foreach} +
Member Name Account Number Payment Type Balance Due
+ + {$t.member_name} + + {$t.account_number} {$t.payment_type} + {if $t.balance_due == 'N/A'} + {$t.balance_due} + {else} + {$t.balance_due|string_format:"%.2f"} + {/if} +
+
+{/if} +{if isset( $transactions ) && !empty( $transactions )} +
+ + + + + + + + + + + {foreach $transactions as $t} + + + + + + + + {/foreach} +
Transaction Time Type Member Name Description Amount
{$t.transaction_time.datetime} + {if $t.type == $tActionTypes.Invoice} + Invoice + {else} + Payment + {/if} + + + {$t.member_name} + + {$t.notes} + {if $t.type == 10} + {$t.current_invoice_total|string_format:"%.2f"} + {else} + {$t.current_payment_total|string_format:"%.2f"} + {/if} +
+
+{/if} +{* Paging *} +{if $paging} + + +{/if} - -
+}); + + +{* Footer *} {include file='admin/billing/footer.html'}