From: Steve Sutton Date: Mon, 16 Apr 2018 19:39:52 +0000 (-0400) Subject: Edit account page update X-Git-Tag: v1.0.0^2~50 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bed8842376aebb0af86a8cab30a69690b6a0ae3c;p=WP-Plugins%2Fglm-member-db-billing.git Edit account page update Show the employees if employees is active in settings. --- diff --git a/views/admin/billing/editAccount.html b/views/admin/billing/editAccount.html index 371d5bc..510ece3 100644 --- a/views/admin/billing/editAccount.html +++ b/views/admin/billing/editAccount.html @@ -57,24 +57,26 @@ {/if} -
-
- Associated Members/Employees -
-
- - {if $employees} - {foreach $employees as $employee} -
- {$employee.ref_name} - -
- {/foreach} - {/if} -
+ {if $settings.allow_employees} +
+
+ Associated Members/Employees +
+
+ + {if $employees} + {foreach $employees as $employee} +
+ {$employee.ref_name} + +
+ {/foreach} + {/if}
+
+ {/if}