Add door log changes, direction types, and manual reading event

This commit is contained in:
2016-02-16 18:37:16 +01:00
parent f81af9e5bb
commit 769b5d16de
8 changed files with 230 additions and 43 deletions

View File

@@ -54,7 +54,7 @@ class CustomerController extends Controller
$model->number = $number;
$model->readCard();
$model->mkDoorLog();
if ( $model->isFreeCard() ){
return $this->redirect([ 'create', 'number' => $model->card->number ]);