Plugin Directory

Changeset 3485763


Ignore:
Timestamp:
03/18/2026 02:18:20 PM (9 days ago)
Author:
webdigit
Message:

Release v0.9.0

Location:
gestoo-connector-for-peppol-invoicing/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • gestoo-connector-for-peppol-invoicing/trunk/admin/class-gestoo-peppol-order-list-columns.php

    r3485542 r3485763  
    102102        $last_error    = (string) $order->get_meta( Gestoo_Peppol_Order_Handler::meta_last_error() );
    103103        $error_log     = $order->get_meta( Gestoo_Peppol_Order_Handler::meta_error_log() );
    104         $show_log_btn  = ( is_array( $error_log ) && count( $error_log ) > 0 ) || '' !== $last_error;
     104        $show_log_btn  = ( 'synced' === $sync_status && $invoice_id > 0 ) || ( 'error' === $sync_status );
    105105
    106106        $base_url = rtrim( (string) get_option( 'gestoo_peppol_api_base_url', GESTOO_PEPPOL_API_BASE_URL ), '/' );
     
    190190                'lblDate'         => __( 'Date', 'gestoo-connector-for-peppol-invoicing' ),
    191191                'lblEvent'        => __( 'Event', 'gestoo-connector-for-peppol-invoicing' ),
    192                 'lblViewLog'      => __( 'View event log', 'gestoo-connector-for-peppol-invoicing' ),
     192                'lblViewLog'      => __( 'View GestOO sync log', 'gestoo-connector-for-peppol-invoicing' ),
    193193                'lblSyncTitle'    => __( 'Sync with GestOO (create invoice or refresh status)', 'gestoo-connector-for-peppol-invoicing' ),
    194194                'lblOpenGestoo'   => __( 'Open in GestOO', 'gestoo-connector-for-peppol-invoicing' ),
     
    287287        $last_error    = (string) $order->get_meta( Gestoo_Peppol_Order_Handler::meta_last_error() );
    288288        $error_log     = $order->get_meta( Gestoo_Peppol_Order_Handler::meta_error_log() );
    289         $show_log_btn  = ( is_array( $error_log ) && count( $error_log ) > 0 ) || '' !== $last_error;
     289        $show_log_btn  = ( 'synced' === $sync_status && $invoice_id > 0 ) || ( 'error' === $sync_status );
    290290        $base_url      = rtrim( (string) get_option( 'gestoo_peppol_api_base_url', GESTOO_PEPPOL_API_BASE_URL ), '/' );
    291291
  • gestoo-connector-for-peppol-invoicing/trunk/admin/class-gestoo-peppol-order-meta-box.php

    r3485542 r3485763  
    164164                    echo '<p class="gestoo-error-msg" style="color:#b32d2e;font-size:12px;">' . esc_html( $peppol_message ) . '</p>';
    165165                }
     166                echo '<p class="description" style="font-size:11px;margin-top:4px;">' . esc_html__( 'Pending: invoice created, Peppol send not yet done. Rejected: send impossible (e.g. no tenant configured). Delivered: sent successfully on Peppol network.', 'gestoo-connector-for-peppol-invoicing' ) . '</p>';
    166167            }
    167168            if ( '' !== $gestoo_url ) {
     
    173174            if ( ! Gestoo_Peppol_Order_Handler::is_auto_send_peppol() && '' === $peppol_status ) {
    174175                echo '<p><button type="button" class="button button-small gestoo-send-peppol">' . esc_html__( 'Send via Peppol', 'gestoo-connector-for-peppol-invoicing' ) . '</button></p>';
     176            }
     177            if ( in_array( $peppol_status, [ 'rejected', 'error' ], true ) ) {
     178                echo '<p><button type="button" class="button button-primary gestoo-send-peppol">' . esc_html__( 'Retry', 'gestoo-connector-for-peppol-invoicing' ) . '</button></p>';
    175179            }
    176180            echo '<p><button type="button" class="button button-small gestoo-refresh-status">' . esc_html__( 'Refresh status', 'gestoo-connector-for-peppol-invoicing' ) . '</button></p>';
  • gestoo-connector-for-peppol-invoicing/trunk/gestoo-connector-for-peppol-invoicing.php

    r3485542 r3485763  
    44 * Plugin URI:        https://www.gestoo.be
    55 * Description:       WooCommerce to GestOO connector: create invoices and send via Peppol. Official invoicing stays in GestOO.
    6  * Version:           0.8.0
     6 * Version:           0.9.0
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
     
    4242);
    4343
    44 define( 'GESTOO_PEPPOL_INVOICE_VERSION', '0.8.0' );
     44define( 'GESTOO_PEPPOL_INVOICE_VERSION', '0.9.0' );
    4545define( 'GESTOO_PEPPOL_INVOICE_PLUGIN_FILE', __FILE__ );
    4646define( 'GESTOO_PEPPOL_INVOICE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • gestoo-connector-for-peppol-invoicing/trunk/languages/gestoo-connector-for-peppol-invoicing-fr_FR.po

    r3474457 r3485763  
    127127msgstr "Actualiser le statut"
    128128
     129msgid "Retry"
     130msgstr "Réessayer"
     131
    129132msgid "Error"
    130133msgstr "Erreur"
     
    219222msgid "Order"
    220223msgstr "Commande"
     224
     225msgid "View event log"
     226msgstr "Voir le journal de sync GestOO"
     227
     228msgid "View GestOO sync log"
     229msgstr "Voir le journal de sync GestOO"
     230
     231msgid "Pending: invoice created, Peppol send not yet done. Rejected: send impossible (e.g. no tenant configured). Delivered: sent successfully on Peppol network."
     232msgstr "En attente : facture créée, envoi Peppol pas encore effectué. Rejeté : envoi impossible (ex. aucun tenant configuré). Livré : envoyé avec succès sur le réseau Peppol."
  • gestoo-connector-for-peppol-invoicing/trunk/languages/gestoo-connector-for-peppol-invoicing.pot

    r3474457 r3485763  
    128128msgstr ""
    129129
     130msgid "Retry"
     131msgstr ""
     132
    130133msgid "Error"
    131134msgstr ""
  • gestoo-connector-for-peppol-invoicing/trunk/readme.txt

    r3485542 r3485763  
    55Requires at least: 6.0
    66Tested up to: 6.9
    7 Stable tag: 0.8.0
     7Stable tag: 0.9.0
    88Requires PHP: 7.4
    99Requires Plugins: woocommerce
     
    8080== Changelog ==
    8181
     82= 0.9.0 =
     83* Retry button when Peppol status is Rejected: allows re-attempting send after tenant configuration or VAT correction (calls send-peppol API).
     84* Refresh status now only reads status; use Retry to re-evaluate and resend.
     85
    8286= 0.8.0 =
    8387* Dates facture : created_at (date création commande) et paid_at (date paiement) transmises à GestOO. Factures non payées marquées comme non soldées.
     
    132136== Upgrade Notice ==
    133137
     138= 0.9.0 =
     139Retry button when Peppol send was rejected (e.g. tenant not configured). Use it to re-attempt after configuration. Safe to update.
     140
    134141= 0.8.0 =
    135142Invoice dates from WooCommerce (created_at, paid_at). WordPress spinner during AJAX. Column refresh without page reload. Safe to update.
Note: See TracChangeset for help on using the changeset viewer.