Ejemplo n.º 1
0
 public function _new()
 {
     parent::_new();
     $whaction = new WHAction();
     $this->view->set('backflush_actions', $whaction->getActions('B'));
     $this->view->set('complete_actions', $whaction->getActions('C'));
     $this->view->set('issue_actions', $whaction->getActions('I'));
     $this->view->set('despatch_actions', $whaction->getActions('D'));
 }
Ejemplo n.º 2
0
 public function _new()
 {
     $flash = Flash::Instance();
     // Get the Action
     $whaction = new WHAction();
     $whactions = $whaction->getActions('T');
     $this->view->set('transfer_actions', $whactions);
     // Display the New/Edit screen
     parent::_new();
 }