src/WooCommerce/Shop/InvoiceStatusOverviewForm.php
private function getCommunicationErrorFields(Result $result)
    {
        $fields = array();
        $fields += array(
            'messages' => array(
                'type' => 'markup',
                'label' => $this->t('messages'),
                'value' => $result->getMessages(Result::Format_FormattedText),
            ),
        );
        return $fields;
    }
private function getCommunicationErrorFields(Result $result)
    {
        $fields = array();
        $fields += array(
            'messages' => array(
                'type' => 'markup',
                'label' => $this->t('messages'),
                'value' => $result->getMessages(Result::Format_FormattedText),
            ),
        );
        return $fields;
    }
private function getCommunicationErrorFields ( Result $ result ) { $ fields = array ( ) ; $ fields += array ( 'messages' => array ( 'type' => 'markup' , 'label' => $ this -> t ( 'messages' ) , 'value' => $ result -> getMessages ( Result :: Format_FormattedText ) , ) , ) ; return $ fields ; }
Returns additional form fields to show when the invoice has been sent but
a communication error occurred in retrieving the entry.

@param \Siel\Acumulus\Web\Result $result
The result that details the error.

@return array[]
Array of form fields.
Returns additional form fields to show when the invoice has been sent but a communication error occurred in retrieving the entry .