Actualización

This commit is contained in:
Xes
2025-04-10 12:36:07 +02:00
parent 1da7c3f3b9
commit 4aff98e77b
3147 changed files with 320647 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
function dateCertificateSwitchRadioButton2(){
$("#date_start").prop("disabled", true).val("");
$("#date_end").prop("disabled", true).val("");
}
function dateCertificateSwitchRadioButton1(){
$("#date_start").prop("disabled", false);
$("#date_end").prop("disabled", false);
}
function dateCertificateSwitchRadioButton0(){
$("#date_start").prop("disabled", true).val("");
$("#date_end").prop("disabled", true).val("");
}
function typeDateExpedictionSwitchRadioButton(){
$("[name=\"type_date_expediction\"]").each(function( index ) {
if ( $(this).is(":checked") && $(this).val() === "2") {
$("#day, #month, #year").prop("disabled", false);
} else {
$("#day, #month, #year").prop("disabled", true);
}
});
}
function contentsTypeSwitchRadioButton(){
$("[name=\"contents_type\"]").each(function( index ) {
if ( $(this).is(":checked") && $(this).val() === "2") {
$("#contents").prop("disabled", false);
} else {
$("#contents").prop("disabled", true);
}
});
}
$(document).ready(function() {
$( ".datepicker" ).datepicker();
});