$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
$invoiceError = true;
$messages[] = 'Missing Invoice Data';
if ( !$invoiceTypeId ) {
- $messages[] = 'Missing: Payment Type';
+ $messages[] = 'Missing: Invoice Type';
}
if ( !$memberId ) {
$messages[] = 'Missing: Member Id';
{if $member_invoice}
<div class="glm-billing-field">
<div class="glm-billing-label glm-required">
- Payment Type
+ Invoice Type
</div>
<div class="glm-billing-input">
{$member_invoice.name} ${$member_invoice.amount}
{if !$settings.member_types_enabled}
<div class="glm-billing-field">
- <div class="glm-billing-label{if $account.fieldRequired.invoice_type} glm-required{/if}">Payment Type</div>
+ <div class="glm-billing-label{if $account.fieldRequired.invoice_type} glm-required{/if}">Invoice Type</div>
<div class="glm-billing-input{if $account.fieldFail.invoice_type} glm-form-bad-input{/if}" data-tabid="glm-invoice-type">
<select name="invoice_type" required>
{foreach $account.fieldData.invoice_type.list as $type}
{if !$settings.member_types_enabled}
- {* Payment Type *}
+ {* Invoice Type *}
{$ui = [
'value' => $data.fieldData.invoice_type.value,
'field' => 'invoice_type',
- 'label' => 'Payment Type',
+ 'label' => 'Invoice Type',
'list' => $data.fieldData.invoice_type.list,
'l_label' => 'name',
'l_value' => 'value',
'l_blank' => false,
'required' => $data.fieldRequired.invoice_type,
- 'errorText' => 'Payment Type is Required'
+ 'errorText' => 'Invoice Type is Required'
]}
{include file='ui/f6/select.html'}
{/if}
{if !$settings.member_types_enabled}
<div class="cell small-12">
- <label class="glm-required">Payment Types</label>
+ <label class="glm-required">Invoice Types</label>
<select name="invoice_type" required>
<option value="0"></option>
{foreach $invoiceTypes as $type}
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}
<input type="hidden" name="glm_action" value="accountsListExport">
<table class="glm-admin-table unstriped">
<tr>
- <th>Payment Types</th>
+ <th>Invoice Types</th>
<td>
<select multiple size="5" id="invoice_types" name="invoice_types[]">
{foreach $paymentTypes as $paymentType}
<input type="hidden" name="glm_action" value="reportsListExport">
<table class="glm-admin-table unstriped">
<tr>
- <th>Payment Types</th>
+ <th>Invoice Types</th>
<td>
<select multiple size="5" id="invoice_types" name="invoice_types[]">
{foreach $paymentTypes as $paymentType}
<div class="grid-x grid-padding-x">
{if $paymentTypes}
<div class="cell small-12 medium-3">
- <label>Payment Types:</label><br>
+ <label>Invoice Types:</label><br>
<select multiple size="10" name="invoice_types[]">
{foreach $paymentTypes as $paymentType}
<option value="{$paymentType.id}"{if isset($smarty.request.invoice_types) && in_array( $paymentType.id, $smarty.request.invoice_types )} selected{/if}>{$paymentType.name}</option>
{if $paymentTypes}
<div class="cell small-12 medium-auto">
- {* 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'}
{if isset( $settings.account_number_enabled ) && $settings.account_number_enabled}
<th style="width: 200px;"> Account Number </th>
{/if}
- <th style="width: 200px;"> Payment Type </th>
+ <th style="width: 200px;"> Invoice Type </th>
<th style="width: 100px;"> Balance Due </th>
</tr>
</thead>
</form>
<div class="tabs-panel" id="panel2">
- <p>Payment Types</p>
+ <p>Invoice Types</p>
</div>
<div class="tabs-panel" id="panel3">
<p>Notifications</p>