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

@@ -8,14 +8,12 @@ class ReceptionCardNumberWidget extends Widget{
public $number;
public $route;
public $customer;
public $card;
public $viewFile = '//common/_form_card_number';
public $model;
public $viewFile = '//common/_reception_form_card_number';
public function run(){
echo $this->render($this->viewFile,['card' => $this->card, 'customer' =>$this->customer , 'route' => $this->route ]);
echo $this->render($this->viewFile,['model' => $this->model, 'route' => $this->route ]);
}