Compare commits

...

2 Commits

Author SHA1 Message Date
Farhan Pathan 02f28c00b2 Tranfer Novel Meet form file Team2 to Titans Domain
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m11s Details
2026-06-26 15:04:40 +05:30
Farhan Pathan 468afe8608 Team2 - For Testing New Workflow of Novel Meeting Invite changes4 2026-06-26 15:02:40 +05:30
1 changed files with 59 additions and 1 deletions

View File

@ -230,7 +230,7 @@ if(isset($history->data->submissions) && is_iterable($history->data->submissions
@if(strtolower($row['status']) == 'approved') @if(strtolower($row['status']) == 'approved')
<a href="/form/downloadpersonalized/{{ $row['submission_id'] }}" <a href="/form/downloadpersonalization/{{ $row['submission_id'] }}"
class="btn btn-success btn-sm"> class="btn btn-success btn-sm">
Download Download
</a> </a>
@ -427,6 +427,64 @@ 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.'
});
}
});
});
}); });
</script> </script>