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