From: Steve Sutton Date: Wed, 18 Sep 2019 18:55:01 +0000 (-0400) Subject: Update text for payment type to invoice type X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7d70d709caa73d0e8c883785ab833b32d1bfd6cc;p=WP-Plugins%2Fglm-member-db-billing.git Update text for payment type to invoice type Changing the text --- diff --git a/models/admin/member/billing.php b/models/admin/member/billing.php index b7deda2..9096b8d 100644 --- a/models/admin/member/billing.php +++ b/models/admin/member/billing.php @@ -251,7 +251,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling $invoiceTypeId = $account['fieldData']['invoice_type']['value']; } else { $invoiceError = true; - $messages[] = 'No account Payment Type set!'; + $messages[] = 'No account Invoice Type set!'; } // Create an invoice w/line item for this accounts payment type @@ -308,7 +308,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling $invoiceError = true; $messages[] = 'Missing Invoice Data'; if ( !$invoiceTypeId ) { - $messages[] = 'Missing: Payment Type'; + $messages[] = 'Missing: Invoice Type'; } if ( !$memberId ) { $messages[] = 'Missing: Member Id'; diff --git a/views/admin/billing/createInvoice.html b/views/admin/billing/createInvoice.html index 60ed6a0..bfa1daf 100644 --- a/views/admin/billing/createInvoice.html +++ b/views/admin/billing/createInvoice.html @@ -34,7 +34,7 @@ {if $member_invoice}
- Payment Type + Invoice Type
{$member_invoice.name} ${$member_invoice.amount} diff --git a/views/admin/billing/editAccount.html b/views/admin/billing/editAccount.html index 57cdcdd..c0f053a 100644 --- a/views/admin/billing/editAccount.html +++ b/views/admin/billing/editAccount.html @@ -67,7 +67,7 @@ {if !$settings.member_types_enabled}
-
Payment Type
+
Invoice Type
{foreach $invoiceTypes as $type} @@ -603,7 +603,7 @@ jQuery(document).ready(function($){ allAccountFields.removeClass( 'ui-state-error' ); valid = valid && checkRequired( ref_name, accountTips, 'Name is required!' ); - valid = valid && checkRequired( invoice_type, accountTips, 'Payment Type is required!' ); + valid = valid && checkRequired( invoice_type, accountTips, 'Invoice Type is required!' ); {if $settings.account_number_enabled} valid = valid && checkRequired( account_number, accountTips, 'Account Number is required!' ); {/if} diff --git a/views/admin/billing/exportBillingModal.html b/views/admin/billing/exportBillingModal.html index e5f1f21..bc81bc2 100644 --- a/views/admin/billing/exportBillingModal.html +++ b/views/admin/billing/exportBillingModal.html @@ -4,7 +4,7 @@ - +
Payment TypesInvoice Types - + {/if} - + diff --git a/views/admin/billing/settings.html b/views/admin/billing/settings.html index 837a312..9579429 100644 --- a/views/admin/billing/settings.html +++ b/views/admin/billing/settings.html @@ -521,7 +521,7 @@
-

Payment Types

+

Invoice Types

Notifications

Payment TypesInvoice Types {foreach $paymentTypes as $paymentType} diff --git a/views/admin/billing/reports.html b/views/admin/billing/reports.html index d4c1f61..3803eba 100644 --- a/views/admin/billing/reports.html +++ b/views/admin/billing/reports.html @@ -56,18 +56,18 @@ {if $paymentTypes}
- {* Payment Types *} + {* Invoice Types *} {$ui = [ 'value' => $smarty.request.invoice_types|default:'', 'field' => 'invoice_types', - 'label' => 'Payment Types', + 'label' => 'Invoice Types', 'list' => $paymentTypes, 'l_label' => 'name', 'l_value' => 'id', 'l_blank' => false, 'l_size' => 10, 'required' => false, - 'errorText' => 'Payment Types is Required', + 'errorText' => 'Invoice Types is Required', 'dataError' => '' ]} {include file='ui/f6/multiselect.html'} @@ -196,7 +196,7 @@ {if isset( $settings.account_number_enabled ) && $settings.account_number_enabled}
Account Number Payment Type Invoice Type Balance Due