Changeset 3485763
- Timestamp:
- 03/18/2026 02:18:20 PM (9 days ago)
- Location:
- gestoo-connector-for-peppol-invoicing/trunk
- Files:
-
- 6 edited
-
admin/class-gestoo-peppol-order-list-columns.php (modified) (3 diffs)
-
admin/class-gestoo-peppol-order-meta-box.php (modified) (2 diffs)
-
gestoo-connector-for-peppol-invoicing.php (modified) (2 diffs)
-
languages/gestoo-connector-for-peppol-invoicing-fr_FR.po (modified) (2 diffs)
-
languages/gestoo-connector-for-peppol-invoicing.pot (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gestoo-connector-for-peppol-invoicing/trunk/admin/class-gestoo-peppol-order-list-columns.php
r3485542 r3485763 102 102 $last_error = (string) $order->get_meta( Gestoo_Peppol_Order_Handler::meta_last_error() ); 103 103 $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 ); 105 105 106 106 $base_url = rtrim( (string) get_option( 'gestoo_peppol_api_base_url', GESTOO_PEPPOL_API_BASE_URL ), '/' ); … … 190 190 'lblDate' => __( 'Date', 'gestoo-connector-for-peppol-invoicing' ), 191 191 'lblEvent' => __( 'Event', 'gestoo-connector-for-peppol-invoicing' ), 192 'lblViewLog' => __( 'View eventlog', 'gestoo-connector-for-peppol-invoicing' ),192 'lblViewLog' => __( 'View GestOO sync log', 'gestoo-connector-for-peppol-invoicing' ), 193 193 'lblSyncTitle' => __( 'Sync with GestOO (create invoice or refresh status)', 'gestoo-connector-for-peppol-invoicing' ), 194 194 'lblOpenGestoo' => __( 'Open in GestOO', 'gestoo-connector-for-peppol-invoicing' ), … … 287 287 $last_error = (string) $order->get_meta( Gestoo_Peppol_Order_Handler::meta_last_error() ); 288 288 $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 ); 290 290 $base_url = rtrim( (string) get_option( 'gestoo_peppol_api_base_url', GESTOO_PEPPOL_API_BASE_URL ), '/' ); 291 291 -
gestoo-connector-for-peppol-invoicing/trunk/admin/class-gestoo-peppol-order-meta-box.php
r3485542 r3485763 164 164 echo '<p class="gestoo-error-msg" style="color:#b32d2e;font-size:12px;">' . esc_html( $peppol_message ) . '</p>'; 165 165 } 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>'; 166 167 } 167 168 if ( '' !== $gestoo_url ) { … … 173 174 if ( ! Gestoo_Peppol_Order_Handler::is_auto_send_peppol() && '' === $peppol_status ) { 174 175 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>'; 175 179 } 176 180 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 4 4 * Plugin URI: https://www.gestoo.be 5 5 * Description: WooCommerce to GestOO connector: create invoices and send via Peppol. Official invoicing stays in GestOO. 6 * Version: 0. 8.06 * Version: 0.9.0 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 42 42 ); 43 43 44 define( 'GESTOO_PEPPOL_INVOICE_VERSION', '0. 8.0' );44 define( 'GESTOO_PEPPOL_INVOICE_VERSION', '0.9.0' ); 45 45 define( 'GESTOO_PEPPOL_INVOICE_PLUGIN_FILE', __FILE__ ); 46 46 define( '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 127 127 msgstr "Actualiser le statut" 128 128 129 msgid "Retry" 130 msgstr "Réessayer" 131 129 132 msgid "Error" 130 133 msgstr "Erreur" … … 219 222 msgid "Order" 220 223 msgstr "Commande" 224 225 msgid "View event log" 226 msgstr "Voir le journal de sync GestOO" 227 228 msgid "View GestOO sync log" 229 msgstr "Voir le journal de sync GestOO" 230 231 msgid "Pending: invoice created, Peppol send not yet done. Rejected: send impossible (e.g. no tenant configured). Delivered: sent successfully on Peppol network." 232 msgstr "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 128 128 msgstr "" 129 129 130 msgid "Retry" 131 msgstr "" 132 130 133 msgid "Error" 131 134 msgstr "" -
gestoo-connector-for-peppol-invoicing/trunk/readme.txt
r3485542 r3485763 5 5 Requires at least: 6.0 6 6 Tested up to: 6.9 7 Stable tag: 0. 8.07 Stable tag: 0.9.0 8 8 Requires PHP: 7.4 9 9 Requires Plugins: woocommerce … … 80 80 == Changelog == 81 81 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 82 86 = 0.8.0 = 83 87 * 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. … … 132 136 == Upgrade Notice == 133 137 138 = 0.9.0 = 139 Retry button when Peppol send was rejected (e.g. tenant not configured). Use it to re-attempt after configuration. Safe to update. 140 134 141 = 0.8.0 = 135 142 Invoice 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.