Titans (ISP Reporting) Show & hide fields
Specific Folder FTP Upload / ftp-deploy (push) Successful in 2m5s Details

This commit is contained in:
zeeshan 2026-11-17 12:30:37 +05:30
parent 6d2524260b
commit b2569f5e84
1 changed files with 17 additions and 0 deletions

View File

@ -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)
@foreach($form->users as $option)
hierarcies.push('{{$option->hierarchy_id}}');