mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Confirm archiving a payment gateway
This commit is contained in:
parent
938096d50b
commit
66581b6f57
@ -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_public_id').val(id);
|
||||||
$('#bulk_action').val(action);
|
$('#bulk_action').val(action);
|
||||||
|
|
||||||
$('form.bulk-form').submit();
|
$('form.bulk-form').submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user