public function afterPermissionCheck() { $this->goBack = gfGetVar('goBack', false); if ($this->goBack) { $_SESSION['step'] = 0; } $this->redirect = Session::redirectLastStep(1); $this->td_code = gfSessionVar('td_code', ''); }
public function afterPermissionCheck() { $this->td_served = gfSessionVar('td_served', array()); $this->ticket_served = Ticket::fromDatabaseByOperator($this->getOperator()->getCode()); if ($this->ticket_served == null) { $this->pauseButtonEnabled = false; } else { $this->disableNextButton = true; } }
public function afterPermissionCheck() { $this->goBack = gfGetVar('goBack', false); if ($this->goBack) { $step = gfSessionVar('step', 0); if ($step == 2) { $_SESSION['step'] = 1; } else { $_SESSION['step'] = 0; } } $this->redirect = Session::redirectLastStep(2); $this->phone_code = gfSessionVar('phone_code', ''); }
public function afterPermissionCheck() { $this->redirect = Session::redirectLastStep(3); $this->ticket = gfSessionVar('ticket', null); }