public function ActionsForm()
    {
        if ($order = $this->orderfromid()) {
            $form = OrderActionsForm::create($this->owner, 'ActionsForm', $order);
            $form->extend('updateActionsForm', $order);
            if (!$form->Actions()->exists()) {
                return null;
            }

            return $form;
        }
        return null;
    }
public function ActionsForm()
    {
        if ($order = $this->orderfromid()) {
            $form = OrderActionsForm::create($this->owner, 'ActionsForm', $order);
            $form->extend('updateActionsForm', $order);
            if (!$form->Actions()->exists()) {
                return null;
            }

            return $form;
        }
        return null;
    }
public function ActionsForm ( ) { if ( $ order = $ this -> orderfromid ( ) ) { $ form = OrderActionsForm :: create ( $ this -> owner , 'ActionsForm' , $ order ) ; $ form -> extend ( 'updateActionsForm' , $ order ) ; if ( ! $ form -> Actions ( ) -> exists ( ) ) { return null ; } return $ form ; } return null ; }
Build a form for cancelling, or retrying payment for a placed order.

@return Form
Build a form for cancelling or retrying payment for a placed order .