mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-18 00:53:10 +01:00
bug fixes
This commit is contained in:
parent
3ea3b6462a
commit
84ae30e60a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user