protected function submitIndexOrder()
    {
        if ($this->isPosted('delete')) {
            $this->deleteOrder();
        } else if ($this->isPosted('status') && $this->validateIndexOrder()) {
            $this->updateStatusOrder();
        } else if ($this->isPosted('clone') && $this->validateIndexOrder()) {
            $this->cloneOrder();
        }
    }
protected function submitIndexOrder()
    {
        if ($this->isPosted('delete')) {
            $this->deleteOrder();
        } else if ($this->isPosted('status') && $this->validateIndexOrder()) {
            $this->updateStatusOrder();
        } else if ($this->isPosted('clone') && $this->validateIndexOrder()) {
            $this->cloneOrder();
        }
    }
protected function submitIndexOrder ( ) { if ( $ this -> isPosted ( 'delete' ) ) { $ this -> deleteOrder ( ) ; } else if ( $ this -> isPosted ( 'status' ) && $ this -> validateIndexOrder ( ) ) { $ this -> updateStatusOrder ( ) ; } else if ( $ this -> isPosted ( 'clone' ) && $ this -> validateIndexOrder ( ) ) { $ this -> cloneOrder ( ) ; } }
Handles a submitted order
Handles a submitted order