From 93e06e088ab6483dbe2ba9dd8c7bc59a2dfca7da Mon Sep 17 00:00:00 2001 From: Farhan Pathan Date: Fri, 26 Jun 2026 12:04:40 +0530 Subject: [PATCH] Team2 - For Testing New Workflow of Novel Meeting Invite changes1 --- ...1587-3b81-403b-af63-fdbfae8a965e.blade.php | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/resources/views/form/rapport-team2/personalization-1781004538-88671587-3b81-403b-af63-fdbfae8a965e.blade.php b/resources/views/form/rapport-team2/personalization-1781004538-88671587-3b81-403b-af63-fdbfae8a965e.blade.php index ae1b4b5d..0bdccacd 100644 --- a/resources/views/form/rapport-team2/personalization-1781004538-88671587-3b81-403b-af63-fdbfae8a965e.blade.php +++ b/resources/views/form/rapport-team2/personalization-1781004538-88671587-3b81-403b-af63-fdbfae8a965e.blade.php @@ -427,6 +427,63 @@ if(isset($history->data->submissions) && is_iterable($history->data->submissions // }, // }); // }); + $('#image-form').on('submit', function(event){ + + event.preventDefault(); + + $("#pageloader").fadeIn(); + + $.ajax({ + + type: "POST", + + url: '/form/submitpersonalizedimages', + + data: new FormData($('#image-form')[0]), + + processData: false, + + contentType: false, + + success: function(data){ + + $("#pageloader").fadeOut(); + + Swal.fire({ + + icon: 'success', + + title: 'Request Submitted', + + text: 'Request has been sent to manager for approval.' + + }).then(function(){ + + location.reload(); + + }); + + }, + + error:function(){ + + $("#pageloader").fadeOut(); + + Swal.fire({ + + icon:'error', + + title:'Error', + + text:'Something went wrong.' + + }); + + } + + }); + +}); });