add default account to frontend
This commit is contained in:
@@ -11,11 +11,12 @@ class ReceptionMenuWidget extends Widget{
|
||||
public $customer;
|
||||
public $card;
|
||||
|
||||
public $viewFile = '//common/_menu_reception';
|
||||
public $viewFile = '//common/_reception_menu';
|
||||
|
||||
public $model;
|
||||
|
||||
public function run(){
|
||||
echo $this->render($this->viewFile,['card' => $this->card, 'customer' =>$this->customer ]);
|
||||
echo $this->render($this->viewFile,[ 'model' => $this->model ]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user