Add new flag / flag_out logick
This commit is contained in:
@@ -137,13 +137,17 @@ class ContractController extends Controller {
|
||||
] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deletes an existing Contract model.
|
||||
* If deletion is successful, the browser will be redirected to the 'index' page.
|
||||
*
|
||||
* @param integer $id
|
||||
*
|
||||
* @param integer $id
|
||||
* @return mixed
|
||||
* @throws Exception
|
||||
* @throws NotFoundHttpException
|
||||
* @throws \Exception
|
||||
* @throws \yii\db\Exception
|
||||
*/
|
||||
public function actionDelete($id) {
|
||||
$model = $this->findModel ( $id );
|
||||
|
||||
Reference in New Issue
Block a user