{{#if (eq subscription.status 0)}}

Enjoy the Documize free plan!

{{ui/ui-button color=constants.Color.Yellow light=true label="Get activation key"}} {{/if}} {{#if (eq subscription.status 1)}}

Nice, you have an active product subscription!

{{ui/ui-button color=constants.Color.Yellow light=true label="Get activation key"}} {{/if}} {{#if (eq subscription.status 2)}}

Hmm, your product subscription has expired

{{ui/ui-button color=constants.Color.Yellow light=true label="Get activation key"}} {{/if}} {{#if (eq subscription.status 3)}}

Hmm, {{subscription.activeUsers}} active user count exceeds permitted {{subscription.seats}} user limit

{{ui/ui-button color=constants.Color.Yellow light=true label="Get activation key"}} {{/if}} {{#if (eq subscription.status 4)}}

Hmm, your product subscription is not valid

{{ui/ui-button color=constants.Color.Yellow light=true label="Get activation key"}} {{/if}}
{{input id="sub-id" type="text" value=subscription.id class="form-control" readonly=true}} Quote this ID when contacting us
{{input id="sub-name" type="text" value=subscription.name class="form-control" readonly=true}} The business or personal name of our customer
{{input id="sub-email" type="email" value=subscription.email class="form-control" readonly=true}} Where we will send product update and billing notices
{{input id="sub-seats" type="number" value=subscription.seats class="form-control" readonly=true}} Your user pack size — you have {{subscription.activeUsers}} active users at the moment
{{#if (eq appMeta.location "selfhost")}}
{{input id="sub-start" type="text" value=(formatted-date subscription.start) class="form-control" readonly=true}} When you (re)signed up
{{input id="sub-end" type="text" value=(formatted-date subscription.end) class="form-control" readonly=true}} The renewal date of your annual subscription
{{input id="sub-price" type="text" value=(formatted-price subscription.price) class="form-control" readonly=true}} What you pay each year
{{else}}
{{input id="sub-start" type="text" value=(formatted-date subscription.start) class="form-control" readonly=true}} When we first charged your credit card — charged every 30 days thereafter
{{input id="sub-price" type="text" value=(formatted-price subscription.price) class="form-control" readonly=true}} What you pay us each month
{{/if}} {{#if subscription.trial}}
{{input id="sub-trial" type="text" value="Yes" class="form-control" readonly=true}}
{{/if}} {{#if (eq appMeta.location "selfhost")}}
{{textarea id="sub-license" value=license rows="10" class=(if licenseError "form-control is-invalid" "form-control")}} The activation key you received after sign-up
{{/if}} {{ui/ui-button color=constants.Color.Green light=true label="Activate" onClick=(action "saveLicense")}}
{{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}} {{#if (eq appMeta.location "cloud")}}

Let us know if you would like to close your account or cancel your subscription.

Requests can take up to 24 hours to process.

{{ui/ui-button color=constants.Color.Red light=true label="Close Account" onClick=(action "onRequestClosure")}}
{{/if}} {{/if}}