Update Minor Penamaan + Accttype Activiies
This commit is contained in:
parent
76913fa815
commit
68916ca4c2
@ -775,6 +775,13 @@ $(document).ready(function() {
|
||||
// $("#offreport").prop('disabled', false);
|
||||
$("#training").prop('disabled', false);
|
||||
}
|
||||
else if (this.value == '6') {
|
||||
$("#maintenance").prop('disabled', true);
|
||||
// $("#calibration").prop('disabled', false);
|
||||
$("#installation").prop('disabled', true);
|
||||
// $("#offreport").prop('disabled', false);
|
||||
$("#training").prop('disabled', false);
|
||||
}
|
||||
else {
|
||||
// Ini akan menjadi default jika #acttypeid kosong atau bukan 5 dan 3
|
||||
$("#maintenance").prop('disabled', true);
|
||||
@ -963,6 +970,7 @@ $('#status').change(function() {
|
||||
$('#acttypeid').change(function() {
|
||||
if (this.value=='5'){ $("#maintenance").prop('disabled', false); $("#installation").prop('disabled', true); $("#training").prop('disabled', true);}
|
||||
else if (this.value=='3'){ $("#maintenance").prop('disabled', true); $("#installation").prop('disabled', false); $("#training").prop('disabled', false); }
|
||||
else if (this.value=='6'){ $("#maintenance").prop('disabled', true); $("#installation").prop('disabled', true); $("#training").prop('disabled', false); }
|
||||
else { $("#maintenance").prop('disabled', true); $("#installation").prop('disabled', true); $("#training").prop('disabled', true);}
|
||||
})
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div class='row mb-2'>
|
||||
<div class="col-12 text-end">
|
||||
<button type="button" class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#createContactModal">
|
||||
<i class="fa-solid fa-plus"></i> Tambah Participant Baru
|
||||
<i class="fa-solid fa-plus"></i> Tambah Contact
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user