diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php index 4897fc81fd..397fa96b76 100644 --- a/resources/views/list.blade.php +++ b/resources/views/list.blade.php @@ -102,7 +102,7 @@ $('#public_id_{{ $entityType }}').val(id); } - if (action == 'delete') { + if (action == 'delete' || action == 'emailInvoice') { sweetConfirm(function() { $('#action_{{ $entityType }}').val(action); $('form.listForm_{{ $entityType }}').submit();