Team 4 (MONTAIR LC Kid 5 Dr Conversion) MSL Code
Specific Folder FTP Upload / ftp-deploy (push) Successful in 41s Details

This commit is contained in:
zeeshan 2026-10-09 14:53:35 +05:30
parent f7684b2b8a
commit a3af251221
1 changed files with 6 additions and 4 deletions

View File

@ -294,6 +294,11 @@
<script type="text/javascript">
jQuery(document).ready(function($){
$('#field-contact_id').change(function() {
console.log("CONTACT SELECTED:", this.value);
$('#field-legacy_code').val($('option:selected', this).attr('msl_code'));
});
let historyDoctorIds = @json($historyDoctorIds).map(String);
console.log("HISTORY DOCTOR IDS:", historyDoctorIds);
// 🔥 NEW - Disable doctors that were already submitted
@ -426,10 +431,7 @@ function preventDuplicateDoctors() {
});
$('#field-contact_id').change(function() {
console.log("CONTACT SELECTED:", this.value);
$('#field-legacy_code').val($('option:selected', this).attr('msl_code'));
});
$('#field-no_units_confirmed').on('input', function () {
this.value = this.value.replace(/[^0-9]/g, '');