<?php

/** @var integer $id */
/** @var array $statistic */
?>

<div class="table-responsive">
    <table id="<?= $id ?>" class="table no-margin">
        <thead>
        <tr>
            <th><?= Yii::t('hipanel:document', 'Date') ?></th>
            <th><?= Yii::t('hipanel:document', 'Count') ?></th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($statistic as $date => $count) : ?>
            <tr>
                <td><?= Yii::$app->formatter->asDate($date, 'php:M Y') ?></td>
                <td><?= $count ?></td>
            </tr>
        <?php endforeach; ?>
        </tbody>
    </table>
</div>

<?php

/** @var integer $id */
/** @var array $statistic */
?>

<div class="table-responsive">
    <table id="<?= $id ?>" class="table no-margin">
        <thead>
        <tr>
            <th><?= Yii::t('hipanel:document', 'Date') ?></th>
            <th><?= Yii::t('hipanel:document', 'Count') ?></th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($statistic as $date => $count) : ?>
            <tr>
                <td><?= Yii::$app->formatter->asDate($date, 'php:Y-m-d') ?></td>
                <td><?= $count ?></td>
            </tr>
        <?php endforeach; ?>
        </tbody>
    </table>
</div>

Allow distinguish document generation dates (days)
Allow distinguish document generation dates (days)
