diff --git a/app/views/invoices/edit.blade.php b/app/views/invoices/edit.blade.php index 5394a87a40..d805ee3d8a 100755 --- a/app/views/invoices/edit.blade.php +++ b/app/views/invoices/edit.blade.php @@ -611,10 +611,15 @@ } function onEmailClick() { + @if (Auth::user()->confirmed) if (confirm('Are you sure you want to email this invoice?')) { $('#action').val('email'); $('.main_form').submit(); } + @else + $('#action').val('email'); + $('.main_form').submit(); + @endif } function onSaveClick() {