bug fixes
This commit is contained in:
parent
3ea3b6462a
commit
84ae30e60a
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue