Confirm archiving a payment gateway
This commit is contained in:
parent
938096d50b
commit
66581b6f57
1 changed files with 8 additions and 1 deletions
|
|
@ -13,9 +13,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
@if (in_array($entityType, [ENTITY_ACCOUNT_GATEWAY]))
|
||||
if (action == 'archive') {
|
||||
if (!confirm('{!! trans("texts.are_you_sure") !!}')) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
@endif
|
||||
|
||||
$('#bulk_public_id').val(id);
|
||||
$('#bulk_action').val(action);
|
||||
|
||||
$('form.bulk-form').submit();
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue