{% extends 'base_admin.html.twig' %} {% block title %}Investor e-mails{% endblock %} {% block body %}

Mail index

{% if status == "Pending" %}
{{ status }}
{% else %}
{{ status }}
{% endif %}

{% if status == "Pending" %}

Send the E-mails

Send Delete All Pending Emails

{% endif %} {% set id=null %} {% for mail in mails %} {% if mail.pub %} {% set shareholder = mail.pub.getInvestorByEmail(mail.recipient) %} {% endif %} {% else %} {% endfor %}
Pub Recipient Recipient email Investment Attachment Subject Created At Send At Cc #
{% if mail.pub is not null %} {{ mail.pub.name }} {% endif %} {% for user in users %} {% if mail.recipient==user.email %} {{ user.fullName }} {% set id=user.id %} {% endif %} {% endfor %} {{ mail.recipient }} {% if shareholder is defined and shareholder is not null %} {{ shareholder.getInvestmentAmountForPub(mail.pub) |number_format }} {% endif %} {% if mail.attachment is not null %} Download {% endif %} {{ mail.subject }} {{ mail.createdAt ? mail.createdAt|date('d-M-Y') : '' }} {{ mail.sendAt ? mail.sendAt|date('d-M-Y') : 'Pending' }} {{ mail.cc }} Show Edit Delete
{% endblock %} {% block datatable %} {% endblock datatable %}