1.7.48. ServicePlan drop (up)

1.7.48.1. 方法

1.7.48.1.1. 已选定?

返回是否选择了计划

{% if plan.selected? %}
  <p>You will signup to {{ plan.name }}</p>
{% endif %}
1.7.48.1.2. 购买?

返回计划是否购买

{% if plan.bought? %}
   <p>You are  on this plan already!</p>
{% endif %}
1.7.48.1.3. 功能

返回计划可见的功能

{% if plan == my_free_plan %}
   <p>These plans are the same.</p>
{% else %}
   <p>These plans are not the same.</p>
{% endif %}
1.7.48.1.4. setup_fee

返回计划的设置费用

1.7.48.1.5. name

返回计划名称

<h2>We offer you a new {{ plan.name }} plan!</h2>
1.7.48.1.6. system_name

返回计划的系统名称

{% for plan in available_plans %}
  {% if plan.system_name == 'my_free_plan' %}

    <p>You will buy our only free plan!</p>
  {% endif %}
{% endfor %}
1.7.48.1.7. id

返回计划 ID

1.7.48.1.8. 免费?

如果计划 未付款,则为免费计划。请参见 付费的方法

{% if plan.free? %}
   <p>This plan is free of charge.</p>
{% else %}

     <p>Plan costs</p>
     Setup fee {{ plan.setup_fee }}
     Flat cost {{ plan.flat_cost }}

{% endif %}
1.7.48.1.10. approval_required?

返回计划是否需要审批?

{% if plan.approval_required? %}
   <p>This plan requires approval.</p>
{% endif %}
1.7.48.1.11. flat_cost

返回计划的月度固定费用

1.7.48.1.12. service

示例: 使用服务计划丢弃

<p class="notice">The examples for plan drop apply here</p>
Service of this plan {{ plan.service.name }}