Updated Arise blade file
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s Details

This commit is contained in:
Tanuja Pansare 2026-05-25 09:42:56 +05:30
parent 23dbb2c803
commit f87ee23ca1
1 changed files with 10 additions and 9 deletions

View File

@ -329,17 +329,15 @@
// reset category dropdown
$('#field-select-category').val('');
// clear doctor dropdown
// reset doctor dropdown
$('#field-contact_id').html('');
// add default option again
$('#field-contact_id').append(
$("<option></option>")
.attr("value",'')
.text('-- Select --')
);
// stop execution
return;
}
filteredDoctors.forEach(function(itm){
@ -450,14 +448,11 @@ $('#field-converted').on('change', function () {
.replace(/\s+/g, '_')
.replace(/-+/g, '_');
if (value === 'Yes') {
$('#report-form').append(
'<input type="hidden" class="converted-hidden" name="' + slug + '" value="1">'
);
}
});
function toggleUploadFields() {
@ -552,8 +547,14 @@ $(document).on('change', '#field-converted', function () {
alert('Only JPG and PDF files are allowed.');
$(this).val('');
}
});
@if($id)
setTimeout(function () {
console.log("EDIT MODE TRIGGERED");
$('#field-select-category').trigger('change');
}, 300);
@endif
$('#report-form').on('submit', function(event){
event.preventDefault();
$("#pageloader").fadeIn();