コード例 #1
0
 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')]);
     }
 }
コード例 #2
0
 public function actionIndex()
 {
     return $this->render('index', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('', 'Messages')]);
 }
コード例 #3
0
 public function actionList()
 {
     return $this->render('list', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Reports', 'list')]);
 }
コード例 #4
0
 public function actionSearch()
 {
     return $this->render('search', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Patients', 'search')]);
 }
コード例 #5
0
 public function actionPractice()
 {
     return $this->render('practice', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Administration', 'practice')]);
 }
コード例 #6
0
 public function actionStatements()
 {
     return $this->render('statements', ['PageInfoArr' => PgmbillingHelpers::getPageInfoArr('Billing', 'statements')]);
 }