Gennovadc - Dialysis Plan vs Exec Tracker form changes
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s
Details
This commit is contained in:
parent
076e0c950c
commit
3efa028e1f
|
|
@ -957,44 +957,52 @@ $brandData2 = [
|
|||
|
||||
// })
|
||||
|
||||
|
||||
|
||||
|
||||
$('.edit-btn').click(function() {
|
||||
// First make all readonly
|
||||
// $('#execution-form input').prop('readonly', true);
|
||||
|
||||
// Keep only PLAN fields editable
|
||||
$('#execution-vintor_4k_units').prop('readonly', false);
|
||||
$('#execution-vintor_10k_units').prop('readonly', false);
|
||||
$('#execution-encicarb_500_units').prop('readonly', false);
|
||||
$('#execution-encicarb_100_units').prop('readonly', false);
|
||||
$('#execution-dynulta_units').prop('readonly', false);
|
||||
// Keep only PLAN fields editable (plan with value that user filled while making plan and week selection fields)
|
||||
$('#execution-vintor_4k_units').prop('readonly', true);
|
||||
$('#execution-vintor_6k_units').prop('readonly', true);
|
||||
$('#execution-vintor_10k_units').prop('readonly', true);
|
||||
$('#execution-encicarb_500_units').prop('readonly', true);
|
||||
$('#execution-encicarb_100_units').prop('readonly', true);
|
||||
$('#execution-dynulta_units').prop('readonly', true);
|
||||
|
||||
$('#execution-vintor_4k_week1').prop('readonly', false);
|
||||
$('#execution-vintor_4k_week2').prop('readonly', false);
|
||||
$('#execution-vintor_4k_week3').prop('readonly', false);
|
||||
$('#execution-vintor_4k_week4').prop('readonly', false);
|
||||
$('#execution-vintor_4k_week1').prop('readonly', true);
|
||||
$('#execution-vintor_4k_week2').prop('readonly', true);
|
||||
$('#execution-vintor_4k_week3').prop('readonly', true);
|
||||
$('#execution-vintor_4k_week4').prop('readonly', true);
|
||||
|
||||
$('#execution-vintor_6k_week1').prop('readonly', true);
|
||||
$('#execution-vintor_6k_week2').prop('readonly', true);
|
||||
$('#execution-vintor_6k_week3').prop('readonly', true);
|
||||
$('#execution-vintor_6k_week4').prop('readonly', true);
|
||||
|
||||
$('#execution-vintor_10k_week1').prop('readonly', false);
|
||||
$('#execution-vintor_10k_week2').prop('readonly', false);
|
||||
$('#execution-vintor_10k_week3').prop('readonly', false);
|
||||
$('#execution-vintor_10k_week4').prop('readonly', false);
|
||||
$('#execution-vintor_10k_week1').prop('readonly', true);
|
||||
$('#execution-vintor_10k_week2').prop('readonly', true);
|
||||
$('#execution-vintor_10k_week3').prop('readonly', true);
|
||||
$('#execution-vintor_10k_week4').prop('readonly', true);
|
||||
|
||||
|
||||
$('#execution-encicarb_500_week1').prop('readonly', false);
|
||||
$('#execution-encicarb_500_week2').prop('readonly', false);
|
||||
$('#execution-encicarb_500_week3').prop('readonly', false);
|
||||
$('#execution-encicarb_500_week4').prop('readonly', false);
|
||||
$('#execution-encicarb_500_week1').prop('readonly', true);
|
||||
$('#execution-encicarb_500_week2').prop('readonly', true);
|
||||
$('#execution-encicarb_500_week3').prop('readonly', true);
|
||||
$('#execution-encicarb_500_week4').prop('readonly', true);
|
||||
|
||||
$('#execution-encicarb_100_week1').prop('readonly', false);
|
||||
$('#execution-encicarb_100_week2').prop('readonly', false);
|
||||
$('#execution-encicarb_100_week3').prop('readonly', false);
|
||||
$('#execution-encicarb_100_week4').prop('readonly', false);
|
||||
$('#execution-encicarb_100_week1').prop('readonly', true);
|
||||
$('#execution-encicarb_100_week2').prop('readonly', true);
|
||||
$('#execution-encicarb_100_week3').prop('readonly', true);
|
||||
$('#execution-encicarb_100_week4').prop('readonly', true);
|
||||
|
||||
$('#execution-dynulta_week1').prop('readonly', false);
|
||||
$('#execution-dynulta_week2').prop('readonly', false);
|
||||
$('#execution-dynulta_week3').prop('readonly', false);
|
||||
$('#execution-dynulta_week4').prop('readonly', false);
|
||||
$('#execution-dynulta_week1').prop('readonly', true);
|
||||
$('#execution-dynulta_week2').prop('readonly', true);
|
||||
$('#execution-dynulta_week3').prop('readonly', true);
|
||||
$('#execution-dynulta_week4').prop('readonly', true);
|
||||
|
||||
// execution fields still editable
|
||||
// $('[id*="_exe"]').prop('readonly', false);
|
||||
|
||||
// percentage + total execution readonly
|
||||
|
|
@ -1023,7 +1031,7 @@ $brandData2 = [
|
|||
e.preventDefault();
|
||||
})
|
||||
|
||||
|
||||
|
||||
$('#execution-speciality').prop('readonly', true)
|
||||
$('#execution-plan_date').prop('readonly', true)
|
||||
$('#execution-uid_number').prop('readonly',true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue