{% extends 'D2BillingBundle::layout.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra%} {% block page_header %}
{% if is_granted('ROLE_ADMIN_SALES_VIEW') %} Back {% endif %}
View Sms Account.
{% endblock page_header %} {% block content %}

Account Details

Allocated To {% if entity.company %}{{ entity.company.companyname }} {% endif %}
Active {{ entity.status ? 'Active' : 'Inactive' }}
Approved {{ entity.approved ? 'Active' : 'Inactive' }}
Account number {{ entity.accountnumber }}
Company name {{ entity.companyname }}
Trading as {{ entity.tradingas }}
Invoice name {{ entity.invoicename == 'company_name' ? entity.companyname : entity.tradingas }}
Vat number {{ entity.vatnumber }}
Ck number {{ entity.cknumber }}

Contact Details

Email {{ entity.email }}
Tel {{ entity.tel }}
Fax {{ entity.fax }}

Postal Address

Street {{ entity.postaladdressstreet }}
Suburb {{ entity.postaladdresssuburb }}
City {{ entity.postaladdresscity }}
Province {{ entity.postaladdressprovice }}
Country {{ entity.postaladdresscountry }}
Code {{ entity.postaladdresscode }}

Physical Address

Street {{ entity.physicaladdressstreet }}
Suburb {{ entity.physicaladdresssuburb }}
City {{ entity.physicaladdresscity }}
Province {{ entity.physicaladdressprovince }}
Country {{ entity.physicaladdresscountry }}
Code {{ entity.physicaladdresscode }}

Document Recipients

{% if accountdocrecipients is empty %}
There are currently no recipients set for this customer
{% else %} {% for rdoc in accountdocrecipients %} {% endfor %}
Recipient Type
{{ rdoc.email }} {{ rdoc.type }} {% if is_granted('ROLE_ADMIN_SALES_MANAGE') %}
{% endif %}
{% endif %} {% if is_granted('ROLE_ADMIN_SALES_MANAGE') %} Add Recipient {% endif %}
{% endblock content %}