add reception customer search, fix reception ticket types, fix card number routing, timezone changes

This commit is contained in:
2016-01-06 21:20:21 +01:00
parent 39ae361505
commit 6d2e15cac7
15 changed files with 251 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ use common\models\Card;
use common\models\Customer;
use common\models\Ticket;
use common\models\Account;
use common\models\CardSearch;
/**
* ContactForm is the model behind the contact form.
@@ -19,6 +20,7 @@ class ReceptionForm extends Model
public $customer;
public $tickets;
public $defaultAccount;
public $cardSearchModel;
/**
* @inheritdoc
@@ -56,6 +58,8 @@ class ReceptionForm extends Model
$this->defaultAccount = Account::findOne($defaultAccount);
}
$this->cardSearchModel = new CardSearch();
}
public function getDefaultAccountName(){