{"id":2862,"date":"2026-05-02T09:17:49","date_gmt":"2026-05-02T08:17:49","guid":{"rendered":"https:\/\/new.airtahiti-virtual.fr\/?page_id=2862"},"modified":"2026-06-26T18:58:04","modified_gmt":"2026-06-26T17:58:04","slug":"insertion-news","status":"publish","type":"page","link":"https:\/\/airtahiti-virtual.fr\/en\/insertion-news\/","title":{"rendered":"Insertion News"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2862\" class=\"elementor elementor-2862\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6e6626c e-flex e-con-boxed e-con e-parent\" data-id=\"6e6626c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-342c82e elementor-widget elementor-widget-heading\" data-id=\"342c82e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Affichage de br\u00e8ves en page d'accueil<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-56d2eb8 e-con-full e-flex e-con e-parent\" data-id=\"56d2eb8\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d8ef99c elementor-widget__width-inherit elementor-widget elementor-widget-shortcode\" data-id=\"d8ef99c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><p>Acc\u00e8s r\u00e9serv\u00e9.<\/p><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ec8d75f e-con-full e-flex e-con e-parent\" data-id=\"ec8d75f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-59566df elementor-widget__width-inherit elementor-widget elementor-widget-image\" data-id=\"59566df\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp\" class=\"attachment-large size-large wp-image-158\" alt=\"\" srcset=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp 1024w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-300x300.webp 300w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-150x150.webp 150w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-768x768.webp 768w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-600x600.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-9efea8a e-flex e-con-boxed e-con e-parent\" data-id=\"9efea8a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dae60cf elementor-widget elementor-widget-heading\" data-id=\"dae60cf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ajustement des heures pilotes VTA<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e8b6424 e-con-full e-grid e-con e-parent\" data-id=\"e8b6424\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c385df6 elementor-widget__width-initial elementor-widget elementor-widget-html\" data-id=\"c385df6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"calculette-vta-container\">\n    <h3>\u2708\ufe0f Ajustement d'Heures Pilotes - Air Tahiti Virtual<\/h3>\n    <p class=\"subtitle\">Convertit les minutes en centi\u00e8mes d'heure pour la base de donn\u00e9es.<\/p>\n    \n    <!-- Zone de recherche de pilote -->\n    <div class=\"calc-pilot-selection-zone\">\n        <div class=\"calc-field\">\n            <label for=\"calc-select-pilote\">\ud83d\udc64 Rechercher un pilote (ID ou Nom) :<\/label>\n            <input type=\"text\" id=\"calc-select-pilote\" placeholder=\"Saisissez l'ID ou le Nom (Ex: VTA140...)\" oninput=\"recherchePiloteDyna()\">\n            <div id=\"calc-dropdown-pilotes\" class=\"calc-autocomplete-dropdown\" style=\"display: none;\"><\/div>\n        <\/div>\n    <\/div>\n\n    <!-- Carte d'information du pilote cibl\u00e9 -->\n    <div class=\"calc-pilot-info-box\" id=\"pilot-box-ui\" style=\"display: none;\">\n        <div>\n            <span class=\"pilot-info-title\">Pilote :<\/span>\n            <span id=\"calc-pilot-name\" class=\"pilot-info-value\">---<\/span>\n        <\/div>\n        <div>\n            <span class=\"pilot-info-title\">ID :<\/span>\n            <span id=\"calc-pilot-id\" class=\"pilot-info-value\" style=\"color: #800000;\">---<\/span>\n        <\/div>\n    <\/div>\n\n    <div class=\"calc-type-operation\">\n        <label class=\"radio-label\">\n            <input type=\"radio\" name=\"calc-action\" value=\"ajout\" checked onchange=\"calculerConversion()\"> \n            \u2795 Ajouter\n        <\/label>\n        <label class=\"radio-label\">\n            <input type=\"radio\" name=\"calc-action\" value=\"suppression\" onchange=\"calculerConversion()\"> \n            \u2796 Retirer\n        <\/label>\n    <\/div>\n\n    <div class=\"calc-row\">\n        <div class=\"calc-field\">\n            <label for=\"calc-heures\">Heures :<\/label>\n            <input type=\"number\" id=\"calc-heures\" min=\"0\" value=\"0\" oninput=\"calculerConversion()\">\n        <\/div>\n        <div class=\"calc-field\">\n            <label for=\"calc-minutes\">Minutes :<\/label>\n            <input type=\"number\" id=\"calc-minutes\" min=\"0\" max=\"59\" value=\"0\" placeholder=\"0\" oninput=\"calculerConversion()\">\n        <\/div>\n    <\/div>\n\n    <hr class=\"calc-separator\">\n\n    <!-- Grand Bloc de r\u00e9sultat d\u00e9cimal rouge -->\n    <div class=\"calc-result-box\">\n        <span id=\"label-resultat-decimal\" class=\"result-label\">Valeur d\u00e9cimale \u00e0 ajouter :<\/span>\n        <span id=\"resultat-decimal\" class=\"result-value\">0.00<\/span>\n    <\/div>\n\n    <!-- Simulateur de nouveau total -->\n    <div class=\"calc-simulation\">\n        <h4>Simulateur de nouveau total<\/h4>\n        <div class=\"calc-field\">\n            <label for=\"calc-total-actuel\">Ancien solde (H) :<\/label>\n            <input type=\"number\" step=\"0.01\" id=\"calc-total-actuel\" value=\"0.00\" oninput=\"calculerConversion()\">\n        <\/div>\n        <div class=\"calc-result-box simulation-box\">\n            <span class=\"result-label\">Nouveau solde :<\/span>\n            <span id=\"resultat-nouveau-total\" class=\"result-value-total\">---<\/span>\n        <\/div>\n    <\/div>\n\n    <!-- Bouton Bordeaux d'action -->\n    <button type=\"button\" id=\"btn-injecter-heures\" onclick=\"sauvegarderDirectement()\" class=\"calc-btn-submit\" disabled>\n        <i class=\"fa-solid fa-link\" style=\"margin-right: 8px;\"><\/i> Appliquer \u00e0 la fiche pilote\n    <\/button>\n    \n    <p id=\"calc-status-msg\" style=\"font-size:13px; text-align:center; margin-top:12px; font-weight:bold; color:#666;\">\n        En attente de s\u00e9lection...\n    <\/p>\n<\/div>\n\n<link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.4.0\/css\/all.min.css\">\n\n<style>\n.calculette-vta-container {\n    background-color: #ffffff;\n    border: 8px solid #800000;\n    border-radius: 15px;\n    padding: 30px;\n    max-width: 800px; \/* \u00c9largi \u00e0 800px *\/\n    margin: 20px auto;\n    font-family: Arial, sans-serif;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.1);\n    box-sizing: border-box;\n    position: relative;\n}\n.calculette-vta-container h3 {\n    color: #800000;\n    margin-top: 0;\n    margin-bottom: 5px;\n    font-size: 20px; \/* L\u00e9g\u00e8rement augment\u00e9 *\/\n    text-align: center;\n    font-weight: bold;\n}\n.calculette-vta-container h4 {\n    color: #333;\n    font-size: 14px;\n    margin-top: 15px;\n    margin-bottom: 8px;\n    font-weight: bold;\n}\n.calculette-vta-container .subtitle {\n    font-size: 13px;\n    color: #666;\n    text-align: center;\n    margin-bottom: 25px;\n}\n\n\/* Zone d'autocompl\u00e9tion *\/\n.calc-pilot-selection-zone {\n    margin-bottom: 20px;\n    position: relative;\n}\n.calc-autocomplete-dropdown {\n    position: absolute;\n    top: 100%;\n    left: 0;\n    right: 0;\n    background: white;\n    border: 1px solid #ccc;\n    z-index: 1000;\n    max-height: 200px;\n    overflow-y: auto;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.1);\n    border-radius: 0 0 4px 4px;\n}\n.calc-dropdown-item {\n    padding: 10px 12px;\n    cursor: pointer;\n    border-bottom: 1px solid #eee;\n    font-size: 13px;\n    text-align: left;\n}\n.calc-dropdown-item:hover {\n    background-color: #f1f7fc;\n    color: #0056b3;\n}\n\n\/* Fiche d'informations du Pilote *\/\n.calc-pilot-info-box {\n    background-color: #f1f7fc;\n    border-left: 4px solid #0056b3;\n    padding: 12px 20px;\n    border-radius: 4px;\n    margin-bottom: 20px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    min-height: 45px;\n}\n.pilot-info-title {\n    font-size: 14px;\n    font-weight: bold;\n    color: #555;\n}\n.pilot-info-value {\n    font-size: 14px;\n    font-weight: bold;\n    color: #0056b3;\n}\n\n\/* Bloc d'op\u00e9ration *\/\n.calc-type-operation {\n    display: flex;\n    justify-content: center;\n    gap: 40px;\n    margin-bottom: 25px;\n    background: #fdf8f8;\n    padding: 12px;\n    border-radius: 6px;\n    border: 1px dashed #800000;\n}\n.radio-label {\n    font-size: 14px;\n    font-weight: bold;\n    color: #444;\n    cursor: pointer;\n    display: flex;\n    align-items: center;\n    gap: 8px;\n}\n.radio-label input {\n    accent-color: #800000;\n    cursor: pointer;\n}\n\n\/* Champs de formulaires *\/\n.calc-row {\n    display: flex;\n    gap: 20px;\n}\n.calc-field {\n    display: flex;\n    flex-direction: column;\n    flex: 1;\n    margin-bottom: 15px;\n    position: relative;\n}\n.calc-field label {\n    font-size: 14px;\n    font-weight: bold;\n    margin-bottom: 6px;\n    color: #444;\n    text-align: left;\n}\n.calc-field input {\n    padding: 12px;\n    border: 1px solid #ccc;\n    border-radius: 4px;\n    font-size: 14px;\n    box-sizing: border-box;\n    width: 100%;\n}\n.calc-field input:focus {\n    border-color: #800000;\n    outline: none;\n}\n\n.calc-separator {\n    border: 0;\n    border-top: 1px solid #eee;\n    margin: 20px 0;\n}\n\n\/* Blocs de R\u00e9sultats *\/\n.calc-result-box {\n    background-color: #f9f2f2;\n    border-left: 4px solid #800000;\n    padding: 15px;\n    border-radius: 4px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 20px;\n    box-sizing: border-box;\n}\n.simulation-box {\n    background-color: #f4f4f4;\n    border-left-color: #555;\n}\n.result-label {\n    font-size: 15px;\n    font-weight: bold;\n    color: #333;\n}\n.result-value {\n    font-size: 30px;\n    font-weight: bold;\n    color: #800000;\n}\n.result-value-total {\n    font-size: 26px;\n    font-weight: bold;\n    color: #333;\n}\n\n\/* Bouton principal *\/\n.calc-btn-submit {\n    display: block;\n    width: 100%;\n    padding: 14px;\n    background-color: #800000;\n    color: white;\n    border: none;\n    border-radius: 4px;\n    font-size: 16px;\n    font-weight: bold;\n    cursor: pointer;\n    transition: background 0.2s, transform 0.1s;\n    margin-top: 15px;\n    text-align: center;\n}\n.calc-btn-submit:hover {\n    background-color: #a00000;\n}\n.calc-btn-submit:active {\n    transform: scale(0.995);\n}\n.calc-btn-submit:disabled {\n    background-color: #ccc;\n    cursor: not-allowed;\n}\n\n\/* Responsive *\/\n@media (max-width: 480px) {\n    .calc-type-operation {\n        flex-direction: column;\n        gap: 10px;\n        align-items: flex-start;\n    }\n    .calc-row {\n        flex-direction: column;\n        gap: 10px;\n    }\n    .calc-result-box {\n        flex-direction: column;\n        text-align: center;\n        gap: 10px;\n    }\n    .calc-pilot-info-box {\n        flex-direction: column;\n        align-items: flex-start;\n        gap: 8px;\n    }\n}\n<\/style>\n\n<script>\nlet piloteSelectionne = null;\nlet timerRecherche;\n\nfunction recherchePiloteDyna() {\n    clearTimeout(timerRecherche);\n    let term = document.getElementById('calc-select-pilote').value;\n    let dropdown = document.getElementById('calc-dropdown-pilotes');\n\n    if (term.length < 2) {\n        dropdown.style.display = \"none\";\n        return;\n    }\n\n    timerRecherche = setTimeout(() => {\n        let formData = new FormData();\n        formData.append('action', 'vta_search_pilots');\n        formData.append('term', term);\n\n        fetch('\/wp-admin\/admin-ajax.php', {\n            method: 'POST',\n            body: formData\n        })\n        .then(response => response.json())\n        .then(res => {\n            if (res.success && res.data.length > 0) {\n                dropdown.innerHTML = \"\";\n                dropdown.style.display = \"block\";\n                res.data.forEach(p => {\n                    let div = document.createElement('div');\n                    div.className = \"calc-dropdown-item\";\n                    div.innerHTML = `<strong>${p.id}<\/strong> - ${p.nom}`;\n                    div.onclick = () => {\n                        piloteSelectionne = p;\n                        document.getElementById('calc-select-pilote').value = p.id + \" - \" + p.nom;\n                        document.getElementById('calc-pilot-name').innerText = p.nom;\n                        document.getElementById('calc-pilot-id').innerText = p.id;\n                        \n                        document.getElementById('calc-total-actuel').value = p.heures;\n                        \n                        document.getElementById('pilot-box-ui').style.display = \"flex\";\n                        document.getElementById('btn-injecter-heures').disabled = false;\n                        \n                        let status = document.getElementById('calc-status-msg');\n                        status.innerHTML = \"\u2705 Pilote pr\u00eat.\";\n                        status.style.color = \"green\";\n                        \n                        dropdown.style.display = \"none\";\n                        calculerConversion();\n                    };\n                    dropdown.appendChild(div);\n                });\n            }\n        });\n    }, 400);\n}\n\nfunction calculerConversion() {\n    let action = document.querySelector('input[name=\"calc-action\"]:checked').value;\n    \n    if (action === \"suppression\") {\n        document.getElementById('label-resultat-decimal').innerText = \"Valeur d\u00e9cimale \u00e0 retirer :\";\n    } else {\n        document.getElementById('label-resultat-decimal').innerText = \"Valeur d\u00e9cimale \u00e0 ajouter :\";\n    }\n\n    let heures = parseInt(document.getElementById('calc-heures').value) || 0;\n    let minutes = parseInt(document.getElementById('calc-minutes').value) || 0;\n    if (minutes > 59) minutes = 59;\n\n    let totalDecimal = heures + (minutes \/ 60);\n    document.getElementById('resultat-decimal').innerText = totalDecimal.toFixed(2);\n\n    let totalActuel = parseFloat(document.getElementById('calc-total-actuel').value.replace(',', '.')) || 0;\n    let nouveauTotal = action === \"suppression\" ? (totalActuel - totalDecimal) : (totalActuel + totalDecimal);\n    if (nouveauTotal < 0) nouveauTotal = 0;\n    \n    document.getElementById('resultat-nouveau-total').innerText = nouveauTotal.toFixed(2) + \" H\";\n    document.getElementById('btn-injecter-heures').setAttribute('data-res', nouveauTotal.toFixed(2));\n}\n\nfunction sauvegarderDirectement() {\n    if (!piloteSelectionne) return;\n    \n    let btn = document.getElementById('btn-injecter-heures');\n    let status = document.getElementById('calc-status-msg');\n    let totalAEnregistrer = btn.getAttribute('data-res');\n\n    btn.disabled = true;\n    btn.innerHTML = '<i class=\"fa-solid fa-circle-notch fa-spin\" style=\"margin-right: 8px;\"><\/i> Application en cours...';\n    status.innerHTML = \"\u23f3 \u00c9criture en base de donn\u00e9es...\";\n    status.style.color = \"#800000\";\n\n    let formData = new FormData();\n    formData.append('action', 'vta_update_pilot_hours');\n    formData.append('user_id', piloteSelectionne.db_id);\n    formData.append('meta_key', piloteSelectionne.meta_key);\n    formData.append('total', totalAEnregistrer);\n\n    fetch('\/wp-admin\/admin-ajax.php', {\n        method: 'POST',\n        body: formData\n    })\n    .then(response => response.json())\n    .then(res => {\n        if (res.success) {\n            status.innerHTML = \"\ud83c\udf89 Succ\u00e8s ! Le solde de \" + piloteSelectionne.nom + \" a \u00e9t\u00e9 mis \u00e0 jour \u00e0 \" + totalAEnregistrer + \" H.\";\n            status.style.color = \"green\";\n            \n            piloteSelectionne.heures = totalAEnregistrer;\n            document.getElementById('calc-total-actuel').value = totalAEnregistrer;\n            document.getElementById('calc-heures').value = 0;\n            document.getElementById('calc-minutes').value = 0;\n            \n            calculerConversion();\n        } else {\n            status.innerHTML = \"\u274c Erreur de sauvegarde : \" + res.data;\n            status.style.color = \"#d9534f\";\n        }\n        btn.disabled = false;\n        btn.innerHTML = '<i class=\"fa-solid fa-link\" style=\"margin-right: 8px;\"><\/i> Appliquer \u00e0 la fiche pilote';\n    })\n    .catch(error => {\n        status.innerHTML = \"\u274c Impossible de joindre la base de donn\u00e9es.\";\n        status.style.color = \"#d9534f\";\n        btn.disabled = false;\n        btn.innerHTML = '<i class=\"fa-solid fa-link\" style=\"margin-right: 8px;\"><\/i> Appliquer \u00e0 la fiche pilote';\n    });\n}\n\ndocument.addEventListener('click', function(e) {\n    if (e.target.id !== 'calc-select-pilote') {\n        document.getElementById('calc-dropdown-pilotes').style.display = \"none\";\n    }\n});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a54d2e6 e-con-full e-flex e-con e-parent\" data-id=\"a54d2e6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-edd0c28 elementor-widget__width-inherit elementor-widget elementor-widget-image\" data-id=\"edd0c28\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp\" class=\"attachment-large size-large wp-image-158\" alt=\"\" srcset=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp 1024w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-300x300.webp 300w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-150x150.webp 150w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-768x768.webp 768w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-600x600.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e702b26 e-flex e-con-boxed e-con e-parent\" data-id=\"e702b26\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dd78343 elementor-widget elementor-widget-heading\" data-id=\"dd78343\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Vue des 30 derniers Log des vols VTA<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-768d7ed e-flex e-con-boxed e-con e-parent\" data-id=\"768d7ed\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-cdea675 e-con-full e-flex e-con e-child\" data-id=\"cdea675\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ce79d0b elementor-widget__width-initial elementor-widget elementor-widget-shortcode\" data-id=\"ce79d0b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">Acc\u00e8s refus\u00e9.<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-aa98626 e-con-full e-flex e-con e-child\" data-id=\"aa98626\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-58c79c7 elementor-widget__width-initial elementor-widget elementor-widget-shortcode\" data-id=\"58c79c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div style=\"text-align: center; margin: 20px 0;\">\n                <a href=\"https:\/\/airtahiti-virtual.fr\/log_webhook.txt\" download style=\"background-color: #800000; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: bold; font-family: sans-serif;\">\n                    \ud83d\udce5 T\u00e9l\u00e9charger le log complet\n                <\/a>\n            <\/div><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c04e9bf e-con-full e-flex e-con e-parent\" data-id=\"c04e9bf\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c4a7bef elementor-widget__width-inherit elementor-widget elementor-widget-image\" data-id=\"c4a7bef\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp\" class=\"attachment-large size-large wp-image-158\" alt=\"\" srcset=\"https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan.webp 1024w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-300x300.webp 300w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-150x150.webp 150w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-768x768.webp 768w, https:\/\/airtahiti-virtual.fr\/wp-content\/uploads\/2026\/02\/arriereplan-600x600.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e3266c1 e-flex e-con-boxed e-con e-parent\" data-id=\"e3266c1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1c86c94 elementor-widget elementor-widget-heading\" data-id=\"1c86c94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Communications priv\u00e9es Staff VTA<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f5c6f42 e-con-full e-flex e-con e-parent\" data-id=\"f5c6f42\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-32f9724 elementor-widget__width-auto elementor-widget elementor-widget-shortcode\" data-id=\"32f9724\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div style=\"background: #2c3e50; color: #ecf0f1; padding: 20px; border-radius: 12px; font-family: sans-serif; max-width: 900px; margin: 20px auto; border-left: 8px solid #e74c3c; box-shadow: 0 4px 15px rgba(0,0,0,0.1);\">\n        \n        <h3 style=\"margin: 0 0 15px 0; color: #ffffff; text-transform: uppercase; font-size: 16px; letter-spacing: 1px;\">\ud83d\udee1\ufe0f Suivi Staff<\/h3>\n\n        <div style=\"display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;\">\n                                                <div style=\"background: rgba(255,255,255,0.04); padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); position: relative;\">\n                        \n                        <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px;\">\n                            <strong style=\"color: #ecf0f1; font-size: 14px;\">\ud83d\udccc Gestion des heures pilotes<\/strong>\n                            <div style=\"display: flex; align-items: center; gap: 8px;\">\n                                <!-- Badge avec couleur de texte dynamique -->\n                                <span style=\"font-size: 9px; font-weight: 800; background: #27ae60; color: #ffffff; padding: 2px 8px; border-radius: 4px;\">R\u00c9SOLU<\/span>\n                                \n                                <form method=\"POST\" onsubmit=\"return confirm('Supprimer ?');\" style=\"margin:0;\">\n                                    <input type=\"hidden\" name=\"entry_index\" value=\"0\">\n                                    <button type=\"submit\" name=\"delete_task\" style=\"background:none; border:none; color:#e74c3c; cursor:pointer; font-size:14px; opacity: 0.7;\">\ud83d\uddd1\ufe0f<\/button>\n                                <\/form>\n                            <\/div>\n                        <\/div>\n\n                        <div style=\"font-size: 10px; color: #e74c3c; margin-bottom: 5px; font-weight: bold;\">\n                            Par : Alain L <span style=\"opacity: 0.5; font-weight: normal; color: #bdc3c7;\">\u2022 28\/05\/2026 06:45<\/span>\n                        <\/div>\n\n                        <div style=\"font-size: 12px; color: #bdc3c7; margin-bottom: 8px; line-height: 1.4;\">Refus par les serveurs OVH d&#039;envoyer les commandes POST des serveurs FSHUB pour r\u00e9cup\u00e9rer les heures de vols \u00e0 cr\u00e9diter aux pilotes.<br \/>\r\nApr\u00e8s 1 semaine de recherches, solution trouv\u00e9es en fouillant sur les API Fshub.<\/div>\n                        \n                        \n                        <form method=\"POST\" style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 8px; margin-top: 5px;\">\n                            <input type=\"hidden\" name=\"entry_index\" value=\"0\">\n                            <input type=\"hidden\" name=\"update_task_data\" value=\"1\">\n                            \n                            <input type=\"text\" name=\"staff_reply\" placeholder=\"R\u00e9ponse...\" value=\"\" style=\"flex: 1; min-width: 150px; height: 24px; border-radius: 4px; border: none; padding: 0 8px; font-size: 11px; background: rgba(0,0,0,0.2); color: #fff;\">\n                            \n                            <button type=\"submit\" style=\"background: #34495e; color: white; border: none; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 10px; cursor: pointer;\">\ud83d\udcac OK<\/button>\n                            \n                            <div style=\"display: flex; gap: 4px;\">\n                                <!-- Boutons avec texte contrast\u00e9 aussi pour le statut s\u00e9lectionn\u00e9 -->\n                                <button type=\"submit\" name=\"new_status\" value=\"en-cours\" style=\"background:none; border:1px solid #f39c12; color:#f39c12; cursor:pointer; border-radius:3px; padding:1px 5px; font-size: 9px; \">EN COURS<\/button>\n                                <button type=\"submit\" name=\"new_status\" value=\"resolu\" style=\"background:none; border:1px solid #27ae60; color:#27ae60; cursor:pointer; border-radius:3px; padding:1px 5px; font-size: 9px; background:#27ae60; color:white;\">R\u00c9SOLU<\/button>\n                            <\/div>\n                        <\/form>\n                    <\/div>\n                                    <\/div>\n\n        <form method=\"POST\" style=\"background: rgba(0,0,0,0.15); padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);\">\n            <input type=\"text\" name=\"internal_note_title\" required placeholder=\"Titre...\" style=\"width: 100%; border-radius: 4px; border: none; padding: 6px 10px; background: #fff; color: #333; margin-bottom: 8px; font-size: 12px;\">\n            <textarea name=\"internal_note_content\" style=\"width: 100%; height: 40px; border-radius: 4px; border: none; padding: 6px 10px; background: #fff; color: #333; margin-bottom: 8px; font-size: 12px;\" placeholder=\"D\u00e9tails...\"><\/textarea>\n            <div style=\"display: flex; justify-content: space-between; align-items: center;\">\n                <div style=\"font-size: 11px;\">\n                    <label style=\"cursor:pointer; margin-right: 10px;\"><input type=\"radio\" name=\"initial_status\" value=\"en-cours\" checked> \u23f3<\/label>\n                    <label style=\"cursor:pointer;\"><input type=\"radio\" name=\"initial_status\" value=\"resolu\"> \u2705<\/label>\n                <\/div>\n                <button type=\"submit\" name=\"save_internal_note\" style=\"background: #e74c3c; color: white; border: none; padding: 6px 15px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 11px; text-transform: uppercase;\">\u2795 Ajouter<\/button>\n            <\/div>\n        <\/form>\n    <\/div>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a3da3d7 e-flex e-con-boxed e-con e-parent\" data-id=\"a3da3d7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-2902fc6 e-con-full e-flex e-con e-child\" data-id=\"2902fc6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-683763e elementor-widget__width-inherit elementor-widget elementor-widget-text-editor\" data-id=\"683763e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h4 style=\"text-align: center;\"><span style=\"color: #993366;\"><strong>Top 5 Pilotes du mois<\/strong><\/span><\/h4><h4 style=\"text-align: center;\"><span style=\"color: #993366;\"><strong>en<\/strong><\/span><\/h4><h4 style=\"text-align: center;\"><span style=\"color: #993366;\"><strong>Phase de test<\/strong><\/span><\/h4>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3761f76 elementor-widget__width-initial elementor-widget elementor-widget-html\" data-id=\"3761f76\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"container-top-pilotes\">Chargement du classement en temps r\u00e9el...<\/div>\n\n<script>\n\/\/ On appelle le script sans passer par le cache du navigateur\nfetch('\/wp-admin\/admin-ajax.php?action=get_top_pilotes&t=' + new Date().getTime())\n  .then(response => response.text())\n  .then(data => {\n    document.getElementById('container-top-pilotes').innerHTML = data;\n  });\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Affichage de br\u00e8ves en page d&#8217;accueil Ajustement des heures pilotes VTA \u2708\ufe0f Ajustement d&#8217;Heures Pilotes &#8211; Air Tahiti Virtual Convertit les minutes en centi\u00e8mes d&#8217;heure pour la base de donn\u00e9es. \ud83d\udc64 Rechercher un pilote (ID ou Nom) : Pilote : &#8212; ID : &#8212; \u2795 Ajouter \u2796 Retirer Heures : Minutes : Valeur d\u00e9cimale \u00e0 [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"class_list":["post-2862","page","type-page","status-publish","hentry","entry"],"acf":[],"_links":{"self":[{"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages\/2862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/comments?post=2862"}],"version-history":[{"count":112,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages\/2862\/revisions"}],"predecessor-version":[{"id":3356,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages\/2862\/revisions\/3356"}],"wp:attachment":[{"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/media?parent=2862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}