% if (typeof customer !== 'undefined' && typeof subscriptions !== 'undefined') { %>
<%= welcome %> <%= customer.attributes.firstname %> <%= customer.attributes.lastname %>
<% if ((subscriptions.length == 0) || (subscriptions.length > 0 && subscriptions[0].instance == null)) { %>
<% } %>
<% } %>
<% if (typeof subscriptions !== 'undefined' && subscriptions.length > 0) { %>
1
<%= introMessage %>
<%= warningMessage %><%= irreversible %>
<% } else if (typeof subscriptions !== 'undefined' && subscriptions.length == 0) { %>
<% } else { %>
<%= errorMessage %>
<% } %>