Team 4 (MONTAIR LC Kid 5 Dr Conversion) Error Fix
Specific Folder FTP Upload / ftp-deploy (push) Successful in 41s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 41s
Details
This commit is contained in:
parent
a3af251221
commit
b93b0b04ae
|
|
@ -58,7 +58,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$historyDoctorIds = array_unique($historyDoctorIds);
|
/* $historyDoctorIds = array_unique($historyDoctorIds); */
|
||||||
|
|
||||||
|
$historyDoctorIds = array_values(array_unique($historyDoctorIds));
|
||||||
|
|
||||||
|
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
|
|
@ -299,7 +302,9 @@
|
||||||
$('#field-legacy_code').val($('option:selected', this).attr('msl_code'));
|
$('#field-legacy_code').val($('option:selected', this).attr('msl_code'));
|
||||||
});
|
});
|
||||||
|
|
||||||
let historyDoctorIds = @json($historyDoctorIds).map(String);
|
/* let historyDoctorIds = @json($historyDoctorIds).map(String); */
|
||||||
|
let rawHistory = @json($historyDoctorIds);
|
||||||
|
let historyDoctorIds = (Array.isArray(rawHistory) ? rawHistory : Object.values(rawHistory || {})).map(String);
|
||||||
console.log("HISTORY DOCTOR IDS:", historyDoctorIds);
|
console.log("HISTORY DOCTOR IDS:", historyDoctorIds);
|
||||||
// 🔥 NEW - Disable doctors that were already submitted
|
// 🔥 NEW - Disable doctors that were already submitted
|
||||||
// NEW - DEBUG duplicate doctor check
|
// NEW - DEBUG duplicate doctor check
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue