diff --git a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php index eb8e1960..9676627f 100644 --- a/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php +++ b/resources/views/form/rapport-titans/1790753526-37d85bd1-442d-4226-bacf-5f12e647373d.blade.php @@ -441,9 +441,9 @@ $('#execution-plan_date').prop('readonly', true) $('#execution-msl_code').prop('readonly', true); $('#execution-total').prop('readonly',true); - //$('#execution-time').prop('disabled', true) + $('#execution-core_value').parent().hide(); - $('#execution-core_value').removeAttr('required'); + $('#execution-core_value').prop('required',false); let selected = JSON.parse($(this).attr('plan_details')); @@ -602,7 +602,7 @@ $('#execution-msl_code').prop('readonly', true); $('#execution-speciality').prop('readonly', true); $('#execution-core_value').parent().hide(); - $('#execution-core_value').removeAttr('required'); + $('#execution-core_value').prop('required',false); @@ -685,6 +685,10 @@ }); + + $('#field-core_value').parent().hide(); + $('#field-core_value').prop('required',false); + $('#field-contact_id').change(function() { $('#field-speciality').val($('option:selected', this).attr('speciality')) }) @@ -702,40 +706,9 @@ $('#field-speciality').prop('readonly', true); - $('#field-core_value').parent().hide(); - $('#field-core_value').removeAttr('required'); - - - - - - /* $(document).ready(function () { - const monthName = [ - "Oct-26", "Nov-26", "Dec-26" - ]; - - $('#field-plan_date').on('change', function () { - const selectedDateVal = $(this).val(); // e.g. "2026-10-15" - - if (selectedDateVal) { - // 'YYYY-MM-DD' split karun month extract karane (timezone issue yet nahi) - const parts = selectedDateVal.split('-'); - const monthNumber = parts[1]; // "10", "11", किंवा "12" - const targetMonth = monthName[monthNumber] || ''; - - // Dropdown madhe toh month select karne - $('#field-month_of_engagement').val(monthName).trigger('change'); - } else { - // Jar user ne date clear keli tar dropdown reset karne - $('#field-month_of_engagement').val('').trigger('change'); - } - }); - }); */ - - $(document).ready(function () { const monthNames = [ "Oct-26", // index 0 (10 व्या महिन्यासाठी)