Добавил поля Заказы и Доход в данные статистик

parent 152e37c5
......@@ -343,9 +343,11 @@ if (!$error) {
<th><span class="sort">Показы</span></th>
<th><span class="sort">Клики</span></th>
<th><span class="sort">CTR</span></th>
<th><span class="sort">Расход</span></th>
<th><span class="sort">eCPM</span></th>
<th><span class="sort">eCPC</span></th>
<th><span class="sort">Расход</span></th>
<th><span class="sort">Заказы</span></th>
<th><span class="sort">Доход</span></th>
</tr>
</thead>
<tbody>
......@@ -359,9 +361,11 @@ if (!$error) {
<td class="stat <?= $target_class ?>"><?= $stat['views'] ?></td>
<td class="stat"><?= $stat['clicks'] ?></td>
<td class="stat"><?= $stat['ctr'] ?></td>
<td class="stat <?= $target_class ?>"><?= formatMoney($stat['money']) ?></td>
<td class="stat"><?= $stat['cpm'] ?> &#8372;</td>
<td class="stat"><?= $stat['cpc'] ?> &#8372;</td>
<td class="stat <?= $target_class ?>"><?= formatMoney($stat['money']) ?></td>
<td class="stat"><?= $stat['order_cnt'] ?></td>
<td class="stat"><?= formatMoney($stat['order_money']) ?></td>
</tr>
<?php endforeach ?>
<?php endif ?>
......
......@@ -83,10 +83,12 @@ $error = $this->error;
<th class="stat">Показы</th>
<th class="stat">Клики</th>
<th class="stat">CTR</th>
<th class="stat">Расход</th>
<th class="stat">Охват</th>
<th class="stat">eCPM</th>
<th class="stat">eCPC</th>
<th class="stat">Расход</th>
<th class="stat">Заказы</th>
<th class="stat">Доход</th>
</tr>
</thead>
<tbody>
......@@ -114,10 +116,12 @@ $error = $this->error;
<td class="stat <?= $target_class ?>"><?= $stat['views'] ?></td>
<td class="stat"><?= $stat['clicks'] ?></td>
<td class="stat"><?= $stat['ctr'] ?></td>
<td class="stat"><?= $stat['money'] ?></td>
<td class="stat <?= $target_class ?>"><?= $stat['reach'] ?></td>
<td class="stat"><?= $stat['cpm'] ?></td>
<td class="stat"><?= $stat['cpc'] ?></td>
<td class="stat"><?= $stat['money'] ?></td>
<td class="stat"><?= $stat['order_cnt'] ?></td>
<td class="stat"><?= $stat['order_money'] ?></td>
</tr>
<?php if ($groups_campaigns[$group_id]): ?>
......@@ -172,10 +176,12 @@ $error = $this->error;
<td class="stat <?= $target_class ?>"><?= $stat['views'] ?></td>
<td class="stat"><?= $stat['clicks'] ?></td>
<td class="stat"><?= $stat['ctr'] ?></td>
<td class="stat"><?= formatMoney($stat['money']) ?></td>
<td class="stat <?= $target_class ?>"><?= $stat['reach'] ?></td>
<td class="stat"><?= $stat['cpm'] ?> &#8372;</td>
<td class="stat"><?= $stat['cpc'] ?> &#8372;</td>
<td class="stat"><?= formatMoney($stat['money']) ?></td>
<td class="stat"><?= $stat['order_cnt'] ?></td>
<td class="stat"><?= formatMoney($stat['order_money']) ?></td>
</tr>
<?php endforeach; ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment