Remove trigger condition - maximalize enter count with ticket
This commit is contained in:
@@ -389,10 +389,18 @@ class CardController extends \backend\controllers\BackendController {
|
||||
$command = $connection->createCommand( Ticket::$SQL_UPDATE );
|
||||
$result = $command->execute();
|
||||
\Yii::info("Tickets updated: " . $result );
|
||||
|
||||
|
||||
\Yii::$app->session->setFlash('success', 'Módosított bérletek száma: ' . $result);
|
||||
|
||||
|
||||
$command = $connection->createCommand( Card::$SQL_CLEARS_STATUS_DOOR );
|
||||
$result = $command->execute();
|
||||
\Yii::info("Door flag cleared: " . $result );
|
||||
|
||||
$command = $connection->createCommand( Card::$SQL_FIX_KEY_STATUS );
|
||||
$result = $command->execute();
|
||||
\Yii::info("Key flag fixed: " . $result );
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
return $this->render("recalculate");
|
||||
|
||||
Reference in New Issue
Block a user