Titans (ISP Reporting) Show & hide fields
Specific Folder FTP Upload / ftp-deploy (push) Successful in 2m5s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 2m5s
Details
This commit is contained in:
parent
6d2524260b
commit
b2569f5e84
|
|
@ -198,6 +198,23 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$('#field-amount_given').parent().hide();
|
||||||
|
$('#field-amount_given').attr('required',false);
|
||||||
|
|
||||||
|
$('#field-honorarium_amount_received').on('change',function(){
|
||||||
|
let value=$(this).value;
|
||||||
|
if(value==='Yes'){
|
||||||
|
$('#field-amount_given').parent().show();
|
||||||
|
$('#field-amount_given').attr('required',true);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$('#field-amount_given').parent().hide();
|
||||||
|
$('#field-amount_given').attr('required',false);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
@if(isset($form->manager_can_submit) && $form->manager_can_submit == true)
|
@if(isset($form->manager_can_submit) && $form->manager_can_submit == true)
|
||||||
@foreach($form->users as $option)
|
@foreach($form->users as $option)
|
||||||
hierarcies.push('{{$option->hierarchy_id}}');
|
hierarcies.push('{{$option->hierarchy_id}}');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue