<?php
/**
 * Template used for ajax responses which resulted in error.
 *
 * @var string $response
 * @var string $attempt
 */
if ( ! defined( 'ABSPATH' ) ) exit;
?>

<p class="fi-ksef-status pending">
	<span style="float:none" class="spinner is-active"></span>
	<span><?php esc_html_e( 'Please wait... Retrieving document status from KSeF servers.', 'ksef-for-flexible-invoices' ); ?></span>
</p>
<p>
	(<?php echo esc_html( $attempt ) ?>)
	<strong><?php esc_html_e( 'KSeF response:', 'ksef-for-flexible-invoices' ); ?></strong> <?php echo esc_html( $response ); ?>
</p>

