{lang="billing_agreements_title"}

{lang="billing_agreements_info"}

{{if !\count( $billingAgreements )}}
{lang="billing_agreements_none"}
{{else}}
    {{foreach $billingAgreements as $billingAgreement}}
  1. {{if $billingAgreement['status'] === \IPS\nexus\Customer\BillingAgreement::STATUS_ACTIVE}} {{elseif $billingAgreement['status'] === \IPS\nexus\Customer\BillingAgreement::STATUS_SUSPENDED}} {{elseif $billingAgreement['status'] === \IPS\nexus\Customer\BillingAgreement::STATUS_CANCELED}} {{else}} {{endif}}
    {$billingAgreement['id']}

    {$billingAgreement['term']}

    {{endforeach}}
{{endif}}