If the pdf invoices are enabled switch to print pdf.
<th>Amount</th>
<th>Balance</th>
<th>Pay Invoice</th>
- <th>View</th>
+ <th>
+ {if isset( $settings.invoice_pdf_enabled ) && $settings.invoice_pdf_enabled}
+ Print
+ {else}
+ View
+ {/if}
+ </th>
</tr>
</thead>
<tbody>
{if $transaction.transaction_data.paid} {else}<a href="{$thisUrl}?page={$thisPage}&glm_action=billing&option=makepayment&member={$memberID}">Pay Invoice</a>{/if}
{/if}
</td>
- <td class="glm-shrink"> <a href="{$thisUrl}?page={$thisPage}&glm_action=billing&option=view&member={$memberID}&id={$transaction.type_id}">View</a> </td>
+ <td class="glm-shrink">
+ {if isset( $settings.invoice_pdf_enabled ) && $settings.invoice_pdf_enabled}
+ <a href="{$ajaxUrl}?action=glm_members_admin_ajax&glm_action=createPDFInvoice&id={$transaction.type_id}" target="_blank">Print</a>
+ {else}
+ <a href="{$thisUrl}?page={$thisPage}&glm_action=billing&option=view&member={$memberID}&id={$transaction.type_id}">View</a>
+ {/if}
+ </td>
</tr>
{* Payments *}
{elseif $transaction.type == '20'}
</th>
<td>
<input type="checkbox" name="renewal_day_static"{if $billingSettings.fieldData.renewal_day_static.value} checked="checked"{/if}>
- All Members renewal same day each year
+ All Members renewal same day each year (UPTRA)
</td>
</tr>