{% extends "::base.html.twig" %} {% form_theme form inline_form_theme %} {% block title "List Of Contacts" %} {% block content %} {{ form(form) }}
List Of Contacts
{% for donor in pagination %} {% set id = donor.getId() %} {% if dnr is not null %} {% set did = dnr.getId() %} {% else %} {% set did = 0 %} {% endif %} {{ donor.getName() }}

{% else %} There are no clients under this organization.
Create {% endfor %}
{{ knp_pagination_render(pagination) }}
Details
{% if dnr is not null %} {% set id = dnr.getId() %} {{ dnr.getName() }}
Type{{ dnr.getTypeLabel() }}
Organization{{ dnr.worksFor }}
Is a prospective Client? {% if dnr.isProspective() %}Yes{% else %}No{% endif %}
Category {% if dnr.category is not null %} {{ dnr.category.getName() }} {% endif %}
Funding Type {% if dnr.support is not null %} {{ dnr.support.getName() }} {% endif %}
Funding Area(s) {% for linked in areas %} {{ linked.getOption().getName() }}
{% endfor %}
Email{{ dnr.getEmail()}}
Land Line{{ dnr.landline }}
Mobile{{ dnr.mobile }}
Fax{{ dnr.getFax() }}
Street - Address Line 1{{ dnr.street }}
Zip (Postal) Code - Address Line 2{{ dnr.zip }}
City{{ dnr.city }}
Country{{ dnr.getCountryName() }}
Website Url{{ dnr.getUrl()}}
Notes{{ dnr.notes }}
{#
{% for pointOfContact in dnr.getPointsOfContact() %} {% set sid = pointOfContact.getId() %} {% else %} {% endfor %}
FirstnameLastnameEmailPhone #Actions
{{ pointOfContact.getFirstname()}} {{ pointOfContact.getLastname()}} {{ pointOfContact.getEmail()}} {{ pointOfContact.getPhoneNumber()}} Edit Delete {{ include('AlsuiteFinanceBundle:PointOfContact:delete.html.twig', {'id': sid, 'action': 'Delete', 'object': 'Point Of Contact', 'route': path('poc_del', {'id': sid}), 'modal': 'pointOfContact'}) }}
There are no Points Of Contact under this Client.
#}
{##} {% for contribution in dnr.getContributions() %} {% set cid = contribution.getId() %} {% else %} {% endfor %}
ProjectAmountReceived OnActions
{% if contribution.project is not null %} {{ contribution.Project().getName() }} {% else %} NA {% endif %} {{ currency }} {{ contribution.getAmount()|number_format(2) }} {{ contribution.getReceivedOn()|date(date_format) }}
There are no contributions from this Client recorded yet.
{{ include('AlsuiteFinanceBundle:Donor:del.html.twig', {'id': id, 'action': 'Delete', 'object': 'Contact', 'route': path('donor_delete', {'id': id})}) }} {% else %} Please click on a contact in the left panel to view the details here. {% endif %}
{% endblock %} {% block javascripts %} {% endblock %}