backend/controllers/TransaksiController.php
/**
     * Lists all Transaksi models.
     * @return mixed
     */
Lists all Transaksi models.
@return mixed
Lists all Transaksi models . @return mixed
public function actionIndex()
    {
        $model = Transaksi::find()->joinWith('customer')->joinWith('mobil')->all();
        return $this->render('index', [
            'model' => $model,
        ]);
    }
public function actionIndex ( ) { $ model = Transaksi :: find ( ) -> joinWith ( 'customer' ) -> joinWith ( 'mobil' ) -> all ( ) ; return $ this -> render ( 'index' , [ 'model' => $ model , ] ) ; }
Lists all Transaksi models.
Lists all Transaksi models .