add default account to frontend

This commit is contained in:
2015-10-26 07:49:10 +01:00
parent 0c92fdf167
commit 01da3c470c
45 changed files with 948 additions and 220 deletions

View File

@@ -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 ]);
}