add reception global word listener,allow delete transactions, allow delete account_state

This commit is contained in:
2015-12-31 15:42:28 +01:00
parent f59eadd8cc
commit 0b58f628ed
13 changed files with 178 additions and 9 deletions

View File

@@ -163,13 +163,13 @@ class AccountStateController extends Controller
* If deletion is successful, the browser will be redirected to the 'index' page.
* @param integer $id
* @return mixed
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
return $this->redirect(['index']);
\Yii::$app->session->setFlash( 'success','Kassza művelet törölve' );
return $this->redirect(Yii::$app->request->referrer);
}
*/
/**
* Displays a single AccountState model.
* @param integer $id