Skip to content

Commit

Permalink
Merge pull request #58 from OnionDev1885/patch-1
Browse files Browse the repository at this point in the history
Bug Fixes and a little improvements
  • Loading branch information
mahtab2003 authored Oct 8, 2022
2 parents c3234ba + 4aab09a commit 6f133c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template/default/page/admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Registered Clients
</div>
<div class="text-muted">
<?= $ci_clients ?> in total
<?= $this->user->get_count('active') + $this->user->get_count('inactive') ?> in total
</div>
</div>
</div>
Expand All @@ -45,7 +45,7 @@
Hosting Accounts
</div>
<div class="text-muted">
<?= $ci_accounts ?> in total
<?= $this->account->get_count('active') + $this->account->get_count('suspended') + $this->account->get_count('deactivated') ?> in total
</div>
</div>
</div>
Expand Down Expand Up @@ -277,7 +277,7 @@
}]
};
var options1 = {
series: [<?= $this->account->get_count('active'); ?>, <?= $this->user->get_count('suspended') + $this->user->get_count('deactivated'); ?>],
series: [<?= $this->account->get_count('active'); ?>, <?= $this->account->get_count('suspended') + $this->account->get_count('deactivated'); ?>],
chart: {
type: 'donut'
},
Expand Down Expand Up @@ -318,4 +318,4 @@
chart1.render();
var chart2 = new ApexCharts(document.querySelector("#tickets-chart"), options2);
chart2.render();
</script>
</script>

0 comments on commit 6f133c6

Please sign in to comment.