Added Callcenter Stats

This commit is contained in:
Frank Schubert
2025-07-17 20:30:53 +02:00
parent b3906626a5
commit 42d28c894e
8 changed files with 795 additions and 1 deletions
@@ -0,0 +1,26 @@
<?php
class CallcenterstatsController extends mfBaseController {
protected function init() {
$this->needlogin = true;
$me = new User();
$me->loadMe();
$this->me = $me;
$this->layout()->set("me", $me);
if(!$me->is("Admin")) {
$this->redirect("Dashboard");
}
}
protected function indexAction() {
$this->layout()->setTemplate("Callcenterstats/Index");
$identities = CallcenterIdentity::getAll();
$this->layout()->set("identities", $identities);
}
}