From 611450b4a6b1378a10d5ac72250255ee6f4433e1 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Fri, 28 Jun 2024 13:40:28 +0300 Subject: [PATCH] Update inspectionview.php --- application/views/inspectionview.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/application/views/inspectionview.php b/application/views/inspectionview.php index 8a363a2..85dd50f 100644 --- a/application/views/inspectionview.php +++ b/application/views/inspectionview.php @@ -150,7 +150,7 @@
filename_inspection != NULL) {?>

lang->line('inspection_report'); ?> (lang->line('greeklang'); ?>)

- + >Αποστολή με email en_filename_inspection != NULL) {?>

lang->line('inspection_report'); ?> (lang->line('englishlang'); ?>)

@@ -390,7 +390,16 @@ }); - + +$('.emailsend').on('click', function (e) { + e.preventDefault(); + href = $(this).attr('href'); + return bootbox.confirm('Η έκθεση θα αποσταλεί με email στη διεύθυνση email_client ?>. Συμφωνείτε;', function(result) { + if (result) { + window.location = href + } + }); +}); function checkifexists(fld, len){