<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<div class='details_popup'>
  <div class="details_popup_header">
    <?php echo $this->translate("Notification Report"); ?>  
  </div>
  <div class="details_popup_content">
    <p><?php echo $this->translate("Here, you can see the notifications sent date & time, and received & clicked counts.");?></p>
    <table class="admin_table w-100">
      <tr>
        <td><?php echo $this->translate("Sent Date"); ?></td>
        <td><?php echo $this->locale()->toDateTime($this->scheduled->creation_date) ?></td>
      </tr>
      <tr>
        <td><?php echo $this->translate("Total Notifications Received"); ?></td>
        <td><?php echo engine_count($this->receivers); ?></td>
      </tr>
      <tr> 
        <td><?php echo $this->translate("Total Notifications Clicked"); ?></td>
        <td><?php echo engine_count($this->clicked); ?></td>
      </tr>
    </table>
	</div>
</div>
