public function actionView($paymentId)
 {
     $payment = Payment::findOne($paymentId);
     return $this->render('view', ['payment' => $payment]);
 }
Beispiel #2
0
 /**
  * #return \yii\db\ActiveRelation
  */
 public function getPayments()
 {
     return $this->hasMany(\app\models\ar\Payment::className(), ['order_id' => 'id']);
 }