{% block vrpayment_order_action_void %}
<sw-modal variant="small"
		  :title="$tc(`vrpayment-order.modal.title.void`)"
		  @modal-close="$emit('modal-close')">

	{% block vrpayment_order_action_void_amount %}
        {# Review if this v-model:checked="isVoid" needs to change to checked #}
		<mt-checkbox
				:label="$tc('vrpayment-order.voidAction.confirm.message')"
				v-model:checked="isVoid">
        </mt-checkbox>
	{% endblock %}

	{% block vrpayment_order_action_void_confirm_button %}
	<template #modal-footer>
		<mt-button variant="primary"
				   @click="voidPayment">
			{{ $tc('vrpayment-order.refundAction.confirmButton.text') }}
		</mt-button>
	</template>
	{% endblock %}

	<mt-loader v-if="isLoading"></mt-loader>
</sw-modal>
{% endblock %}
