disable billing interval when cannot change

This commit is contained in:
Rimian Perkins 2020-03-21 20:30:30 +11:00
parent 22a1a5fcac
commit 48c606908a
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@
<label for="interval">
{{i18n 'discourse_subscriptions.admin.plans.plan.interval'}}
</label>
{{combo-box valueAttribute="value" content=model.plan.intervals value=model.plan.interval}}
{{#if planFieldDisabled}}
{{input disabled=true value=model.plan.interval}}
{{else}}
{{combo-box valueAttribute="value" content=model.plan.intervals value=model.plan.interval}}
{{/if}}
</p>
<p>
<label for="active">