add id_account to door log, add key import to backend with no menu

This commit is contained in:
2016-02-16 21:42:13 +01:00
parent 6221945bb7
commit 0ce6958e0b
11 changed files with 312 additions and 138 deletions

View File

@@ -113,6 +113,8 @@ class ReceptionForm extends Model
$dlog->type = $this->card->type;
$dlog->source_app = DoorLog::$SOURCE_APP_FITNESS_ADMIN;
$dlog->id_account = Account::readDefault();
$dlog->created_at = date('Y-m-d H:i:s');
$dlog->save(false);
}