From: Steve Sutton Date: Thu, 14 Feb 2019 17:45:50 +0000 (-0500) Subject: Switch view pdf to print if enabled X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c85728b075ba83500d53e1eb7ad82f0634a15bb8;p=WP-Plugins%2Fglm-member-db-billing.git Switch view pdf to print if enabled If the pdf invoices are enabled switch to print pdf. --- diff --git a/views/admin/billing/statements.html b/views/admin/billing/statements.html index 6177ba0..a4c3367 100644 --- a/views/admin/billing/statements.html +++ b/views/admin/billing/statements.html @@ -101,7 +101,13 @@ Amount Balance Pay Invoice - View + + {if isset( $settings.invoice_pdf_enabled ) && $settings.invoice_pdf_enabled} + Print + {else} + View + {/if} + @@ -128,7 +134,13 @@ {if $transaction.transaction_data.paid} {else}Pay Invoice{/if} {/if} - View + + {if isset( $settings.invoice_pdf_enabled ) && $settings.invoice_pdf_enabled} + Print + {else} + View + {/if} + {* Payments *} {elseif $transaction.type == '20'} diff --git a/views/admin/settings/billing.html b/views/admin/settings/billing.html index 64fa14a..d741876 100644 --- a/views/admin/settings/billing.html +++ b/views/admin/settings/billing.html @@ -224,7 +224,7 @@ - All Members renewal same day each year + All Members renewal same day each year (UPTRA)