add reception customer search, fix reception ticket types, fix card number routing, timezone changes
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user