$(document).ready(function(){ // *** Fiche personne *** $("#page_personne_fieldset_donnees_personnelles #span_print_carte_etudiant").parent().hide(); //~ $('#personne-titre-div').hide(); //~ $('#personne-middlename-div').show(); //~ $('#personne-matronyme-div').show(); //~ $("#personne-naissance-ville-div").hide(); //~ //$("#box-personne-nationalite1").hide(); //~ $("#box-personne-nationalite2").hide(); //~ $("#personne-no_passeport-div").hide(); //~ $("#personne-no_cni-div").hide(); //~ $("#personne-numero_compte-div").hide(); //~ $("#personne-numero_tva-div").hide(); //~ $("#personne-numero_tva-div label").html('Partita IVA'); //~ $("#personne-numero_fiscal-div").hide(); //~ $("#personne-numero_fiscal-div label").html('N° NIP'); //~ $("#personne-no_id_national-div").hide(); //~ $("#personne-no_id_national-div label").html('N° PESEL'); //~ $("#identifiant_manuel").prop('readonly','readonly').next().hide(); //~ $("#personne-bureau_fiscal-div label").html('DOY'); //~ $("#personne_bureau_fiscal_input").attr('title','DOY'); //~ $("#personne_bureau_fiscal_input").attr('placeholder','DOY'); //~ $("#personne_informations_complementaires_fieldset").hide(); //~ $("#personne-tel1-label").text('Tél GSM'); //~ $("#personne-tel2-label").text('Tél fixe'); //~ $("#personne-tel3-div").hide(); //~ $("#personne-email3-div").hide(); //~ $("#box-personne-adresse1 > p > span").text('Adresse'); //~ $("#personne-adresse1-div").hide(); //~ $("#personne_quartier1_select_div label").html('Métro'); //~ $('#personne_quartier1_select option[value=""]').html('Sélectionnez une station de métro'); //~ $("#personne-pays1-div").hide(); //~ $("#box-personne-adresse2").hide(); //~ $("#personne_newsletters_box").hide(); // *** Fiche personne FIN *** //$('label[for="contenu_pedagogique"]').hide(); //$('#objectifs_linguistiques').parent().hide(); //$('#objectifs_socioculturels').parent().hide(); //~ $('label[for="contenu_pedagogique"]').text('Objectifs'); //~ $('label[for="objectifs_linguistiques"]').text('Contenus'); //~ $('label[for="objectifs_socioculturels"]').text('Devoirs'); //$('a[id*="link_fiche_vb_"]').hide(); //~ $('select[id*="paiement_type_"]').hide(); // *** Page etudiant *** //~ $("#no_etudiant").prop('readonly','readonly'); //~ $("#button_get_numero_personne").hide(); //~ Pour mettre automatiquement les types de paiement sur virement bancaire //$('select[id*="paiement_type_"] option[value="2"]').attr("selected", "selected"); //~ $('#attestation_assiduite_pourcent').hide(); //$('#attestation_assiduite_pourcent').css('color','#ff0000'); //$('#th_paiement_no_transaction').hide(); //$('input[id*="paiement_no_transaction_"]').parent().hide(); //~ $('#etudiant_contrats_fieldset').hide(); //~ $('#etudiant_produits_fieldset').hide(); //$('#link_print_carte_etudiant').hide(); //~ $('#span_print_carte_etudiant').hide(); //~ $('#link_print_certificat_paiement_indiv').hide(); //~ $('#link_print_certificat_paiement_entr').hide(); //~ $('#etudiant_type_etudiant_select_div').hide(); //~ $('#etudiant_organisme_rattache_select_div').hide(); //~ $('#etudiant_organisme_niv_responsabilite_select_div').hide(); //~ $('#etudiant_informations_membre_div').hide(); //~ $("#div_paiement_payeur_compte").hide(); //~ $("#div_paiement_justificatif").hide(); //~ $('.etudiant_paiement_date_effet').hide(); // *** Page etudiant FIN *** // *** Page evaluation finale *** //~ $('#table_evaluation_finale_form th:nth-child(3)').attr('title','Test de mi-session').text('Test mi-session'); //~ $('#table_evaluation_finale_form th:nth-child(4),#table_evaluation_finale_form td:nth-child(4)').hide(); //~ $('#table_evaluation_finale_form th:nth-child(6),#table_evaluation_finale_form td:nth-child(6)').hide(); //~ $('#table_evaluation_finale_form th:nth-child(7)').attr('title','Test final').text('Test final'); //~ $('#table_evaluation_finale_form th:nth-child(7),#table_evaluation_finale_form td:nth-child(7)').hide(); //~ $('#table_evaluation_finale_form th:nth-child(7)').css({'background-color': '#f00'}); //~ $('#table_evaluation_finale_form td:nth-child(7)').css({'background-color': '#f00'}); //~ jQuery.each($("#table_evaluation_finale_form tr"), function() { //~ $(this).children(":eq(3)").after($(this).children(":eq(6)")); //~ $(this).children(":eq(4)").after($(this).children(":eq(6)")); //~ }); // *** Page evaluation finale *** // *** Cours liste *** // //~ $('#cours_list_id_th').show(); //~ $('[id^="cours_list_id_td_"]').show(); // *** Cours liste FIN *** // // == Page paiements == // //~ $('[class^="paiements_liste_col_contrat_numero"]').show(); // == Page paiements == // // == Page professeur == // //~ $("#professeur_numero_assurance_sociale_div label").html('N° AMKA'); // == Page professeur == // // == Page quittance == // //~ $("#quittance_form_informations_complementaires_fieldset").hide(); //~ $("#text_quittance_montant_lang1").parent().hide(); //~ $("#text_quittance_montant_lang2").parent().hide(); // == Page quittance == // });