',nl2br( fqp_esc_html__( $sp ) );
endif; ?>
*/ ?>
'text',
'value' => $data[ 'loyalty_card_id' ],
'attribs' => [
'disabled' => 'disabled',
'placeholder' => fqp__( 'Card ID' ) . ' (XXXX XXXX XXXX XXXX XXX)',
],
];
?>
'button',
'label' => fqp__( 'Apply voucher' ),
'attribs' => [
'type' => 'button',
'class' => 'loyalty-card-apply btn btn-gray right hidden',
],
];
echo '' . \FQP\Form\Step6::render_element( 'loyalty_card_apply', $specs ) . '';
$specs = [
'type' => 'button',
'label' => fqp__( 'Remove voucher' ),
'attribs' => [
'type' => 'button',
'class' => 'loyalty-card-remove btn btn-gray right hidden',
],
];
echo '' . \FQP\Form\Step6::render_element( 'loyalty_card_remove', $specs ) . '';
?>
'button',
'label' => 'Back',
'attribs' => [
'type' => 'button',
'class' => 'back btn btn-gray btn-gray-arrow-back',
'onclick' => "document.location.href='". esc_attr( $page_url . '?action=' . $prev_step ) . "'",
],
];
echo \FQP\Form\Step6::render_element( 'back', $specs );
$specs = [
'type' => 'button',
'label' => 'SUBMIT ORDER',
'escape_label' => true,
'attribs' => [
'type' => 'submit',
'class' => 'submit btn btn-primary btn-white-arrow btn-large',
//'onclick' => "this.form.submit();",
],
];
echo \FQP\Form\Step6::render_element( 'submit_btn', $specs );
?>