Changeset 3445528
- Timestamp:
- 01/23/2026 11:28:12 AM (2 months ago)
- Location:
- woopop-electronic-invoice-free/trunk
- Files:
-
- 13 edited
-
addon/for/cozmos/vendor/composer/installed.php (modified) (2 diffs)
-
addon/for/pmpro/vendor/composer/installed.php (modified) (2 diffs)
-
addon/to/aruba/vendor/composer/installed.php (modified) (2 diffs)
-
addon/to/fattureincloud-stock/vendor/composer/installed.php (modified) (2 diffs)
-
addon/to/fattureincloud/vendor/composer/installed.php (modified) (2 diffs)
-
addon/to/sdi-pec/vendor/composer/installed.php (modified) (2 diffs)
-
changelog.txt (modified) (1 diff)
-
index.php (modified) (4 diffs)
-
readme.md (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Admin/XmlOrderListTable.php (modified) (1 diff)
-
src/WooCommerce/Fields/InvoiceFields.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woopop-electronic-invoice-free/trunk/addon/for/cozmos/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/addon/for/pmpro/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/addon/to/aruba/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/addon/to/fattureincloud-stock/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/addon/to/fattureincloud/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/addon/to/sdi-pec/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
woopop-electronic-invoice-free/trunk/changelog.txt
r3444920 r3445528 1 = 6.5.9 - 20/01/2025 = 1 = 6.6.0 - 23/01/2026 = 2 Fixed: run checkout block validation/save hooks only when WooCommerce is active. 3 Fixed: guard checkout block loading so the plugin doesn’t load WC blocks when only PMPro is used. 4 Fixed: pass the provider to Invoice API, Peppol, and Webhook actions in the order list to support non-WooCommerce providers. 5 6 = 6.5.9 - 20/01/2026 = 2 7 Added: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button. 3 8 Added: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook. 4 9 Fixed: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID. 5 10 6 = 6.5.8 - 08/01/202 5=11 = 6.5.8 - 08/01/2026 = 7 12 Added: resolveOrder 8 13 Fixed: disableInvoiceOnOrderTotalZero, add support for auto completed order -
woopop-electronic-invoice-free/trunk/index.php
r3444929 r3445528 7 7 * Description: POP automatically configures your e-commerce to comply with European tax regulations. Your e-commerce can generate electronic invoices in XML format and, thanks to our APIs, automatically transmit them to your accounting software and tax authorities. 8 8 * 9 * Version: 6. 5.99 * Version: 6.6.0 10 10 * Author: POP 11 11 * Author URI: https://popapi.io/ … … 52 52 define('WC_EL_INV_NAME', 'POP Electronic Invoice'); 53 53 define('WC_EL_INV_TEXTDOMAIN', 'el-inv'); 54 define('WC_EL_INV_VERSION', '6. 5.9');54 define('WC_EL_INV_VERSION', '6.6.0'); 55 55 define('WC_EL_INV_VERSION_CLASS', str_replace('.', '_', WC_EL_INV_VERSION)); 56 56 define('WC_EL_INV_PLUGIN_DIR', basename(plugin_dir_path(__FILE__))); … … 158 158 // Init editor block 159 159 add_action( 'current_screen', function( $screen ) { 160 if ( property_exists($screen, 'is_block_editor') && $screen->is_block_editor && $screen->post_type === 'page' ) { 161 $postID = \WcElectronInvoice\Functions\filterInput($_GET, 'post', FILTER_SANITIZE_NUMBER_INT); 162 if ( $postID && has_block( 'woocommerce/checkout', get_post_field( 'post_content', $postID ) ) ) { 163 \WcElectronInvoice\WooCommerce\Fields\InvoiceFields::popCheckoutBlockInit(); 160 if (\WcElectronInvoice\Functions\isWooCommerceActive()) { 161 if (property_exists($screen, 'is_block_editor') && $screen->is_block_editor && $screen->post_type === 'page') { 162 $postID = \WcElectronInvoice\Functions\filterInput($_GET, 'post', FILTER_SANITIZE_NUMBER_INT); 163 if ($postID && has_block('woocommerce/checkout', get_post_field('post_content', $postID))) { 164 \WcElectronInvoice\WooCommerce\Fields\InvoiceFields::popCheckoutBlockInit(); 165 } 164 166 } 165 167 } … … 167 169 // Init frontend block 168 170 add_action( 'template_redirect', function () { 169 $checkoutID = wc_get_page_id('checkout'); 170 if ( $checkoutID && has_block( 'woocommerce/checkout', get_post_field( 'post_content', $checkoutID ) ) ) { 171 if (is_checkout()) { 172 \WcElectronInvoice\WooCommerce\Fields\InvoiceFields::popCheckoutBlockInit(); 171 if (\WcElectronInvoice\Functions\isWooCommerceActive()) { 172 $checkoutID = wc_get_page_id('checkout'); 173 if ($checkoutID && has_block('woocommerce/checkout', get_post_field('post_content', $checkoutID))) { 174 if (is_checkout()) { 175 \WcElectronInvoice\WooCommerce\Fields\InvoiceFields::popCheckoutBlockInit(); 176 } 173 177 } 174 178 } -
woopop-electronic-invoice-free/trunk/readme.md
r3444920 r3445528 4 4 * **Requires at least:** 4.6 5 5 * **Tested up to:** 6.9 6 * **Stable tag:** 6. 5.96 * **Stable tag:** 6.6.0 7 7 * **Requires PHP:** 5.6 8 8 * **License:** GPLv2 or later … … 150 150 ## Changelog 151 151 == Changelog == 152 = 6.5.9 - 20/01/2025 = 152 = 6.6.0 - 23/01/2026 = 153 * Fix: run checkout block validation/save hooks only when WooCommerce is active. 154 * Fix: guard checkout block loading so the plugin doesn’t load WC blocks when only PMPro is used. 155 * Fix: pass the provider to Invoice API, Peppol, and Webhook actions in the order list to support non-WooCommerce providers. 156 157 = 6.5.9 - 20/01/2026 = 153 158 * Add: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button. 154 159 * Fix: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook. 155 160 * Fix: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID. 156 161 157 = 6.5.8 - 08/01/202 5=162 = 6.5.8 - 08/01/2026 = 158 163 * Add: resolveOrder 159 164 * Fix: disableInvoiceOnOrderTotalZero, add support for auto completed order -
woopop-electronic-invoice-free/trunk/readme.txt
r3444920 r3445528 4 4 Requires at least: 4.6 5 5 Tested up to: 6.9 6 Stable tag: 6. 5.96 Stable tag: 6.6.0 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 129 129 130 130 == Changelog == 131 = 6.5.9 - 20/01/2025 = 131 = 6.6.0 - 23/01/2026 = 132 * Fix: run checkout block validation/save hooks only when WooCommerce is active. 133 * Fix: guard checkout block loading so the plugin doesn’t load WC blocks when only PMPro is used. 134 * Fix: pass the provider to Invoice API, Peppol, and Webhook actions in the order list to support non-WooCommerce providers. 135 136 = 6.5.9 - 20/01/2026 = 132 137 * Add: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button. 133 138 * Fix: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook. 134 139 * Fix: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID. 135 140 136 = 6.5.8 - 08/01/202 5=141 = 6.5.8 - 08/01/2026 = 137 142 * Add: resolveOrder 138 143 * Fix: disableInvoiceOnOrderTotalZero, add support for auto completed order -
woopop-electronic-invoice-free/trunk/src/Admin/XmlOrderListTable.php
r3444920 r3445528 342 342 if (! Integrations::haveIntegrationActive()) { 343 343 // Invoice API actions 344 $output = InvoiceApi::actions($output, $id, $item );344 $output = InvoiceApi::actions($output, $id, $item, $provider); 345 345 } 346 346 } 347 347 348 348 if (! $sdiActions) { 349 $output = PeppolApi::actions($output, $id, $item );349 $output = PeppolApi::actions($output, $id, $item, $provider); 350 350 } 351 351 352 352 if ('yes' === get_option('wc_el_inv-enable_pop_webhook')) { 353 353 // Webhook actions 354 $output = webHookActions($output, $id, $item );354 $output = webHookActions($output, $id, $item, $provider); 355 355 } 356 356 -
woopop-electronic-invoice-free/trunk/src/WooCommerce/Fields/InvoiceFields.php
r3409381 r3445528 2840 2840 public static function popCheckoutBlockValidationInit() 2841 2841 { 2842 if (! \WcElectronInvoice\Functions\isWooCommerceActive()) { 2843 return; 2844 } 2845 2842 2846 add_action('woocommerce_store_api_cart_errors', function ($cartErrors, $cart) { 2843 2847 self::popCheckoutBlockValidation($cartErrors, $cart); … … 2872 2876 public static function popCheckoutBlockSaveData() 2873 2877 { 2878 if (! \WcElectronInvoice\Functions\isWooCommerceActive()) { 2879 return; 2880 } 2881 2874 2882 add_action('woocommerce_store_api_checkout_update_order_from_request', function ($order, $request) { 2875 2883 $rawPost = file_get_contents('php://input'); -
woopop-electronic-invoice-free/trunk/vendor/composer/installed.php
r3444920 r3445528 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',6 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' d9c0395d15bf6e203fbe6766ead6f504fd472256',16 'reference' => '661f7d088dc73adb618150fc1f5bf04b864ffcf5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.