public function actionIndex()
 {
     if (!\Yii::$app->user->isGuest) {
         return $this->render('index', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('', 'Dashboard')]);
     }
     $model = new LoginForm();
     if ($model->load(Yii::$app->request->post()) && $model->login()) {
         return $this->goBack();
     } else {
         return $this->render('login', ['model' => $model, 'PageInfoArr' => PgmbillingHelpers::getPageInfoArr('', 'Login')]);
     }
 }
 public function actionIndex()
 {
     return $this->render('index', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('', 'Messages')]);
 }
 public function actionList()
 {
     return $this->render('list', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Reports', 'list')]);
 }
 public function actionSearch()
 {
     return $this->render('search', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Patients', 'search')]);
 }
 public function actionPractice()
 {
     return $this->render('practice', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Administration', 'practice')]);
 }
 public function actionStatements()
 {
     return $this->render('statements', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Billing', 'statements')]);
 }