{"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-05-28T06:47:00","modified_gmt":"2026-05-28T05:47:00","slug":"insertion-news","status":"publish","type":"page","link":"https:\/\/airtahiti-virtual.fr\/en\/insertion-news\/","title":{"rendered":"Insertion News"},"content":{"rendered":"<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\">Communications priv\u00e9es Staff et outils divers<\/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-1706058 elementor-widget__width-auto elementor-widget elementor-widget-shortcode\" data-id=\"1706058\" 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;\" action=\"\">\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                                <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/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;\" action=\"\">\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                        <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/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);\" action=\"\">\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        <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/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 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 Convertisseur d'Heures Staff - 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    <div class=\"calc-row\">\n        <div class=\"calc-field\">\n            <label>Heures du vol manquant :<\/label>\n            <input type=\"number\" id=\"calc-heures\" min=\"0\" value=\"0\" oninput=\"calculerConversion()\">\n        <\/div>\n        <div class=\"calc-field\">\n            <label>Minutes du vol manquant :<\/label>\n            <input type=\"number\" id=\"calc-minutes\" min=\"0\" max=\"59\" value=\"0\" placeholder=\"Ex: 15\" oninput=\"calculerConversion()\">\n        <\/div>\n    <\/div>\n\n    <hr class=\"calc-separator\">\n\n    <div class=\"calc-result-box\">\n        <span class=\"result-label\">Valeur d\u00e9cimale \u00e0 ajouter dans le report :<\/span>\n        <span id=\"resultat-decimal\" class=\"result-value\">0.00<\/span>\n    <\/div>\n\n    <div class=\"calc-simulation\">\n        <h4>Simulateur de nouveau total (Optionnel)<\/h4>\n        <div class=\"calc-field\">\n            <label>Compteur actuel du pilote sur le site :<\/label>\n            <input type=\"text\" id=\"calc-total-actuel\" placeholder=\"Ex: 3214.00\" oninput=\"calculerConversion()\">\n        <\/div>\n        <div class=\"calc-result-box simulation-box\">\n            <span class=\"result-label\">Nouveau total :<\/span>\n            <span id=\"resultat-nouveau-total\" class=\"result-value-total\">---<\/span>\n        <\/div>\n    <\/div>\n<\/div>\n\n<style>\n\/* Style personnalis\u00e9 aux couleurs d'Air Tahiti Virtual *\/\n.calculette-vta-container {\n    background-color: #ffffff;\n    border: 2px solid #800000;\n    border-radius: 8px;\n    padding: 63px;\n    max-width: 600px;\n    margin: 20px auto;\n    font-family: Arial, sans-serif;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.1);\n}\n.calculette-vta-container h3 {\n    color: #800000;\n    margin-top: 0;\n    margin-bottom: 5px;\n    font-size: 18px;\n    text-align: center;\n}\n.calculette-vta-container h4 {\n    color: #333;\n    font-size: 14px;\n    margin-top: 15px;\n    margin-bottom: 8px;\n}\n.calculette-vta-container .subtitle {\n    font-size: 12px;\n    color: #666;\n    text-align: center;\n    margin-bottom: 20px;\n}\n.calc-row {\n    display: flex;\n    gap: 15px;\n}\n.calc-field {\n    display: flex;\n    flex-direction: column;\n    flex: 1;\n    margin-bottom: 12px;\n}\n.calc-field label {\n    font-size: 15px;\n    font-weight: bold;\n    margin-bottom: 5px;\n    color: #444;\n}\n.calc-field input {\n    padding: 12px;\n    border: 1px solid #ccc;\n    border-radius: 4px;\n    font-size: 14px;\n}\n.calc-field input:focus {\n    border-color: #800000;\n    outline: none;\n}\n.calc-separator {\n    border: 0;\n    border-top: 1px solid #eee;\n    margin: 15px 0;\n}\n.calc-result-box {\n    background-color: #f9f2f2;\n    border-left: 4px solid #800000;\n    padding: 12px;\n    border-radius: 4px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    margin-bottom: 15px;\n}\n.simulation-box {\n    background-color: #f4f4f4;\n    border-left-color: #555;\n}\n.result-label {\n    font-size: 16px;\n    font-weight: bold;\n    color: #333;\n}\n.result-value {\n    font-size: 28px;\n    font-weight: bold;\n    color: #800000;\n}\n.result-value-total {\n    font-size: 24px;\n    font-weight: bold;\n    color: #333;\n}\n<\/style>\n\n<script>\nfunction calculerConversion() {\n    \/\/ R\u00e9cup\u00e9ration des donn\u00e9es saisies\n    let heures = parseInt(document.getElementById('calc-heures').value) || 0;\n    let minutes = parseInt(document.getElementById('calc-minutes').value) || 0;\n    \n    \/\/ S\u00e9curit\u00e9 si les minutes d\u00e9passent 59\n    if (minutes > 59) {\n        minutes = 59;\n        document.getElementById('calc-minutes').value = 59;\n    }\n\n    \/\/ Calcul de la valeur d\u00e9cimale (Minutes \/ 60)\n    let fractionMinutes = minutes \/ 60;\n    let totalDecimal = heures + fractionMinutes;\n    \n    \/\/ Formatage \u00e0 2 d\u00e9cimales\n    let resultatDecimalFormate = totalDecimal.toFixed(2);\n    \n    \/\/ Affichage de la valeur \u00e0 ajouter\n    document.getElementById('resultat-decimal').innerText = resultatDecimalFormate;\n\n    \/\/ Gestion de la simulation du nouveau total global\n    let totalActuelRaw = document.getElementById('calc-total-actuel').value;\n    \/\/ On remplace la virgule par un point au cas o\u00f9 le staff se trompe de touche\n    let totalActuelPropre = totalActuelRaw.replace(',', '.');\n    let totalActuel = parseFloat(totalActuelPropre);\n\n    if (!isNaN(totalActuel)) {\n        let nouveauTotalGlobal = totalActuel + totalDecimal;\n        document.getElementById('resultat-nouveau-total').innerText = nouveauTotalGlobal.toFixed(2) + \" H\";\n    } else {\n        document.getElementById('resultat-nouveau-total').innerText = \"---\";\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-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\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Affichage de br\u00e8ves en page d&#8217;accueil Communications priv\u00e9es Staff et outils divers \u2708\ufe0f Convertisseur d&#8217;Heures Staff &#8211; Air Tahiti Virtual Convertit les minutes en centi\u00e8mes d&#8217;heure pour la base de donn\u00e9es. Heures du vol manquant : Minutes du vol manquant : Valeur d\u00e9cimale \u00e0 ajouter dans le report : 0.00 Simulateur de nouveau total (Optionnel) [&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":46,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages\/2862\/revisions"}],"predecessor-version":[{"id":3130,"href":"https:\/\/airtahiti-virtual.fr\/en\/wp-json\/wp\/v2\/pages\/2862\/revisions\/3130"}],"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}]}}