Plugin Directory

Changeset 3444920


Ignore:
Timestamp:
01/22/2026 02:46:00 PM (2 months ago)
Author:
Picaland
Message:

Added: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button.
Added: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook.
Fixed: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID.

Location:
woopop-electronic-invoice-free/trunk
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • woopop-electronic-invoice-free/trunk/addon/for/cozmos/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/addon/for/pmpro/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/addon/to/aruba/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/addon/to/fattureincloud-stock/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/addon/to/fattureincloud/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/addon/to/sdi-pec/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • woopop-electronic-invoice-free/trunk/assets/css/wc-inv-admin.css

    r3382415 r3444920  
    27442744  font-size:     1em !important;
    27452745}
     2746
     2747/* actions global style */
     2748.api-action.state,
     2749.api-action.verify {
     2750  background-color: #007cba !important;
     2751  border-color:     #007cba !important;
     2752  box-shadow:       0 2px 1px #034262 !important;
     2753  color:            #fff !important;
     2754  text-transform:   uppercase;
     2755}
     2756
     2757.api-action.send_pdf {
     2758  background-color: #ca3a14 !important;
     2759  border-color:     #ca3a14 !important;
     2760  box-shadow:       0 2px 1px #bb3112 !important;
     2761  color:            #fff !important;
     2762  text-transform:   uppercase;
     2763}
     2764
     2765.api-action.notify {
     2766  background-color: #ff7d20 !important;
     2767  border-color:     #ff7d20 !important;
     2768  box-shadow:       0 2px 1px #ab5112 !important;
     2769  color:            #fff !important;
     2770  text-transform:   uppercase;
     2771}
     2772
     2773.api-action.notify:hover {
     2774  background-color: #ab5112 !important;
     2775  border-color:     #ab5112 !important;
     2776  box-shadow:       0 2px 1px #ab5112 !important;
     2777}
     2778
     2779.api-action.state:hover,
     2780.api-action.verify:hover {
     2781  background-color: #034262 !important;
     2782  border-color:     #034262 !important;
     2783  box-shadow:       0 2px 1px #034262 !important;
     2784}
     2785
     2786.button-primary.upload.api-action {
     2787  background-color: #87ca5f !important;
     2788  border-color:     #87ca5f !important;
     2789  box-shadow:       0 2px 1px #428f19 !important;
     2790  color:            #fff !important;
     2791  text-transform:   uppercase;
     2792}
     2793
     2794.button-primary.upload.api-action:hover {
     2795  background-color: #428f19 !important;
     2796  border-color:     #428f19 !important;
     2797  box-shadow:       0 2px 1px #428f19 !important;
     2798}
     2799
     2800.button-primary.uploaded.api-action,
     2801.actions .api-action[disabled="disabled"] {
     2802  pointer-events: none;
     2803  opacity:        0.6;
     2804}
     2805
     2806.actions .api-action {
     2807  vertical-align: text-top;
     2808  max-height:     32px;
     2809}
  • woopop-electronic-invoice-free/trunk/assets/js/admin.js

    r3382415 r3444920  
    884884                if ('free' === wc_el_inv_admin.user_level) {
    885885                    activeSection('automatic-sending');
    886                 } else if('IT' !== wc_el_inv_admin.shop_country) {
     886                } else if ('IT' !== wc_el_inv_admin.shop_country) {
    887887                    activeSection('webhook');
    888888                } else {
     
    15131513                });
    15141514            });
     1515
     1516            /**
     1517             * PEPPOL via POP Actions - state
     1518             */
     1519            document.querySelectorAll('.peppol_pop_actions a.api-action.state').forEach(function (btn) {
     1520                btn.addEventListener('click', function (e) {
     1521                    e.preventDefault();
     1522                    e.stopImmediatePropagation();
     1523
     1524                    const apiAction = btn.closest('.peppol_pop_actions').querySelector('a.api-action');
     1525                    if (!apiAction) {
     1526                        return;
     1527                    }
     1528
     1529                    const provider = apiAction.dataset.provider;
     1530                    const id = apiAction.dataset.id;
     1531                    const uuid = apiAction.dataset.uuid;
     1532
     1533                    let loader = document.getElementById('loading-overlay');
     1534                    if (!loader) {
     1535                        loader = document.createElement('span');
     1536                        loader.id = 'loading-overlay';
     1537                        document.body.appendChild(loader);
     1538                    }
     1539                    loader.classList.remove('hidden');
     1540                    loader.classList.add('loading');
     1541
     1542                    fetch(ajaxurl, {
     1543                        method: 'POST',
     1544                        headers: {'Content-Type': 'application/x-www-form-urlencoded'},
     1545                        body: new URLSearchParams({
     1546                            action: 'stateInvoice',
     1547                            method: 'ajax',
     1548                            provider: provider,
     1549                            id: id,
     1550                            uuid: uuid
     1551                        })
     1552                    })
     1553                        .then(response => response.json())
     1554                        .then(data => {
     1555                            if ('dev' === wc_el_inv_admin.mode) {
     1556                                console.log('Response:', data);
     1557                            }
     1558                            showToastAndReload(data.data.message, null, data.success ? 'success' : 'notify');
     1559                        })
     1560                        .catch(error => {
     1561                            console.error('AJAX error:', error);
     1562                            showToastAndReload(error.message, null, 'error');
     1563                        }).finally(() => {
     1564                        loader.classList.remove('loading');
     1565                        loader.classList.add('hidden');
     1566                    });
     1567                });
     1568            });
     1569
    15151570        });
    15161571
     
    16261681
    16271682                        currentOffset += batchSize;
    1628                         if (currentOffset > totalFiles) currentOffset = totalFiles;
     1683                        if (currentOffset > totalFiles) {
     1684                            currentOffset = totalFiles;
     1685                        }
    16291686
    16301687                        saveDownloadState(currentOffset);
     
    16781735            triggerChange.addEventListener('click', () => {
    16791736                let inputKeyWrap = document.querySelector('.wc_el_inv-form table.form-table .license_key');
    1680                 if (!inputKeyWrap) return;
     1737                if (!inputKeyWrap) {
     1738                    return;
     1739                }
    16811740
    16821741                // Toggle classe 'hidden'
     
    16861745                // Recupera l'input
    16871746                let input = inputKeyWrap.querySelector('td label[for="wc_el_inv-settings-license_key"] input[type="text"]');
    1688                 if (!input) return;
     1747                if (!input) {
     1748                    return;
     1749                }
    16891750
    16901751                // Toggle readonly
  • woopop-electronic-invoice-free/trunk/assets/js/admin.min.js

    r3409599 r3444920  
    2424 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    2525 */
    26 !function(e,t,n){function o(e,t,n){var o=document.createElement("a");o.setAttribute("id",e),o.setAttribute("href","javascript:;"),o.innerHTML='<i class="dashicons dashicons-edit"></i>',t.insertAdjacentElement(n,o)}function i(e,t,o){var i=document.createElement("button");i.setAttribute("id",e),i.setAttribute("name",e),i.setAttribute("class","button"),i.innerText=n.text_save,t.insertAdjacentElement(o,i)}function a(e,t,n){var o=document.createElement("a");o.setAttribute("id",e),o.setAttribute("href","javascript:;"),o.innerHTML='<i class="dashicons dashicons-no"></i>',t.insertAdjacentElement("beforeend",o)}function r(e){var t=e.split(/[^0-9]/),n=t[0]+"-"+t[1]+"-"+t[2]+"T"+t[3]+":"+t[4]+":"+t[5]+"+0000";return new Date(n.toString()).getTime()/1e3}function d(e){var t,n=null,o=null,i=null,a=document.getElementById("date_in"),d=document.getElementById("date_out"),c=document.getElementById("filter_type"),s=document.getElementById("filter_state"),l=document.getElementById("filter_provider");if(c&&(n=c.options[c.selectedIndex].value),s&&(o=s.options[s.selectedIndex].value),l&&(i=l.options[l.selectedIndex].value),a.value||d.value){var u=a.value+"T00:00:00",_=d.value+"T23:59:59";u=u.split(" - ").map((function(e){return r(e)})).join(" - "),_=_.split(" - ").map((function(e){return r(e)})).join(" - "),a.value&&""===d.value&&(t=e+"&date_in="+u),""===a.value&&d.value&&(t=e+"&date_out="+_),a.value&&d.value&&(t=e+"&date_in="+u+"&date_out="+_)}else t=e;n&&(t=t+"&filter_type="+n),o&&(t=t+"&filter_state="+o),i&&(t=t+"&filter_provider="+i);if(e&&e.indexOf("filtered")>-1){var m={};if(e.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,t,n){m[t]=n})),"no"===m.filtered)return e}return t}function c(e,t){var n,o=t;return window.location.href.indexOf(e)>-1&&(o=(n={},window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,t,o){n[t]=o})),n)[e]),o}function s(e,t,o,i){i||(i=4e3),"dev"===n.mode&&(console.log("message",e),console.log("raw",t));const a=document.createElement("div");a.className="toast "+o;let r="";"error"===o&&(r+='<span class="close" title="close">X</span>'),r+=e;let d="";t?.response?.data?.violations?t.response.data.violations.forEach((e=>{d+="<hr><b>",d+=`- ${n.sdi_notice_path}: ${e.propertyPath}\n`,d+="</b>",d+=`- ${n.sdi_notice_content}: ${e.propertyContent}\n`,d+=`- ${n.sdi_notice_message}: ${e.message}\n`})):t?.detail?.detail?d+=`- ${t.detail.detail}\n`:t?.error&&(d+=`- ${t.error}\n`),d&&(r+="<small>",r+="\n"+n.sdi_notice_details+":\n",r+=d,r+="</small>"),a.innerHTML=r.replace(/\n/g,"<br>"),window.requestAnimationFrame((()=>{document.body.appendChild(a),a.style.opacity="1","error"===o?a.querySelector(".close").addEventListener("click",(function(){a.remove(),location.reload()})):setTimeout((()=>{a.remove(),"success"!==o&&"notify"!==o||location.reload()}),i)}))}document.addEventListener("scroll",(function(){const e=document.querySelector(".wc_el_inv__header");e&&(window.scrollY>20?e.classList.add("is-scrolled"):e.classList.remove("is-scrolled"))})),window.addEventListener("load",(function(){var r=t("#store_invoice-description");r&&t(r).prev().addClass("store_invoice_title");var s,l,u,_,m,v,f,p,y,b,h,g,w,E,A=t("#store_invoice_transmitter-description");A&&t(A).prev().addClass("store_invoice_transmitter_title");t("a.edit_address").on("click",(function(e){t(".order_data_column > p").addClass("hide")})),s=c("tab"),(l=document.querySelectorAll("#toplevel_page_wc_el_inv-options-page ul.wp-submenu li a"))&&l.forEach((function(e){e.parentElement.classList.contains("wp-first-item")&&e.parentElement.remove(),e.parentElement.classList.remove("current"),-1!==e.getAttribute("href").indexOf(s)&&e.parentElement.classList.add("current")})),function(){var e=document.getElementById("wc_el_inv-settings-number_next_invoice");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_invoice_next_number",e,"afterend");var t=document.getElementById("edit_invoice_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_invoice_next_number",e,"afterend"))}))}}(),function(){var e=document.getElementById("wc_el_inv-settings-number_next_receipt");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_receipt_next_number",e,"afterend");var t=document.getElementById("edit_receipt_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_receipt_next_number",e,"afterend"))}))}}(),function(){var e=document.getElementById("wc_el_inv-settings-number_next_credit_note");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_credit_note_next_number",e,"afterend");var t=document.getElementById("edit_credit_note_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_credit_note_next_number",e,"afterend"))}));var n=document.getElementById("wc_el_inv-settings-number_next_credit_note_receipt");if(n){""!==n.value&&n.setAttribute("disabled","disabled"),o("edit_credit_note_receipt_next_number",n,"afterend");var a=document.getElementById("edit_credit_note_receipt_next_number");a.addEventListener("click",(function(){t.hasAttribute("readonly")||(a.style.display="none",n.removeAttribute("disabled"),i("save_credit_note_receipt_next_number",n,"afterend"))}))}}}(),function(){var t=document.querySelectorAll(".wc_el_inv-order_fields");if(0!==t.length){e.forEach(t,(function(e){""!==e.value&&e.setAttribute("disabled","disabled")}));var n=document.querySelector(".wc_el_inv__general-order h3"),i=document.querySelector(".wc_el_inv__general-order--hidden-fields"),r=document.querySelector(".wc_el_inv__general-order--text-data");if(n&&i&&r){o("edit_invoice_next_number",n,"beforeend");var d=document.getElementById("edit_invoice_next_number");a("close_invoice_next_number",n);var c=document.getElementById("close_invoice_next_number");c.style.display="none",d.addEventListener("click",(function(){i.style.display="block",r.style.display="none",this.style.display="none",c.style.display="block",e.forEach(t,(function(e){e.removeAttribute("disabled")}))})),c.addEventListener("click",(function(){i.style.display="none",r.style.display="block",c.style.display="none",d.style.display="",e.forEach(t,(function(e){e.setAttribute("disabled","disabled")}))}))}}}(),u=document.querySelectorAll(".wc_el_inv__refund-invoice[data-order_refund_id]"),0!==(_=document.querySelectorAll(".wc_el_inv-order_fields")).length&&(e.forEach(_,(function(e){""!==e.value&&e.setAttribute("disabled","disabled")})),e.forEach(u,(function(t,n){var i=t.querySelector(".wc_el_inv__refund-invoice td h3"),r=t.querySelector(".wc_el_inv__refund-invoice--hidden-fields"),d=t.querySelector(".wc_el_inv__refund-invoice--text-data");if(i&&r&&d){o("edit_refund_invoice_next_number-"+n,i,"beforeend");var c=document.getElementById("edit_refund_invoice_next_number-"+n);a("close_refund_invoice_next_number-"+n,i);var s=document.getElementById("close_refund_invoice_next_number-"+n);s.style.display="none",s.addEventListener("click",(function(){r.style.display="none",d.style.display="block",s.style.display="none",c.style.display="",e.forEach(_,(function(e){e.setAttribute("disabled","disabled")}))})),c.addEventListener("click",(function(){r.style.display="block",d.style.display="none",this.style.display="none",s.style.display="block",e.forEach(_,(function(e){e.removeAttribute("disabled")}))}))}}))),function(){var t=[document.querySelector(".save-all-csv")];if([]!==t){var n=document.querySelector(".filter");if(n){var o=n.getAttribute("href");n.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=d(o);t&&(window.location=t)}))}t&&e.forEach(t,(function(e){e&&e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=d(e.target.href);window.open(t,"_blank")}))}))}}(),m=document.querySelector("#woocommerce-order-items .inside .refund-items"),(v=document.querySelectorAll("#order_refunds .actions .mark_trigger"))&&e.forEach(v,(function(e){e.classList.contains("mark_as_sent")&&m&&(m.setAttribute("disabled",!0),m.innerText=n.refund_item_disabled_text)})),f=document.querySelector("#woocommerce-order-items .inside input#refund_amount"),p=document.querySelector(".wc_el_inv__general-order .actions .mark_trigger"),f&&p&&p.classList.contains("mark_as_sent")&&(f.setAttribute("readonly",!0),f.insertAdjacentHTML("afterend",'<p id="readonly-info">'+n.refund_amount_read_only_info_text+"</p>")),y=document.getElementById("wc_el_inv_order_search"),b=document.querySelector(".wc_el_inv_order_search_trigger"),y&&b&&(y.addEventListener("change",(function(e){e.preventDefault(),e.stopImmediatePropagation(),"dev"===n.mode&&console.log("search:",y.value),""!==y.value?window.location=b.href+"&order_search="+y.value:window.location=b.href+"&order_search"})),b.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation(),"dev"===n.mode&&console.log("search:",y.value),""===y.value?alert(n.search_by_id):window.location=b.href+"&order_search="+y.value}))),(h=document.getElementById("action_bulk"))&&h.addEventListener("change",(function(t){var o=t.target.value,i=document.querySelectorAll('input[name="pop-invoice[]"]'),a=!1;if(e.forEach(i,(function(e){!0===e.checked&&(a=e.checked)})),a||""===o){var r=!1;if("sent"===o?window.confirm(n.invoice_sent_confirm)&&(r=!0):"no_sent"===o&&window.confirm(n.invoice_undo_confirm)&&(r=!0),r){var d=document.getElementById("wp-list-table-invoice-form");if(d){var c=document.createElement("input");c.setAttribute("type","hidden"),c.setAttribute("id","bulk-sent"),c.setAttribute("name","bulk-sent"),c.setAttribute("value",o),d.appendChild(c),d.submit()}}}else alert(n.bulk_invoice_cb)})),(g=document.querySelectorAll(".doc-type-input"))&&e.forEach(g,(function(e){e.addEventListener("change",(function(e){this.parentElement.parentElement.parentElement.querySelectorAll(".choice_type--current")[0].setAttribute("value",this.value)}))})),(w=document.querySelectorAll(".action-endpoint"))&&e.forEach(w,(function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=this.parentElement.querySelector(".choice_type--current"),n=this.href;t&&(n=n+"&choice_type="+t.value),window.open(n)}))})),function(){if("undefined"!=typeof inlineEditPost){var e=inlineEditPost.edit;inlineEditPost.edit=function(n){e.apply(this,arguments);var o=0;if("object"==typeof n&&(o=parseInt(this.getId(n))),o>0){var i=t("#edit-"+o),a=t("#post-"+o),r=!!t(".column-reverse_charge > *",a).prop("checked");t(':input[name="active_reverse_charge"]',i).prop("checked",r)}}}}(),function(){var e=document.querySelectorAll(".nav_section_advanced#wc_output_fields_nav ul li a");function t(t){e.forEach((function(e){e.getAttribute("href")==="#"+t?e.classList.add("active"):e.classList.remove("active")}));var n=document.querySelector(".wc_el_inv-form .form-table tr.import_collections"),o=document.querySelector(".wc_el_inv-form .form-table tr.export_collections"),i=document.querySelector(".wc_el_inv-form .form-table tr.reverse_charge"),a=document.querySelector(".wc_el_inv-form .form-table tr.automatic_sending"),r=document.querySelector(".wc_el_inv-form .form-table tr.pop_webhook");"reverse-charge"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="table-row"),a&&(a.style.display="none"),r&&(r.style.display="none")),"import-export"===t&&(o&&(o.style.display="table-row"),n&&(n.style.display="table-row"),i&&(i.style.display="none"),a&&(a.style.display="none"),r&&(r.style.display="none")),"automatic-sending"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="none"),a&&(a.style.display="table-row"),r&&(r.style.display="none")),"webhook"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="none"),a&&(a.style.display="none"),r&&(r.style.display="table-row"))}e&&("free"===n.user_level?t("automatic-sending"):"IT"!==n.shop_country?t("webhook"):"#reverse-charge"!==window.location.hash&&window.location.hash?"#import-export"===window.location.hash?t("import-export"):"#automatic-sending"===window.location.hash?t("automatic-sending"):"#webhook"===window.location.hash&&t("webhook"):t("reverse-charge"),e.forEach((function(n){n.addEventListener("click",(function(o){e.forEach((function(e){e.classList.remove("active")})),n.classList.add("active"),t(o.target.hash.replace("#",""))}))})))}(),(E=document.querySelectorAll(".wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_digits input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .reset_numerations input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_invoice input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_year input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_year_format input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_invoice input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .numeration_credit_note input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_credit_note input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .numeration_credit_note_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_credit_note_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_invoice_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_receipt_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_credit_note_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_credit_note_receipt_next_number"))&&E.forEach((function(e){e.setAttribute("disabled","disabled"),e.setAttribute("readonly","readonly")})),function(){var e=document.querySelectorAll(".rc-nature-select");function t(e,t){var o=e.options[e.selectedIndex].text.split(" - "),i=2===o.length?o[0]:"",a=2===o.length?o[1]:"",r=null;("N7"===i&&(a="IVA assolta in altro stato UE (vendite a distanza ex art. 40 c. 3 e 4 e art. 41 c. 1 lett. b, DL 331/93; prestazione di servizi di telecomunicazioni, teleradiodiffusione ed elettronici ex art. 7-sexies lett. f, g, art. 74-sexies DPR 633/72)"),"wc_el_inv-ue_private_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_private_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-ue_company_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_company_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-ue_company_no_vies_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_company_no_vies_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-extra_ue_private_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-extra_ue_private_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-extra_ue_company_nature_code"===e.getAttribute("id")&&(r=document.getElementById("wc_el_inv-extra_ue_company_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))),r)&&(r.closest("tr").style.display="Personalizzato"===a?"table-row":"none");"dev"===n.mode&&console.log("CODE:",i,"REF:",a)}e.length>0&&e.forEach((function(e){t(e,!1),e.addEventListener("change",(function(n){t(e,!0)}))}))}(),t(document).ajaxComplete((function(){var e=document.querySelector("#woocommerce-order-items .inside input#refund_amount"),t=document.querySelector(".wc_el_inv__general-order .actions .mark_trigger");e&&t&&(!e.hasAttribute("readonly")&&t.classList.contains("mark_as_sent")?(e.setAttribute("readonly",!0),e.insertAdjacentHTML("afterend",'<p id="readonly-info">'+n.refund_amount_read_only_info_text+"</p>")):e.hasAttribute("readonly")&&!t.classList.contains("mark_as_sent")&&e.removeAttribute("readonly"))}))})),document.body.classList.add("disable-clicks"),document.addEventListener("DOMContentLoaded",(function(){var o;(o=document.querySelectorAll(".mark_trigger"))&&e.forEach(o,(function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var o=!1;this.classList.contains("mark_as_sent")?window.confirm(n.invoice_sent_confirm)&&(o=!0):this.classList.contains("mark_undo")&&window.confirm(n.invoice_undo_confirm)&&(o=!0),o&&t.ajax({url:n.ajax_url,method:"POST",cache:!1,data:{action:"markInvoice",action_url:this.href,nonce:n.ajax_nonce},beforeSend:function(){}.bind(this),complete:function(e,t){"dev"===n.mode&&console.log(e,t)}.bind(this),error:function(e,t,n){console.warn("markInvoice "+n,t)}.bind(this),success:function(e){console.log(e),window.location.reload()}.bind(this)})}))})),document.body.classList.remove("disable-clicks")})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".sdi_pop_actions a.api-action.create").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;this.setAttribute("disabled","disabled");let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"createAndSendInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".sdi_pop_actions a.api-action.notifications").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"notificationsInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,null,e.success?"notify":"error")})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".sdi_pop_actions a.api-action.preserve").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"preserveInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,null,e.success?"preserve":"error")})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".peppol_pop_actions a.api-action.create").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".peppol_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;this.setAttribute("disabled","disabled");let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"createAndSendUblInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),d.classList.remove("loading"),d.classList.add("hidden")}))}))}))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".pop_to_webhook_actions a.api-action.send-webhook").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".pop_to_webhook_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id;this.setAttribute("disabled","disabled");let r=document.getElementById("loading-overlay");r||(r=document.createElement("span"),r.id="loading-overlay",document.body.appendChild(r)),r.classList.remove("hidden"),r.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"sendWebhook",method:"ajax",provider:i,id:a})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),r.classList.remove("loading"),r.classList.add("hidden")}))}))}))}));let l=0,u=n.count_filtered;function _(e){localStorage.setItem("downloadOffset",e),localStorage.setItem("downloadStarted","1")}function m(){localStorage.removeItem("downloadOffset"),localStorage.removeItem("downloadStarted")}function v(){l>=u?m():t.ajax({url:n.ajax_url,method:"POST",data:{action:"processFileBatch",offset:l,limit:5},success:function(e){if(e.success){e.data.total&&(u=e.data.total),l+=5,l>u&&(l=u),_(l),t(".pop-progress span").remove();let n=Math.min(l/u*100,100);t("#progress-bar").css("width",n+"%").text(Math.round(n)+"%"),e.data.done?(m(),t(this).removeClass("disabled"),t("#progress-bar").css("width","100%").text("100%"),window.location.href=e.data.zip_url):v()}else alert("Errore: "+e.data.message)}})}t(document).ready((function(){const e={offset:parseInt(localStorage.getItem("downloadOffset")||"0"),started:"1"===localStorage.getItem("downloadStarted")};e.started&&(l=e.offset,v()),t("#start-download-btn").on("click",(function(e){t(this).addClass("disabled"),e.preventDefault(),e.stopImmediatePropagation(),t(".pop-progress span").text(n.start_download),l=0,_(l),t("#progress-bar").css("width","0%"),v()}))}));let f=document.getElementById("change_api_key");f&&f.addEventListener("click",(()=>{let e=document.querySelector(".wc_el_inv-form table.form-table .license_key");if(!e)return;let t=e.classList.contains("hidden");e.classList.toggle("hidden");let n=e.querySelector('td label[for="wc_el_inv-settings-license_key"] input[type="text"]');n&&(t?n.removeAttribute("readonly"):n.setAttribute("readonly","readonly"),document.getElementById("save_license_key")||i("save_license_key",n,"afterend"))}))}(window._,window.jQuery,window.wc_el_inv_admin);
     26!function(e,t,n){function o(e,t,n){var o=document.createElement("a");o.setAttribute("id",e),o.setAttribute("href","javascript:;"),o.innerHTML='<i class="dashicons dashicons-edit"></i>',t.insertAdjacentElement(n,o)}function i(e,t,o){var i=document.createElement("button");i.setAttribute("id",e),i.setAttribute("name",e),i.setAttribute("class","button"),i.innerText=n.text_save,t.insertAdjacentElement(o,i)}function a(e,t,n){var o=document.createElement("a");o.setAttribute("id",e),o.setAttribute("href","javascript:;"),o.innerHTML='<i class="dashicons dashicons-no"></i>',t.insertAdjacentElement("beforeend",o)}function r(e){var t=e.split(/[^0-9]/),n=t[0]+"-"+t[1]+"-"+t[2]+"T"+t[3]+":"+t[4]+":"+t[5]+"+0000";return new Date(n.toString()).getTime()/1e3}function d(e){var t,n=null,o=null,i=null,a=document.getElementById("date_in"),d=document.getElementById("date_out"),c=document.getElementById("filter_type"),s=document.getElementById("filter_state"),l=document.getElementById("filter_provider");if(c&&(n=c.options[c.selectedIndex].value),s&&(o=s.options[s.selectedIndex].value),l&&(i=l.options[l.selectedIndex].value),a.value||d.value){var u=a.value+"T00:00:00",_=d.value+"T23:59:59";u=u.split(" - ").map((function(e){return r(e)})).join(" - "),_=_.split(" - ").map((function(e){return r(e)})).join(" - "),a.value&&""===d.value&&(t=e+"&date_in="+u),""===a.value&&d.value&&(t=e+"&date_out="+_),a.value&&d.value&&(t=e+"&date_in="+u+"&date_out="+_)}else t=e;n&&(t=t+"&filter_type="+n),o&&(t=t+"&filter_state="+o),i&&(t=t+"&filter_provider="+i);if(e&&e.indexOf("filtered")>-1){var m={};if(e.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,t,n){m[t]=n})),"no"===m.filtered)return e}return t}function c(e,t){var n,o=t;return window.location.href.indexOf(e)>-1&&(o=(n={},window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,t,o){n[t]=o})),n)[e]),o}function s(e,t,o,i){i||(i=4e3),"dev"===n.mode&&(console.log("message",e),console.log("raw",t));const a=document.createElement("div");a.className="toast "+o;let r="";"error"===o&&(r+='<span class="close" title="close">X</span>'),r+=e;let d="";t?.response?.data?.violations?t.response.data.violations.forEach((e=>{d+="<hr><b>",d+=`- ${n.sdi_notice_path}: ${e.propertyPath}\n`,d+="</b>",d+=`- ${n.sdi_notice_content}: ${e.propertyContent}\n`,d+=`- ${n.sdi_notice_message}: ${e.message}\n`})):t?.detail?.detail?d+=`- ${t.detail.detail}\n`:t?.error&&(d+=`- ${t.error}\n`),d&&(r+="<small>",r+="\n"+n.sdi_notice_details+":\n",r+=d,r+="</small>"),a.innerHTML=r.replace(/\n/g,"<br>"),window.requestAnimationFrame((()=>{document.body.appendChild(a),a.style.opacity="1","error"===o?a.querySelector(".close").addEventListener("click",(function(){a.remove(),location.reload()})):setTimeout((()=>{a.remove(),"success"!==o&&"notify"!==o||location.reload()}),i)}))}document.addEventListener("scroll",(function(){const e=document.querySelector(".wc_el_inv__header");e&&(window.scrollY>20?e.classList.add("is-scrolled"):e.classList.remove("is-scrolled"))})),window.addEventListener("load",(function(){var r=t("#store_invoice-description");r&&t(r).prev().addClass("store_invoice_title");var s,l,u,_,m,v,p,f,y,b,h,g,w,E,A=t("#store_invoice_transmitter-description");A&&t(A).prev().addClass("store_invoice_transmitter_title");t("a.edit_address").on("click",(function(e){t(".order_data_column > p").addClass("hide")})),s=c("tab"),(l=document.querySelectorAll("#toplevel_page_wc_el_inv-options-page ul.wp-submenu li a"))&&l.forEach((function(e){e.parentElement.classList.contains("wp-first-item")&&e.parentElement.remove(),e.parentElement.classList.remove("current"),-1!==e.getAttribute("href").indexOf(s)&&e.parentElement.classList.add("current")})),function(){var e=document.getElementById("wc_el_inv-settings-number_next_invoice");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_invoice_next_number",e,"afterend");var t=document.getElementById("edit_invoice_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_invoice_next_number",e,"afterend"))}))}}(),function(){var e=document.getElementById("wc_el_inv-settings-number_next_receipt");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_receipt_next_number",e,"afterend");var t=document.getElementById("edit_receipt_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_receipt_next_number",e,"afterend"))}))}}(),function(){var e=document.getElementById("wc_el_inv-settings-number_next_credit_note");if(e){""!==e.value&&e.setAttribute("disabled","disabled"),o("edit_credit_note_next_number",e,"afterend");var t=document.getElementById("edit_credit_note_next_number");t.addEventListener("click",(function(){t.hasAttribute("readonly")||(t.style.display="none",e.removeAttribute("disabled"),i("save_credit_note_next_number",e,"afterend"))}));var n=document.getElementById("wc_el_inv-settings-number_next_credit_note_receipt");if(n){""!==n.value&&n.setAttribute("disabled","disabled"),o("edit_credit_note_receipt_next_number",n,"afterend");var a=document.getElementById("edit_credit_note_receipt_next_number");a.addEventListener("click",(function(){t.hasAttribute("readonly")||(a.style.display="none",n.removeAttribute("disabled"),i("save_credit_note_receipt_next_number",n,"afterend"))}))}}}(),function(){var t=document.querySelectorAll(".wc_el_inv-order_fields");if(0!==t.length){e.forEach(t,(function(e){""!==e.value&&e.setAttribute("disabled","disabled")}));var n=document.querySelector(".wc_el_inv__general-order h3"),i=document.querySelector(".wc_el_inv__general-order--hidden-fields"),r=document.querySelector(".wc_el_inv__general-order--text-data");if(n&&i&&r){o("edit_invoice_next_number",n,"beforeend");var d=document.getElementById("edit_invoice_next_number");a("close_invoice_next_number",n);var c=document.getElementById("close_invoice_next_number");c.style.display="none",d.addEventListener("click",(function(){i.style.display="block",r.style.display="none",this.style.display="none",c.style.display="block",e.forEach(t,(function(e){e.removeAttribute("disabled")}))})),c.addEventListener("click",(function(){i.style.display="none",r.style.display="block",c.style.display="none",d.style.display="",e.forEach(t,(function(e){e.setAttribute("disabled","disabled")}))}))}}}(),u=document.querySelectorAll(".wc_el_inv__refund-invoice[data-order_refund_id]"),0!==(_=document.querySelectorAll(".wc_el_inv-order_fields")).length&&(e.forEach(_,(function(e){""!==e.value&&e.setAttribute("disabled","disabled")})),e.forEach(u,(function(t,n){var i=t.querySelector(".wc_el_inv__refund-invoice td h3"),r=t.querySelector(".wc_el_inv__refund-invoice--hidden-fields"),d=t.querySelector(".wc_el_inv__refund-invoice--text-data");if(i&&r&&d){o("edit_refund_invoice_next_number-"+n,i,"beforeend");var c=document.getElementById("edit_refund_invoice_next_number-"+n);a("close_refund_invoice_next_number-"+n,i);var s=document.getElementById("close_refund_invoice_next_number-"+n);s.style.display="none",s.addEventListener("click",(function(){r.style.display="none",d.style.display="block",s.style.display="none",c.style.display="",e.forEach(_,(function(e){e.setAttribute("disabled","disabled")}))})),c.addEventListener("click",(function(){r.style.display="block",d.style.display="none",this.style.display="none",s.style.display="block",e.forEach(_,(function(e){e.removeAttribute("disabled")}))}))}}))),function(){var t=[document.querySelector(".save-all-csv")];if([]!==t){var n=document.querySelector(".filter");if(n){var o=n.getAttribute("href");n.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=d(o);t&&(window.location=t)}))}t&&e.forEach(t,(function(e){e&&e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=d(e.target.href);window.open(t,"_blank")}))}))}}(),m=document.querySelector("#woocommerce-order-items .inside .refund-items"),(v=document.querySelectorAll("#order_refunds .actions .mark_trigger"))&&e.forEach(v,(function(e){e.classList.contains("mark_as_sent")&&m&&(m.setAttribute("disabled",!0),m.innerText=n.refund_item_disabled_text)})),p=document.querySelector("#woocommerce-order-items .inside input#refund_amount"),f=document.querySelector(".wc_el_inv__general-order .actions .mark_trigger"),p&&f&&f.classList.contains("mark_as_sent")&&(p.setAttribute("readonly",!0),p.insertAdjacentHTML("afterend",'<p id="readonly-info">'+n.refund_amount_read_only_info_text+"</p>")),y=document.getElementById("wc_el_inv_order_search"),b=document.querySelector(".wc_el_inv_order_search_trigger"),y&&b&&(y.addEventListener("change",(function(e){e.preventDefault(),e.stopImmediatePropagation(),"dev"===n.mode&&console.log("search:",y.value),""!==y.value?window.location=b.href+"&order_search="+y.value:window.location=b.href+"&order_search"})),b.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation(),"dev"===n.mode&&console.log("search:",y.value),""===y.value?alert(n.search_by_id):window.location=b.href+"&order_search="+y.value}))),(h=document.getElementById("action_bulk"))&&h.addEventListener("change",(function(t){var o=t.target.value,i=document.querySelectorAll('input[name="pop-invoice[]"]'),a=!1;if(e.forEach(i,(function(e){!0===e.checked&&(a=e.checked)})),a||""===o){var r=!1;if("sent"===o?window.confirm(n.invoice_sent_confirm)&&(r=!0):"no_sent"===o&&window.confirm(n.invoice_undo_confirm)&&(r=!0),r){var d=document.getElementById("wp-list-table-invoice-form");if(d){var c=document.createElement("input");c.setAttribute("type","hidden"),c.setAttribute("id","bulk-sent"),c.setAttribute("name","bulk-sent"),c.setAttribute("value",o),d.appendChild(c),d.submit()}}}else alert(n.bulk_invoice_cb)})),(g=document.querySelectorAll(".doc-type-input"))&&e.forEach(g,(function(e){e.addEventListener("change",(function(e){this.parentElement.parentElement.parentElement.querySelectorAll(".choice_type--current")[0].setAttribute("value",this.value)}))})),(w=document.querySelectorAll(".action-endpoint"))&&e.forEach(w,(function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var t=this.parentElement.querySelector(".choice_type--current"),n=this.href;t&&(n=n+"&choice_type="+t.value),window.open(n)}))})),function(){if("undefined"!=typeof inlineEditPost){var e=inlineEditPost.edit;inlineEditPost.edit=function(n){e.apply(this,arguments);var o=0;if("object"==typeof n&&(o=parseInt(this.getId(n))),o>0){var i=t("#edit-"+o),a=t("#post-"+o),r=!!t(".column-reverse_charge > *",a).prop("checked");t(':input[name="active_reverse_charge"]',i).prop("checked",r)}}}}(),function(){var e=document.querySelectorAll(".nav_section_advanced#wc_output_fields_nav ul li a");function t(t){e.forEach((function(e){e.getAttribute("href")==="#"+t?e.classList.add("active"):e.classList.remove("active")}));var n=document.querySelector(".wc_el_inv-form .form-table tr.import_collections"),o=document.querySelector(".wc_el_inv-form .form-table tr.export_collections"),i=document.querySelector(".wc_el_inv-form .form-table tr.reverse_charge"),a=document.querySelector(".wc_el_inv-form .form-table tr.automatic_sending"),r=document.querySelector(".wc_el_inv-form .form-table tr.pop_webhook");"reverse-charge"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="table-row"),a&&(a.style.display="none"),r&&(r.style.display="none")),"import-export"===t&&(o&&(o.style.display="table-row"),n&&(n.style.display="table-row"),i&&(i.style.display="none"),a&&(a.style.display="none"),r&&(r.style.display="none")),"automatic-sending"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="none"),a&&(a.style.display="table-row"),r&&(r.style.display="none")),"webhook"===t&&(o&&(o.style.display="none"),n&&(n.style.display="none"),i&&(i.style.display="none"),a&&(a.style.display="none"),r&&(r.style.display="table-row"))}e&&("free"===n.user_level?t("automatic-sending"):"IT"!==n.shop_country?t("webhook"):"#reverse-charge"!==window.location.hash&&window.location.hash?"#import-export"===window.location.hash?t("import-export"):"#automatic-sending"===window.location.hash?t("automatic-sending"):"#webhook"===window.location.hash&&t("webhook"):t("reverse-charge"),e.forEach((function(n){n.addEventListener("click",(function(o){e.forEach((function(e){e.classList.remove("active")})),n.classList.add("active"),t(o.target.hash.replace("#",""))}))})))}(),(E=document.querySelectorAll(".wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_digits input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .reset_numerations input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_invoice input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_year input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .suffix_year_format input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_invoice input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .numeration_credit_note input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_credit_note input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .numeration_credit_note_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table .number_next_credit_note_receipt input,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_invoice_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_receipt_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_credit_note_next_number,\n.wc_el_inv-fic-addon.current-setting_section_numeration .form-table #edit_credit_note_receipt_next_number"))&&E.forEach((function(e){e.setAttribute("disabled","disabled"),e.setAttribute("readonly","readonly")})),function(){var e=document.querySelectorAll(".rc-nature-select");function t(e,t){var o=e.options[e.selectedIndex].text.split(" - "),i=2===o.length?o[0]:"",a=2===o.length?o[1]:"",r=null;("N7"===i&&(a="IVA assolta in altro stato UE (vendite a distanza ex art. 40 c. 3 e 4 e art. 41 c. 1 lett. b, DL 331/93; prestazione di servizi di telecomunicazioni, teleradiodiffusione ed elettronici ex art. 7-sexies lett. f, g, art. 74-sexies DPR 633/72)"),"wc_el_inv-ue_private_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_private_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-ue_company_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_company_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-ue_company_no_vies_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-ue_company_no_vies_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-extra_ue_private_nature_code"===e.getAttribute("id")?(r=document.getElementById("wc_el_inv-extra_ue_private_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))):"wc_el_inv-extra_ue_company_nature_code"===e.getAttribute("id")&&(r=document.getElementById("wc_el_inv-extra_ue_company_normative_reference"),t&&("Personalizzato"===a?(r.setAttribute("value",""),r.value=""):(r.setAttribute("value",a),r.value=a))),r)&&(r.closest("tr").style.display="Personalizzato"===a?"table-row":"none");"dev"===n.mode&&console.log("CODE:",i,"REF:",a)}e.length>0&&e.forEach((function(e){t(e,!1),e.addEventListener("change",(function(n){t(e,!0)}))}))}(),t(document).ajaxComplete((function(){var e=document.querySelector("#woocommerce-order-items .inside input#refund_amount"),t=document.querySelector(".wc_el_inv__general-order .actions .mark_trigger");e&&t&&(!e.hasAttribute("readonly")&&t.classList.contains("mark_as_sent")?(e.setAttribute("readonly",!0),e.insertAdjacentHTML("afterend",'<p id="readonly-info">'+n.refund_amount_read_only_info_text+"</p>")):e.hasAttribute("readonly")&&!t.classList.contains("mark_as_sent")&&e.removeAttribute("readonly"))}))})),document.body.classList.add("disable-clicks"),document.addEventListener("DOMContentLoaded",(function(){var o;(o=document.querySelectorAll(".mark_trigger"))&&e.forEach(o,(function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopImmediatePropagation();var o=!1;this.classList.contains("mark_as_sent")?window.confirm(n.invoice_sent_confirm)&&(o=!0):this.classList.contains("mark_undo")&&window.confirm(n.invoice_undo_confirm)&&(o=!0),o&&t.ajax({url:n.ajax_url,method:"POST",cache:!1,data:{action:"markInvoice",action_url:this.href,nonce:n.ajax_nonce},beforeSend:function(){}.bind(this),complete:function(e,t){"dev"===n.mode&&console.log(e,t)}.bind(this),error:function(e,t,n){console.warn("markInvoice "+n,t)}.bind(this),success:function(e){console.log(e),window.location.reload()}.bind(this)})}))})),document.body.classList.remove("disable-clicks")})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".sdi_pop_actions a.api-action.create").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;this.setAttribute("disabled","disabled");let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"createAndSendInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".sdi_pop_actions a.api-action.notifications").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"notificationsInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,null,e.success?"notify":"error")})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".sdi_pop_actions a.api-action.preserve").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".sdi_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"preserveInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,null,e.success?"preserve":"error")})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".peppol_pop_actions a.api-action.create").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".peppol_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;this.setAttribute("disabled","disabled");let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"createAndSendUblInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),d.classList.remove("loading"),d.classList.add("hidden")}))}))})),document.querySelectorAll(".peppol_pop_actions a.api-action.state").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".peppol_pop_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id,r=o.dataset.uuid;let d=document.getElementById("loading-overlay");d||(d=document.createElement("span"),d.id="loading-overlay",document.body.appendChild(d)),d.classList.remove("hidden"),d.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"stateInvoice",method:"ajax",provider:i,id:a,uuid:r})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,null,e.success?"success":"notify")})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{d.classList.remove("loading"),d.classList.add("hidden")}))}))}))})),document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".pop_to_webhook_actions a.api-action.send-webhook").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),t.stopImmediatePropagation();const o=e.closest(".pop_to_webhook_actions").querySelector("a.api-action");if(!o)return;const i=o.dataset.provider,a=o.dataset.id;this.setAttribute("disabled","disabled");let r=document.getElementById("loading-overlay");r||(r=document.createElement("span"),r.id="loading-overlay",document.body.appendChild(r)),r.classList.remove("hidden"),r.classList.add("loading"),fetch(ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"sendWebhook",method:"ajax",provider:i,id:a})}).then((e=>e.json())).then((e=>{"dev"===n.mode&&console.log("Response:",e),s(e.data.message,e.data.raw,e.success?"success":"error",6e3)})).catch((e=>{console.error("AJAX error:",e),s(e.message,null,"error")})).finally((()=>{this.removeAttribute("disabled"),r.classList.remove("loading"),r.classList.add("hidden")}))}))}))}));let l=0,u=n.count_filtered;function _(e){localStorage.setItem("downloadOffset",e),localStorage.setItem("downloadStarted","1")}function m(){localStorage.removeItem("downloadOffset"),localStorage.removeItem("downloadStarted")}function v(){l>=u?m():t.ajax({url:n.ajax_url,method:"POST",data:{action:"processFileBatch",offset:l,limit:5},success:function(e){if(e.success){e.data.total&&(u=e.data.total),l+=5,l>u&&(l=u),_(l),t(".pop-progress span").remove();let n=Math.min(l/u*100,100);t("#progress-bar").css("width",n+"%").text(Math.round(n)+"%"),e.data.done?(m(),t(this).removeClass("disabled"),t("#progress-bar").css("width","100%").text("100%"),window.location.href=e.data.zip_url):v()}else alert("Errore: "+e.data.message)}})}t(document).ready((function(){const e={offset:parseInt(localStorage.getItem("downloadOffset")||"0"),started:"1"===localStorage.getItem("downloadStarted")};e.started&&(l=e.offset,v()),t("#start-download-btn").on("click",(function(e){t(this).addClass("disabled"),e.preventDefault(),e.stopImmediatePropagation(),t(".pop-progress span").text(n.start_download),l=0,_(l),t("#progress-bar").css("width","0%"),v()}))}));let p=document.getElementById("change_api_key");p&&p.addEventListener("click",(()=>{let e=document.querySelector(".wc_el_inv-form table.form-table .license_key");if(!e)return;let t=e.classList.contains("hidden");e.classList.toggle("hidden");let n=e.querySelector('td label[for="wc_el_inv-settings-license_key"] input[type="text"]');n&&(t?n.removeAttribute("readonly"):n.setAttribute("readonly","readonly"),document.getElementById("save_license_key")||i("save_license_key",n,"afterend"))}))}(window._,window.jQuery,window.wc_el_inv_admin);
  • woopop-electronic-invoice-free/trunk/changelog.txt

    r3435218 r3444920  
     1= 6.5.9 - 20/01/2025 =
     2Added: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button.
     3Added: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook.
     4Fixed: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID.
     5
    16= 6.5.8 - 08/01/2025 =
    27Added: resolveOrder
     
    1318Added: localization fr_FR.po
    1419Fixed: CF check and add setCustomValidity message
    15 Fixed: Limit order search queries to bounded pages and meta lookups to prevent timeouts on stores with many orders while still allowing direct invoice/order number lookups.
     20Fixed: Limit order search queries to bounded pages and meta lookups to prevent ti meouts on stores with many orders while still allowing direct invoice/order number lookups.
    1621Fixed: Sync PMPro billing fields with PMPro meta, force invoice date on success, update translations
    1722
  • woopop-electronic-invoice-free/trunk/inc/filtersAdmin.php

    r3426093 r3444920  
    400400
    401401            /**
     402             * PEPPOL POP stateInvoice
     403             */
     404            array(
     405                'filter'   => 'wp_ajax_stateInvoice',
     406                'callback' => '\\WcElectronInvoice\\PeppolApi::stateInvoice',
     407                'priority' => 10,
     408            ),
     409
     410            /**
    402411             * SDI POP createAndSendInvoice
    403412             */
  • woopop-electronic-invoice-free/trunk/languages/el-inv-es_ES.po

    r3418379 r3444920  
    33"Project-Id-Version: POP Electronic Invoice\n"
    44"POT-Creation-Date: 2025-12-11 10:11+0100\n"
    5 "PO-Revision-Date: 2025-12-11 16:09+0100\n"
     5"PO-Revision-Date: 2026-01-19 09:12+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: Angelo Giammarresi - info@wocmultimedia.biz\n"
     
    32773277msgstr "Hemos terminado de procesar tu pedido."
    32783278
     3279#: src/PeppolApi.php:609
     3280msgid "Invoice delivered successfully"
     3281msgstr "Factura entregada correctamente"
     3282
    32793283#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:140
    32803284msgid "Stamp Duty and Rivalsa"
  • woopop-electronic-invoice-free/trunk/languages/el-inv-fr_FR.po

    r3418379 r3444920  
    33"Project-Id-Version: POP Electronic Invoice\n"
    44"POT-Creation-Date: 2025-12-11 10:08+0100\n"
    5 "PO-Revision-Date: 2025-12-11 16:18+0100\n"
     5"PO-Revision-Date: 2026-01-19 09:12+0100\n"
    66"Last-Translator: Automatically generated\n"
    77"Language-Team: none\n"
     
    33923392msgid "We have finished processing your order."
    33933393msgstr "Nous avons terminé le traitement de votre commande."
     3394
     3395#: src/PeppolApi.php:609
     3396msgid "Invoice delivered successfully"
     3397msgstr "Facture livrée avec succès"
  • woopop-electronic-invoice-free/trunk/languages/el-inv-it_IT.po

    r3418379 r3444920  
    33"Project-Id-Version: POP Electronic Invoice\n"
    44"POT-Creation-Date: 2025-12-11 10:09+0100\n"
    5 "PO-Revision-Date: 2025-12-11 16:09+0100\n"
     5"PO-Revision-Date: 2026-01-19 09:12+0100\n"
    66"Last-Translator: Alfio <alfio.piccione@gmail.com>\n"
    77"Language-Team: \n"
     
    34253425msgstr "Abbiamo finito di elaborare il tuo ordine."
    34263426
     3427#: src/PeppolApi.php:609
     3428msgid "Invoice delivered successfully"
     3429msgstr "Fattura consegnata con successo"
     3430
    34273431#~ msgid ""
    34283432#~ "You have activated the <b>POP integration for Paid Memberships Pro</b>. Please note this is a <b>beta version</b>:<br><u>The 4% "
  • woopop-electronic-invoice-free/trunk/languages/el-inv.pot

    r3418379 r3444920  
    33msgstr ""
    44"Project-Id-Version: POP Electronic Invoice\n"
    5 "POT-Creation-Date: 2025-12-11 10:08+0100\n"
     5"POT-Creation-Date: 2026-01-19 09:11+0100\n"
    66"PO-Revision-Date: 2017-01-08 19:27+0100\n"
    77"Last-Translator: \n"
     
    2525"X-Poedit-SearchPathExcluded-5: addon/to\n"
    2626
    27 #: addon/for/cozmos/inc/billingFields.php:60
    28 #: dev/block-invoice-fields.php:29 inc/wc/billingFields.php:60
     27#: addon/for/cozmos/inc/billingFields.php:60 dev/block-invoice-fields.php:29 inc/wc/billingFields.php:60
    2928#: src/Admin/XmlOrderListTable.php:805 src/Xml/BuildXml.php:561
    3029msgid "Private"
    3130msgstr ""
    3231
    33 #: addon/for/cozmos/inc/billingFields.php:61
    34 #: dev/block-invoice-fields.php:31 inc/localizeScripts.php:73
     32#: addon/for/cozmos/inc/billingFields.php:61 dev/block-invoice-fields.php:31 inc/localizeScripts.php:73
    3533#: inc/wc/billingFields.php:61 src/Admin/XmlOrderListTable.php:799
    36 #: src/WooCommerce/Fields/InvoiceFields.php:1372 src/Xml/BuildXml.php:186
    37 #: src/Xml/BuildXml.php:562
     34#: src/WooCommerce/Fields/InvoiceFields.php:1372 src/Xml/BuildXml.php:186 src/Xml/BuildXml.php:562
    3835msgid "Company"
    3936msgstr ""
    4037
    41 #: addon/for/cozmos/inc/billingFields.php:62
    42 #: dev/block-invoice-fields.php:30 inc/wc/billingFields.php:62
    43 #: src/Admin/XmlOrderListTable.php:802
    44 #: src/WooCommerce/Fields/InvoiceFields.php:1375 src/Xml/BuildXml.php:563
     38#: addon/for/cozmos/inc/billingFields.php:62 dev/block-invoice-fields.php:30 inc/wc/billingFields.php:62
     39#: src/Admin/XmlOrderListTable.php:802 src/WooCommerce/Fields/InvoiceFields.php:1375 src/Xml/BuildXml.php:563
    4540msgid "Freelance"
    4641msgstr ""
    4742
    48 #: addon/for/cozmos/inc/billingFields.php:187
    49 #: addon/for/cozmos/inc/billingFields.php:189
    50 #: addon/for/cozmos/inc/billingFields.php:194
    51 #: dev/block-invoice-fields.php:10 dev/block-invoice-fields.php:13
    52 #: inc/wc/billingFields.php:187 inc/wc/billingFields.php:189
    53 #: inc/wc/billingFields.php:195
     43#: addon/for/cozmos/inc/billingFields.php:187 addon/for/cozmos/inc/billingFields.php:189
     44#: addon/for/cozmos/inc/billingFields.php:194 dev/block-invoice-fields.php:10 dev/block-invoice-fields.php:13
     45#: inc/wc/billingFields.php:187 inc/wc/billingFields.php:189 inc/wc/billingFields.php:195
    5446msgid "Choose the type of document"
    5547msgstr ""
    5648
    5749#: addon/for/cozmos/inc/billingFields.php:195 inc/wc/billingFields.php:196
    58 #: src/Admin/Settings/Fields/XmlOrdersList.php:129
    59 #: src/Admin/XmlOrderListTable.php:220 src/Admin/XmlOrderListTable.php:845
    60 #: src/WooCommerce/Fields/InvoiceFields.php:534
    61 #: src/WooCommerce/Fields/InvoiceFields.php:892
    62 #: src/WooCommerce/Fields/InvoiceFields.php:1384
     50#: src/Admin/Settings/Fields/XmlOrdersList.php:129 src/Admin/XmlOrderListTable.php:220
     51#: src/Admin/XmlOrderListTable.php:845 src/WooCommerce/Fields/InvoiceFields.php:534
     52#: src/WooCommerce/Fields/InvoiceFields.php:892 src/WooCommerce/Fields/InvoiceFields.php:1384
    6353#: src/WooCommerce/Fields/InvoiceFields.php:1527
    6454msgctxt "invoice_choice"
     
    6656msgstr ""
    6757
    68 #: addon/for/cozmos/inc/billingFields.php:196 inc/wc/billingFields.php:197
    69 #: src/Admin/XmlOrderListTable.php:217 src/Admin/XmlOrderListTable.php:853
    70 #: src/Admin/XmlOrderListTable.php:863
    71 #: src/WooCommerce/Fields/InvoiceFields.php:531
    72 #: src/WooCommerce/Fields/InvoiceFields.php:880
    73 #: src/WooCommerce/Fields/InvoiceFields.php:900
    74 #: src/WooCommerce/Fields/InvoiceFields.php:910
    75 #: src/WooCommerce/Fields/InvoiceFields.php:1381
    76 #: src/WooCommerce/Fields/InvoiceFields.php:1524
     58#: addon/for/cozmos/inc/billingFields.php:196 inc/wc/billingFields.php:197 src/Admin/XmlOrderListTable.php:217
     59#: src/Admin/XmlOrderListTable.php:853 src/Admin/XmlOrderListTable.php:863
     60#: src/WooCommerce/Fields/InvoiceFields.php:531 src/WooCommerce/Fields/InvoiceFields.php:880
     61#: src/WooCommerce/Fields/InvoiceFields.php:900 src/WooCommerce/Fields/InvoiceFields.php:910
     62#: src/WooCommerce/Fields/InvoiceFields.php:1381 src/WooCommerce/Fields/InvoiceFields.php:1524
    7763msgctxt "invoice_choice"
    7864msgid "Invoice"
    7965msgstr ""
    8066
    81 #: addon/for/cozmos/inc/billingFields.php:209
    82 #: addon/for/cozmos/inc/billingFields.php:211
    83 #: dev/block-invoice-fields.php:24 dev/block-invoice-fields.php:27
    84 #: inc/wc/billingFields.php:210 inc/wc/billingFields.php:212
    85 #: src/WooCommerce/Fields/InvoiceFields.php:3060
     67#: addon/for/cozmos/inc/billingFields.php:209 addon/for/cozmos/inc/billingFields.php:211
     68#: dev/block-invoice-fields.php:24 dev/block-invoice-fields.php:27 inc/wc/billingFields.php:210
     69#: inc/wc/billingFields.php:212 src/WooCommerce/Fields/InvoiceFields.php:3060
    8670#: src/WooCommerce/Fields/InvoiceFields.php:3457 src/Xml/BuildXml.php:185
    8771msgid "Customer type"
     
    9276msgstr ""
    9377
    94 #: addon/for/cozmos/inc/billingFields.php:226
    95 #: dev/block-invoice-fields.php:39 inc/localizeScripts.php:74
     78#: addon/for/cozmos/inc/billingFields.php:226 dev/block-invoice-fields.php:39 inc/localizeScripts.php:74
    9679#: inc/wc/billingFields.php:228
    9780msgid "Certified e-mail (PEC) or the unique code"
    9881msgstr ""
    9982
    100 #: addon/for/cozmos/inc/billingFields.php:227 inc/localizeScripts.php:76
    101 #: inc/wc/billingFields.php:229
     83#: addon/for/cozmos/inc/billingFields.php:227 inc/localizeScripts.php:76 inc/wc/billingFields.php:229
    10284msgid "Please enter your certified e-mail (PEC) or the unique code"
    10385msgstr ""
    10486
    105 #: addon/for/cozmos/inc/billingFields.php:229 inc/localizeScripts.php:75
    106 #: inc/wc/billingFields.php:231 src/Xml/BuildXml.php:183
     87#: addon/for/cozmos/inc/billingFields.php:229 inc/localizeScripts.php:75 inc/wc/billingFields.php:231
     88#: src/Xml/BuildXml.php:183
    10789msgid "E-mail (PEC) or the unique code"
    10890msgstr ""
    10991
    110 #: addon/for/cozmos/inc/billingFields.php:241
    111 #: addon/for/cozmos/inc/billingFields.php:243
    112 #: dev/block-invoice-fields.php:41 inc/wc/billingFields.php:243
    113 #: inc/wc/billingFields.php:245 src/Admin/XmlOrderListTable.php:2154
    114 #: src/Xml/BuildXml.php:182
     92#: addon/for/cozmos/inc/billingFields.php:241 addon/for/cozmos/inc/billingFields.php:243
     93#: dev/block-invoice-fields.php:41 inc/wc/billingFields.php:243 inc/wc/billingFields.php:245
     94#: src/Admin/XmlOrderListTable.php:2154 src/Xml/BuildXml.php:182
    11595msgid "VAT number"
    11696msgstr ""
     
    120100msgstr ""
    121101
    122 #: addon/for/cozmos/inc/billingFields.php:255
    123 #: addon/for/cozmos/inc/billingFields.php:257
    124 #: dev/block-invoice-fields.php:42 inc/wc/billingFields.php:257
    125 #: inc/wc/billingFields.php:259 src/Admin/XmlOrderListTable.php:2158
     102#: addon/for/cozmos/inc/billingFields.php:255 addon/for/cozmos/inc/billingFields.php:257
     103#: dev/block-invoice-fields.php:42 inc/wc/billingFields.php:257 inc/wc/billingFields.php:259
     104#: src/Admin/XmlOrderListTable.php:2158
    126105msgid "Tax Code"
    127106msgstr ""
    128107
    129108#: addon/for/cozmos/inc/billingFields.php:256 inc/wc/billingFields.php:258
    130 #: src/WooCommerce/Fields/InvoiceFields.php:2681
    131 #: src/WooCommerce/Fields/InvoiceFields.php:2707
    132 #: src/WooCommerce/Fields/InvoiceFields.php:2727
    133 #: src/WooCommerce/Fields/InvoiceFields.php:2743
    134 #: src/WooCommerce/Fields/InvoiceFields.php:3223
    135 #: src/WooCommerce/Fields/InvoiceFields.php:3249
    136 #: src/WooCommerce/Fields/InvoiceFields.php:3324
    137 #: src/WooCommerce/Fields/InvoiceFields.php:3340
    138 #: src/WooCommerce/Fields/InvoiceFields.php:3600
    139 #: src/WooCommerce/Fields/InvoiceFields.php:3620
    140 #: src/WooCommerce/Fields/InvoiceFields.php:3665
    141 #: src/WooCommerce/Fields/InvoiceFields.php:3675
     109#: src/WooCommerce/Fields/InvoiceFields.php:2681 src/WooCommerce/Fields/InvoiceFields.php:2707
     110#: src/WooCommerce/Fields/InvoiceFields.php:2727 src/WooCommerce/Fields/InvoiceFields.php:2743
     111#: src/WooCommerce/Fields/InvoiceFields.php:3223 src/WooCommerce/Fields/InvoiceFields.php:3249
     112#: src/WooCommerce/Fields/InvoiceFields.php:3324 src/WooCommerce/Fields/InvoiceFields.php:3340
     113#: src/WooCommerce/Fields/InvoiceFields.php:3600 src/WooCommerce/Fields/InvoiceFields.php:3620
     114#: src/WooCommerce/Fields/InvoiceFields.php:3665 src/WooCommerce/Fields/InvoiceFields.php:3675
    142115msgid "Please enter your Tax Code"
    143116msgstr ""
    144117
    145 #: addon/for/cozmos/inc/filtersFront.php:206
    146 #: addon/for/pmpro/inc/filtersFront.php:376
     118#: addon/for/cozmos/inc/filtersFront.php:206 addon/for/pmpro/inc/filtersFront.php:376
    147119msgid "Please enter a valid Tax Code."
    148120msgstr ""
    149121
    150 #: addon/for/cozmos/inc/filtersFront.php:207
    151 #: addon/for/pmpro/inc/filtersFront.php:377
     122#: addon/for/cozmos/inc/filtersFront.php:207 addon/for/pmpro/inc/filtersFront.php:377
    152123msgid "Please enter a valid VAT number."
    153124msgstr ""
    154125
    155 #: addon/for/cozmos/inc/filtersFront.php:208
    156 #: addon/for/pmpro/inc/filtersFront.php:378
     126#: addon/for/cozmos/inc/filtersFront.php:208 addon/for/pmpro/inc/filtersFront.php:378
    157127msgid "Enter a valid SDI code or PEC address."
    158128msgstr ""
    159129
    160 #: addon/for/cozmos/src/Init.php:84 addon/for/cozmos/src/Init.php:96
    161 #: addon/for/cozmos/src/Loader.php:131 addon/for/cozmos/src/Loader.php:143
    162 #: addon/for/pmpro/src/Init.php:84 addon/for/pmpro/src/Init.php:96
    163 #: addon/for/pmpro/src/Loader.php:131 addon/for/pmpro/src/Loader.php:143
    164 #: src/Init.php:87 src/Init.php:99 src/Loader.php:132 src/Loader.php:144
     130#: addon/for/cozmos/src/Init.php:84 addon/for/cozmos/src/Init.php:96 addon/for/cozmos/src/Loader.php:131
     131#: addon/for/cozmos/src/Loader.php:143 addon/for/pmpro/src/Init.php:84 addon/for/pmpro/src/Init.php:96
     132#: addon/for/pmpro/src/Loader.php:131 addon/for/pmpro/src/Loader.php:143 src/Init.php:87 src/Init.php:99
     133#: src/Loader.php:132 src/Loader.php:144
    165134msgid "Cheatin&#8217; huh?"
    166135msgstr ""
     
    174143msgstr ""
    175144
    176 #: addon/for/cozmos/src/Providers/Order.php:398
    177 #: addon/for/pmpro/src/Providers/Order.php:433
     145#: addon/for/cozmos/src/Providers/Order.php:398 addon/for/pmpro/src/Providers/Order.php:433
    178146msgid "Payment"
    179147msgstr ""
     
    191159msgstr ""
    192160
    193 #: addon/for/cozmos/src/Providers/OrdersProvider.php:314
    194 #: src/Xml/BuildXml.php:192
     161#: addon/for/cozmos/src/Providers/OrdersProvider.php:314 src/Xml/BuildXml.php:192
    195162msgid "Email"
    196163msgstr ""
     
    204171msgstr ""
    205172
    206 #: addon/for/cozmos/src/Providers/OrdersProvider.php:332
    207 #: addon/for/pmpro/inc/snippets/billing-fields.php:97
     173#: addon/for/cozmos/src/Providers/OrdersProvider.php:332 addon/for/pmpro/inc/snippets/billing-fields.php:97
    208174msgid "Billing City"
    209175msgstr ""
     
    213179msgstr ""
    214180
    215 #: addon/for/cozmos/src/Providers/OrdersProvider.php:344
    216 #: addon/for/pmpro/inc/snippets/billing-fields.php:103
     181#: addon/for/cozmos/src/Providers/OrdersProvider.php:344 addon/for/pmpro/inc/snippets/billing-fields.php:103
    217182msgid "Billing State"
    218183msgstr ""
    219184
    220 #: addon/for/cozmos/src/Providers/OrdersProvider.php:350
    221 #: addon/for/pmpro/inc/snippets/billing-fields.php:115
     185#: addon/for/cozmos/src/Providers/OrdersProvider.php:350 addon/for/pmpro/inc/snippets/billing-fields.php:115
    222186msgid "Billing Country"
    223187msgstr ""
    224188
    225 #: addon/for/cozmos/src/Providers/TaxOrderItem.php:74
    226 #: addon/for/cozmos/src/Providers/TaxesProvider.php:32
     189#: addon/for/cozmos/src/Providers/TaxOrderItem.php:74 addon/for/cozmos/src/Providers/TaxesProvider.php:32
    227190#: addon/for/cozmos/src/Providers/TaxesProvider.php:54
    228191msgid "Imposte"
    229192msgstr ""
    230193
    231 #: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:14
    232 #: inc/settings/pageSettingsFields.php:1226
     194#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:14 inc/settings/pageSettingsFields.php:1226
    233195#: inc/wc/settings/pageSettingsFields.php:278
    234196msgid "Select"
     
    236198
    237199#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:20
    238 #: addon/for/pmpro/inc/snippets/billing-fields.php:44
    239 #: src/WooCommerce/Fields/InvoiceFields.php:2590
    240 #: src/WooCommerce/Fields/InvoiceFields.php:3071
    241 #: src/WooCommerce/Fields/InvoiceFields.php:3464
     200#: addon/for/pmpro/inc/snippets/billing-fields.php:44 src/WooCommerce/Fields/InvoiceFields.php:2590
     201#: src/WooCommerce/Fields/InvoiceFields.php:3071 src/WooCommerce/Fields/InvoiceFields.php:3464
    242202msgid "Name of the company"
    243203msgstr ""
     
    250210#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:49
    251211#: addon/for/pmpro/inc/snippets/billing-fields.php:138
    252 msgid ""
    253 "These fields are used by POP to collect billing information for the "
    254 "user's invoices."
     212msgid "These fields are used by POP to collect billing information for the user's invoices."
    255213msgstr ""
    256214
     
    259217msgstr ""
    260218
    261 #: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:103
    262 #: src/WooCommerce/Fields/InvoiceFields.php:1012
     219#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:103 src/WooCommerce/Fields/InvoiceFields.php:1012
    263220#: src/WooCommerce/Fields/InvoiceFields.php:1193
    264221msgid "Invoice number"
     
    266223
    267224#: addon/for/pmpro/inc/snippets/billing-fields-in-order.php:111
    268 msgid ""
    269 "Progressive number of the electronic invoice associated with this order."
     225msgid "Progressive number of the electronic invoice associated with this order."
    270226msgstr ""
    271227
     
    319275
    320276#: addon/for/pmpro/inc/snippets/council-directive-2006-112-ec.php:34
    321 msgid ""
    322 "Enable VAT tax calculation according to the Council Directive 2006/112/"
    323 "EC."
    324 msgstr ""
    325 
    326 #: addon/for/pmpro/src/Functions/Utils.php:33 src/Functions/Utils.php:2155
    327 #: src/Functions/Utils.php:2164
     277msgid "Enable VAT tax calculation according to the Council Directive 2006/112/EC."
     278msgstr ""
     279
     280#: addon/for/pmpro/src/Functions/Utils.php:33 src/Functions/Utils.php:2155 src/Functions/Utils.php:2164
    328281msgid "Vies control not necessary"
    329282msgstr ""
     
    333286msgstr ""
    334287
    335 #: addon/for/pmpro/src/Functions/Utils.php:59
    336 #: addon/for/pmpro/src/Functions/Utils.php:82
     288#: addon/for/pmpro/src/Functions/Utils.php:59 addon/for/pmpro/src/Functions/Utils.php:82
    337289#, php-format
    338290msgid "%1$s per %2$s"
    339291msgstr ""
    340292
    341 #: addon/for/pmpro/src/Functions/Utils.php:64
    342 #: addon/for/pmpro/src/Functions/Utils.php:87
     293#: addon/for/pmpro/src/Functions/Utils.php:64 addon/for/pmpro/src/Functions/Utils.php:87
    343294#, php-format
    344295msgid "%1$s every %2$d %3$s"
    345296msgstr ""
    346297
    347 #: addon/for/pmpro/src/Functions/Utils.php:70 inc/localizeScripts.php:69
    348 #: src/Functions/Utils.php:2189
     298#: addon/for/pmpro/src/Functions/Utils.php:70 inc/localizeScripts.php:69 src/Functions/Utils.php:2189
    349299msgid "VAT valid for VIES"
    350300msgstr ""
    351301
    352 #: addon/for/pmpro/src/Functions/Utils.php:94 inc/localizeScripts.php:70
    353 #: src/Functions/Utils.php:2200
     302#: addon/for/pmpro/src/Functions/Utils.php:94 inc/localizeScripts.php:70 src/Functions/Utils.php:2200
    354303msgid "The VAT number entered is not valid for VIES"
    355304msgstr ""
    356305
    357 #: addon/for/pmpro/src/Functions/Utils.php:100
    358 #: src/Functions/Utils.php:2210
     306#: addon/for/pmpro/src/Functions/Utils.php:100 src/Functions/Utils.php:2210
    359307msgid "Error during VIES verification: "
    360308msgstr ""
     
    362310#: addon/for/pmpro/src/Functions/Utils.php:255
    363311#, php-format
    364 msgid ""
    365 "INPS contribution (rivalsa) of €%s has been applied to this VAT-exempt "
    366 "transaction."
     312msgid "INPS contribution (rivalsa) of €%s has been applied to this VAT-exempt transaction."
    367313msgstr ""
    368314
    369315#: addon/for/pmpro/src/Functions/Utils.php:353
    370316#, php-format
    371 msgid ""
    372 "A stamp duty of €%s has been applied, as required for VAT-exempt "
    373 "transactions exceeding €77.47."
     317msgid "A stamp duty of €%s has been applied, as required for VAT-exempt transactions exceeding €77.47."
    374318msgstr ""
    375319
    376320#: addon/for/pmpro/src/Functions/Utils.php:363
    377321#, php-format
    378 msgid ""
    379 "VAT-exempt transaction exceeding €77.47 — stamp duty of €%s paid by the "
    380 "merchant."
     322msgid "VAT-exempt transaction exceeding €77.47 — stamp duty of €%s paid by the merchant."
    381323msgstr ""
    382324
     
    385327msgstr ""
    386328
    387 #: addon/for/pmpro/src/Providers/TaxOrderItem.php:65
    388 #: addon/for/pmpro/src/Providers/TaxesProvider.php:29
     329#: addon/for/pmpro/src/Providers/TaxOrderItem.php:65 addon/for/pmpro/src/Providers/TaxesProvider.php:29
    389330#: addon/for/pmpro/src/Providers/TaxesProvider.php:50
    390331msgid "IVA"
     
    396337
    397338#: dev/block-invoice-fields.php:16 inc/settings/pageSettingsFields.php:958
    398 #: src/WooCommerce/Fields/InvoiceFields.php:447 src/Xml/BuildXml.php:544
    399 #: src/Xml/CreateXml.php:3433
     339#: src/WooCommerce/Fields/InvoiceFields.php:447 src/Xml/BuildXml.php:544 src/Xml/CreateXml.php:3433
    400340msgid "Receipt"
    401341msgstr ""
    402342
    403343#: dev/block-invoice-fields.php:17 inc/settings/pageSettingsFields.php:894
    404 #: src/Admin/Settings/Fields/XmlOrdersList.php:122
    405 #: src/WooCommerce/Fields/InvoiceFields.php:430 src/Xml/BuildXml.php:546
    406 #: src/Xml/CreateXml.php:3431
     344#: src/Admin/Settings/Fields/XmlOrdersList.php:122 src/WooCommerce/Fields/InvoiceFields.php:430
     345#: src/Xml/BuildXml.php:546 src/Xml/CreateXml.php:3431
    407346msgid "Invoice"
    408347msgstr ""
     
    420359msgctxt "integration"
    421360msgid ""
    422 "Here you will find all our pro extensions to easily integrate advanced "
    423 "solutions and automate your invoicing."
     361"Here you will find all our pro extensions to easily integrate advanced solutions and automate your invoicing."
    424362msgstr ""
    425363
    426364#: inc/integrations.php:19
    427365msgctxt "integration"
    428 msgid ""
    429 "Do you have special needs or do you need to integrate other services? "
    430 "Write to us at"
     366msgid "Do you have special needs or do you need to integrate other services? Write to us at"
    431367msgstr ""
    432368
     
    435371msgstr ""
    436372
    437 #: inc/integrations.php:69 inc/integrations.php:105
    438 #: inc/integrations.php:149 inc/integrations.php:182
    439 #: inc/integrations.php:206 inc/integrations.php:232
    440 #: inc/integrations.php:258 inc/integrations.php:284
    441 #: inc/integrations.php:316 inc/settings/pageSettingsFields.php:518
    442 #: inc/settings/pageSettingsFields.php:542
    443 #: inc/settings/pageSettingsFields.php:561
    444 #: inc/settings/pageSettingsFields.php:618
     373#: inc/integrations.php:69 inc/integrations.php:105 inc/integrations.php:149 inc/integrations.php:182
     374#: inc/integrations.php:206 inc/integrations.php:232 inc/integrations.php:258 inc/integrations.php:284
     375#: inc/integrations.php:316 inc/settings/pageSettingsFields.php:518 inc/settings/pageSettingsFields.php:542
     376#: inc/settings/pageSettingsFields.php:561 inc/settings/pageSettingsFields.php:618
    445377msgid "not available"
    446378msgstr ""
    447379
    448 #: inc/integrations.php:70 inc/integrations.php:106
    449 #: inc/integrations.php:149 inc/integrations.php:183
    450 #: inc/integrations.php:207 inc/integrations.php:233
    451 #: inc/integrations.php:259 inc/integrations.php:285
     380#: inc/integrations.php:70 inc/integrations.php:106 inc/integrations.php:149 inc/integrations.php:183
     381#: inc/integrations.php:207 inc/integrations.php:233 inc/integrations.php:259 inc/integrations.php:285
    452382#: inc/integrations.php:316
    453383msgid "available"
    454384msgstr ""
    455385
    456 #: inc/integrations.php:71 inc/integrations.php:78
    457 #: inc/integrations.php:107 inc/integrations.php:114
    458 #: inc/integrations.php:156 inc/integrations.php:188
    459 #: inc/integrations.php:212 inc/integrations.php:238
    460 #: inc/integrations.php:264 inc/integrations.php:290
    461 #: inc/integrations.php:323
     386#: inc/integrations.php:71 inc/integrations.php:78 inc/integrations.php:107 inc/integrations.php:114
     387#: inc/integrations.php:156 inc/integrations.php:188 inc/integrations.php:212 inc/integrations.php:238
     388#: inc/integrations.php:264 inc/integrations.php:290 inc/integrations.php:323
    462389msgid "Activate"
    463390msgstr ""
    464391
    465 #: inc/integrations.php:72 inc/integrations.php:79
    466 #: inc/integrations.php:108 inc/integrations.php:115
    467 #: inc/integrations.php:157 inc/integrations.php:189
    468 #: inc/integrations.php:213 inc/integrations.php:239
    469 #: inc/integrations.php:265 inc/integrations.php:291
    470 #: inc/integrations.php:324
     392#: inc/integrations.php:72 inc/integrations.php:79 inc/integrations.php:108 inc/integrations.php:115
     393#: inc/integrations.php:157 inc/integrations.php:189 inc/integrations.php:213 inc/integrations.php:239
     394#: inc/integrations.php:265 inc/integrations.php:291 inc/integrations.php:324
    471395msgid "Deactivate"
    472396msgstr ""
     
    479403#: inc/integrations.php:84
    480404msgctxt "integration_info"
    481 msgid ""
    482 "Automate e-invoicing for your subscriptions and manage everything from "
    483 "WordPress, with a single tool."
    484 msgstr ""
    485 
    486 #: inc/integrations.php:87 inc/integrations.php:123
    487 #: inc/integrations.php:164 inc/integrations.php:196
    488 #: inc/integrations.php:220 inc/integrations.php:248
    489 #: inc/integrations.php:274 inc/integrations.php:298
     405msgid "Automate e-invoicing for your subscriptions and manage everything from WordPress, with a single tool."
     406msgstr ""
     407
     408#: inc/integrations.php:87 inc/integrations.php:123 inc/integrations.php:164 inc/integrations.php:196
     409#: inc/integrations.php:220 inc/integrations.php:248 inc/integrations.php:274 inc/integrations.php:298
    490410#: inc/integrations.php:331
    491411msgid "Documentation"
     
    496416msgstr ""
    497417
    498 #: inc/integrations.php:94 inc/integrations.php:130
    499 #: inc/integrations.php:172 inc/integrations.php:339
     418#: inc/integrations.php:94 inc/integrations.php:130 inc/integrations.php:172 inc/integrations.php:339
    500419msgid "Learn how"
    501420msgstr ""
     
    508427#: inc/integrations.php:120
    509428msgctxt "integration_info"
    510 msgid ""
    511 "Automate e-invoicing for your WordPress subscriptions and ensure full "
    512 "tax compliance with no hassle."
     429msgid "Automate e-invoicing for your WordPress subscriptions and ensure full tax compliance with no hassle."
    513430msgstr ""
    514431
     
    524441#: inc/integrations.php:161
    525442msgctxt "integration_info"
    526 msgid ""
    527 "Invia le fatture allo SdI senza gestionali esterni: tutto da POP, in "
    528 "automatico."
     443msgid "Invia le fatture allo SdI senza gestionali esterni: tutto da POP, in automatico."
    529444msgstr ""
    530445
     
    540455#: inc/integrations.php:193
    541456msgctxt "integration_info"
    542 msgid ""
    543 "Invia le fatture ad Aruba Business dal tuo e-commerce, in modo conforme "
    544 "e automatico."
     457msgid "Invia le fatture ad Aruba Business dal tuo e-commerce, in modo conforme e automatico."
    545458msgstr ""
    546459
     
    552465#: inc/integrations.php:217
    553466msgctxt "integration_info"
    554 msgid ""
    555 "Automatizza fatturazione, magazzino e invio allo SdI con POP e Fatture "
    556 "in Cloud."
     467msgid "Automatizza fatturazione, magazzino e invio allo SdI con POP e Fatture in Cloud."
    557468msgstr ""
    558469
     
    564475#: inc/integrations.php:244
    565476msgctxt "integration_info"
    566 msgid ""
    567 "Genera corrispettivi dalle ricevute e-commerce con l’integrazione POP "
    568 "per Fatture in Cloud."
     477msgid "Genera corrispettivi dalle ricevute e-commerce con l’integrazione POP per Fatture in Cloud."
    569478msgstr ""
    570479
     
    576485#: inc/integrations.php:270
    577486msgctxt "integration_info"
    578 msgid ""
    579 "Sincronizza lo stock tra e-commerce e Fatture in Cloud ed elimina "
    580 "errori e doppioni."
     487msgid "Sincronizza lo stock tra e-commerce e Fatture in Cloud ed elimina errori e doppioni."
    581488msgstr ""
    582489
     
    588495#: inc/integrations.php:295
    589496msgctxt "integration_info"
    590 msgid ""
    591 "Invia le fatture via PEC allo SdI dal tuo e-commerce, con controllo e "
    592 "semplicità."
     497msgid "Invia le fatture via PEC allo SdI dal tuo e-commerce, con controllo e semplicità."
    593498msgstr ""
    594499
     
    601506msgctxt "integration_info"
    602507msgid ""
    603 "Send invoices through the PEPPOL network without external management "
    604 "software: everything directly from POP, automatically."
     508"Send invoices through the PEPPOL network without external management software: everything directly from POP, "
     509"automatically."
    605510msgstr ""
    606511
     
    728633
    729634#: inc/localizeScripts.php:112
    730 msgid ""
    731 "WARNING: You are about to set the \"SENT to invoice\" status, do you "
    732 "want to confirm?"
     635msgid "WARNING: You are about to set the \"SENT to invoice\" status, do you want to confirm?"
    733636msgstr ""
    734637
    735638#: inc/localizeScripts.php:116
    736 msgid ""
    737 "WARNING: You are about to set the \"NOT SENT to invoice\" status, do "
    738 "you want to confirm?"
     639msgid "WARNING: You are about to set the \"NOT SENT to invoice\" status, do you want to confirm?"
    739640msgstr ""
    740641
     
    748649
    749650#: inc/localizeScripts.php:128
    750 msgid ""
    751 "Before sending the invoice you cannot make a refund, on the total but "
    752 "only on the lines of the order"
    753 msgstr ""
    754 
    755 #: inc/localizeScripts.php:135 inc/settings/pageSettingsFields.php:515
    756 #: inc/settings/pageSettingsFields.php:539
    757 #: inc/settings/pageSettingsFields.php:558
    758 #: inc/settings/pageSettingsFields.php:615
     651msgid "Before sending the invoice you cannot make a refund, on the total but only on the lines of the order"
     652msgstr ""
     653
     654#: inc/localizeScripts.php:135 inc/settings/pageSettingsFields.php:515 inc/settings/pageSettingsFields.php:539
     655#: inc/settings/pageSettingsFields.php:558 inc/settings/pageSettingsFields.php:615
    759656msgid "active"
    760657msgstr ""
     
    785682
    786683#: inc/localizeScripts.php:150
    787 msgid ""
    788 "The window could not be opened. Please disable your pop-up blocker and "
    789 "try again."
     684msgid "The window could not be opened. Please disable your pop-up blocker and try again."
    790685msgstr ""
    791686
     
    796691#: inc/settings/pageSettingsFields.php:83
    797692msgid ""
    798 "For the selected tax regimes (RF19 – Forfettario, RF02 – Minimi), taxes "
    799 "must be disabled in your store settings. If taxes remain enabled, the "
    800 "system will generate orders that are inconsistent with the selected tax "
    801 "regime, which may lead to invalid invoices."
     693"For the selected tax regimes (RF19 – Forfettario, RF02 – Minimi), taxes must be disabled in your store "
     694"settings. If taxes remain enabled, the system will generate orders that are inconsistent with the selected "
     695"tax regime, which may lead to invalid invoices."
    802696msgstr ""
    803697
    804698#: inc/settings/pageSettingsFields.php:90
    805 msgid ""
    806 "If you need to modify this data, please go to the customer area and "
    807 "open a ticket."
    808 msgstr ""
    809 
    810 #: inc/settings/pageSettingsFields.php:99
    811 #: inc/settings/pageSettingsFields.php:137
     699msgid "If you need to modify this data, please go to the customer area and open a ticket."
     700msgstr ""
     701
     702#: inc/settings/pageSettingsFields.php:99 inc/settings/pageSettingsFields.php:137
    812703msgid "Api Key"
    813704msgstr ""
    814705
    815706#: inc/settings/pageSettingsFields.php:104
    816 msgid ""
    817 "Before changing the API key, create another key from the API panel of "
    818 "your account."
     707msgid "Before changing the API key, create another key from the API panel of your account."
    819708msgstr ""
    820709
     
    853742
    854743#: inc/settings/pageSettingsFields.php:232
    855 msgid ""
    856 "This data will be used for the correct generation of XML and PDF "
    857 "documents"
     744msgid "This data will be used for the correct generation of XML and PDF documents"
    858745msgstr ""
    859746
     
    908795#: inc/settings/pageSettingsFields.php:425
    909796msgid ""
    910 "The sender is the person who sends the XML file directly to the "
    911 "Exchange System and can be the company itself or an intermediary on its "
    912 "behalf. (optional fields)"
     797"The sender is the person who sends the XML file directly to the Exchange System and can be the company "
     798"itself or an intermediary on its behalf. (optional fields)"
    913799msgstr ""
    914800
     
    937823msgctxt "sdi_pop_api_info"
    938824msgid ""
    939 "For every invoice sent to the SDI (Sistema di Interscambio), credits "
    940 "will be automatically deducted based on the services used. Here's how "
    941 "credit consumption works:"
     825"For every invoice sent to the SDI (Sistema di Interscambio), credits will be automatically deducted based on "
     826"the services used. Here's how credit consumption works:"
    942827msgstr ""
    943828
     
    964849#: inc/settings/pageSettingsFields.php:500
    965850msgctxt "sdi_pop_api_info"
    966 msgid ""
    967 "If you enable one or more of the following services, additional credits "
    968 "will be deducted:"
     851msgid "If you enable one or more of the following services, additional credits will be deducted:"
    969852msgstr ""
    970853
     
    972855msgctxt "sdi_pop_api_info"
    973856msgid ""
    974 "- Digital preservation: 1 additional credit is used to store the "
    975 "invoice according to legal requirements."
     857"- Digital preservation: 1 additional credit is used to store the invoice according to legal requirements."
    976858msgstr ""
    977859
    978860#: inc/settings/pageSettingsFields.php:504
    979861msgctxt "sdi_pop_api_info"
    980 msgid ""
    981 "- Digital signature: 1 additional credit is used to digitally sign the "
    982 "invoice before sending."
    983 msgstr ""
    984 
    985 #: inc/settings/pageSettingsFields.php:516
    986 #: inc/settings/pageSettingsFields.php:519
    987 #: inc/settings/pageSettingsFields.php:616
    988 #: inc/settings/pageSettingsFields.php:619
     862msgid "- Digital signature: 1 additional credit is used to digitally sign the invoice before sending."
     863msgstr ""
     864
     865#: inc/settings/pageSettingsFields.php:516 inc/settings/pageSettingsFields.php:519
     866#: inc/settings/pageSettingsFields.php:616 inc/settings/pageSettingsFields.php:619
    989867msgid "Integration status"
    990868msgstr ""
     
    993871#, php-format
    994872msgid ""
    995 "You have enabled the electronic invoice sending to SdI via POP, but you "
    996 "are currently using the Free Plan. This feature is only available "
    997 "starting from the Growth Plan. To activate the automatic SdI "
    998 "submission, please upgrade your plan: %s"
    999 msgstr ""
    1000 
    1001 #: inc/settings/pageSettingsFields.php:524
    1002 #: inc/settings/pageSettingsFields.php:624
     873"You have enabled the electronic invoice sending to SdI via POP, but you are currently using the Free Plan. "
     874"This feature is only available starting from the Growth Plan. To activate the automatic SdI submission, "
     875"please upgrade your plan: %s"
     876msgstr ""
     877
     878#: inc/settings/pageSettingsFields.php:524 inc/settings/pageSettingsFields.php:624
    1003879msgid "View available plans and upgrade →"
    1004880msgstr ""
    1005881
    1006 #: inc/settings/pageSettingsFields.php:540
    1007 #: inc/settings/pageSettingsFields.php:543
     882#: inc/settings/pageSettingsFields.php:540 inc/settings/pageSettingsFields.php:543
    1008883msgid "Apply digital signature before sending invoices to SdI"
    1009884msgstr ""
    1010885
    1011 #: inc/settings/pageSettingsFields.php:559
    1012 #: inc/settings/pageSettingsFields.php:562
     886#: inc/settings/pageSettingsFields.php:559 inc/settings/pageSettingsFields.php:562
    1013887msgid "Apply the legal storage for invoices sent"
    1014888msgstr ""
     
    1036910msgctxt "peppol_pop_api_info"
    1037911msgid ""
    1038 "For every UBL document sent via the PEPPOL network, credits will be "
    1039 "automatically deducted based on the services used. Here's how credit "
    1040 "consumption works:"
     912"For every UBL document sent via the PEPPOL network, credits will be automatically deducted based on the "
     913"services used. Here's how credit consumption works:"
    1041914msgstr ""
    1042915
     
    1048921#: inc/settings/pageSettingsFields.php:601
    1049922msgctxt "peppol_pop_api_info"
    1050 msgid ""
    1051 "- 1 credit is used for sending the UBL document through the PEPPOL "
    1052 "network."
     923msgid "- 1 credit is used for sending the UBL document through the PEPPOL network."
    1053924msgstr ""
    1054925
     
    1061932#, php-format
    1062933msgid ""
    1063 "You have enabled the automatic sending of electronic invoices to the "
    1064 "PEPPOL network via POP, but you are currently using the Free Plan. This "
    1065 "feature is only available starting from the Growth Plan. To activate "
     934"You have enabled the automatic sending of electronic invoices to the PEPPOL network via POP, but you are "
     935"currently using the Free Plan. This feature is only available starting from the Growth Plan. To activate "
    1066936"automatic sending to PEPPOL (UBL format), please upgrade your plan: %s"
    1067937msgstr ""
     
    1106976
    1107977#: inc/settings/pageSettingsFields.php:754
    1108 msgid ""
    1109 "To start using POP, you need an account. Click the button to launch the "
    1110 "setup wizard."
     978msgid "To start using POP, you need an account. Click the button to launch the setup wizard."
    1111979msgstr ""
    1112980
     
    1115983msgstr ""
    1116984
    1117 #: inc/settings/pageSettingsFields.php:779
    1118 #: inc/settings/pageSettingsFields.php:1170
     985#: inc/settings/pageSettingsFields.php:779 inc/settings/pageSettingsFields.php:1170
    1119986msgid "Global"
    1120987msgstr ""
     
    11371004
    11381005#: inc/settings/pageSettingsFields.php:816
    1139 msgid ""
    1140 "The numbering of invoices, receipts and credit notes will be reset "
    1141 "every year on January 1st"
     1006msgid "The numbering of invoices, receipts and credit notes will be reset every year on January 1st"
    11421007msgstr ""
    11431008
     
    11471012
    11481013#: inc/settings/pageSettingsFields.php:832
    1149 msgid ""
    1150 "Enter a letter as a suffix (or select the option below \"year as "
    1151 "suffix\")"
     1014msgid "Enter a letter as a suffix (or select the option below \"year as suffix\")"
    11521015msgstr ""
    11531016
     
    11611024
    11621025#: inc/settings/pageSettingsFields.php:849
    1163 msgid ""
    1164 "Selecting the option, the year of order creation will be set as a "
    1165 "suffix."
     1026msgid "Selecting the option, the year of order creation will be set as a suffix."
    11661027msgstr ""
    11671028
     
    11831044
    11841045#: inc/settings/pageSettingsFields.php:927
    1185 msgid ""
    1186 "Enter a number from which to start generating the invoice numbering"
     1046msgid "Enter a number from which to start generating the invoice numbering"
    11871047msgstr ""
    11881048
     
    11961056
    11971057#: inc/settings/pageSettingsFields.php:990
    1198 msgid ""
    1199 "Enter a number from which to start generating the receipt numbering "
    1200 "(set zero to use invoice numbering)"
    1201 msgstr ""
    1202 
    1203 #: inc/settings/pageSettingsFields.php:1018
    1204 #: inc/settings/pageSettingsFields.php:1090
    1205 #: src/Admin/Settings/Fields/XmlOrdersList.php:123 src/PeppolApi.php:248
    1206 #: src/Xml/BuildXml.php:550 src/Xml/CreateXml.php:3437
     1058msgid "Enter a number from which to start generating the receipt numbering (set zero to use invoice numbering)"
     1059msgstr ""
     1060
     1061#: inc/settings/pageSettingsFields.php:1018 inc/settings/pageSettingsFields.php:1090
     1062#: src/Admin/Settings/Fields/XmlOrdersList.php:123 src/PeppolApi.php:248 src/Xml/BuildXml.php:550
     1063#: src/Xml/CreateXml.php:3437
    12071064msgid "Credit note"
    12081065msgstr ""
     
    12121069msgstr ""
    12131070
    1214 #: inc/settings/pageSettingsFields.php:1028
    1215 #: inc/settings/pageSettingsFields.php:1100
     1071#: inc/settings/pageSettingsFields.php:1028 inc/settings/pageSettingsFields.php:1100
    12161072msgid "Prefix credit note"
    12171073msgstr ""
    12181074
    1219 #: inc/settings/pageSettingsFields.php:1044
    1220 #: inc/settings/pageSettingsFields.php:1116
     1075#: inc/settings/pageSettingsFields.php:1044 inc/settings/pageSettingsFields.php:1116
    12211076msgid "Separate numbering"
    12221077msgstr ""
    12231078
    1224 #: inc/settings/pageSettingsFields.php:1049
    1225 #: inc/settings/pageSettingsFields.php:1121
     1079#: inc/settings/pageSettingsFields.php:1049 inc/settings/pageSettingsFields.php:1121
    12261080msgid "Use separate numbering"
    12271081msgstr ""
    12281082
    1229 #: inc/settings/pageSettingsFields.php:1050
    1230 #: inc/settings/pageSettingsFields.php:1122
     1083#: inc/settings/pageSettingsFields.php:1050 inc/settings/pageSettingsFields.php:1122
    12311084msgid "Selecting the option you will be able to define separate numbering"
    12321085msgstr ""
    12331086
    1234 #: inc/settings/pageSettingsFields.php:1061
    1235 #: inc/settings/pageSettingsFields.php:1133
     1087#: inc/settings/pageSettingsFields.php:1061 inc/settings/pageSettingsFields.php:1133
    12361088msgid "Number of the next credit note"
    12371089msgstr ""
     
    12411093msgstr ""
    12421094
    1243 #: inc/settings/pageSettingsFields.php:1071
    1244 #: inc/settings/pageSettingsFields.php:1143
    1245 msgid ""
    1246 "Enter a number from which to start generating the credit note numbering "
    1247 "(set zero to use invoice numbering)"
     1095#: inc/settings/pageSettingsFields.php:1071 inc/settings/pageSettingsFields.php:1143
     1096msgid ""
     1097"Enter a number from which to start generating the credit note numbering (set zero to use invoice numbering)"
    12481098msgstr ""
    12491099
     
    12651115
    12661116#: inc/settings/pageSettingsFields.php:1184
    1267 msgid ""
    1268 "Disable document and disable the number increment if order total is "
    1269 "zero."
     1117msgid "Disable document and disable the number increment if order total is zero."
    12701118msgstr ""
    12711119
     
    12951143
    12961144#: inc/settings/pageSettingsFields.php:1230 src/Functions/Utils.php:1039
    1297 msgid ""
    1298 "Exempt VAT pursuant to art. 10, paragraph 1, no. 18 of D.P.R. 633/1972"
     1145msgid "Exempt VAT pursuant to art. 10, paragraph 1, no. 18 of D.P.R. 633/1972"
    12991146msgstr ""
    13001147
     
    13171164#: inc/settings/pageSettingsFields.php:1241
    13181165msgid ""
    1319 "This regulatory reference will be displayed in the xml and pdf invoice "
    1320 "when the transactions are N4 (Exempt) in nature"
     1166"This regulatory reference will be displayed in the xml and pdf invoice when the transactions are N4 (Exempt) "
     1167"in nature"
    13211168msgstr ""
    13221169
     
    13311178#: inc/settings/pageSettingsFields.php:1264
    13321179msgid ""
    1333 "This regulatory reference will be displayed in the xml and pdf invoice "
    1334 "when the transactions are N5 (Exempt) in nature"
     1180"This regulatory reference will be displayed in the xml and pdf invoice when the transactions are N5 (Exempt) "
     1181"in nature"
    13351182msgstr ""
    13361183
     
    13481195
    13491196#: inc/settings/pageSettingsFields.php:1305
    1350 msgid ""
    1351 "By activating this option you can save the xml file in a directory on "
    1352 "your server"
     1197msgid "By activating this option you can save the xml file in a directory on your server"
    13531198msgstr ""
    13541199
     
    13631208#: inc/settings/pageSettingsFields.php:1325
    13641209msgid ""
    1365 "Sets the directory for saving xml. the xml is saved when the order "
    1366 "status changes to \"completed\". \n"
    1367 "                        the default directory is \"wp-content/uploads/"
    1368 "pop-invoice\" - NB: if you use a custom directory the folder must be "
    1369 "present on the server"
     1210"Sets the directory for saving xml. the xml is saved when the order status changes to \"completed\". \n"
     1211"                        the default directory is \"wp-content/uploads/pop-invoice\" - NB: if you use a "
     1212"custom directory the folder must be present on the server"
    13701213msgstr ""
    13711214
     
    13831226
    13841227#: inc/settings/pageSettingsFields.php:1363
    1385 msgid ""
    1386 "Activate to view the link to download the pdf in the list of orders in "
    1387 "my account"
     1228msgid "Activate to view the link to download the pdf in the list of orders in my account"
    13881229msgstr ""
    13891230
     
    13971238
    13981239#: inc/settings/pageSettingsFields.php:1380
    1399 msgid ""
    1400 "Active the sending of the invoice/receipt in PDF format via e-mail upon "
    1401 "completion of the order"
     1240msgid "Active the sending of the invoice/receipt in PDF format via e-mail upon completion of the order"
    14021241msgstr ""
    14031242
     
    14111250
    14121251#: inc/settings/pageSettingsFields.php:1398
    1413 msgid ""
    1414 "View the invoice (pdf) in HTML - (activate only if the PDF generation "
    1415 "presents problems)"
     1252msgid "View the invoice (pdf) in HTML - (activate only if the PDF generation presents problems)"
    14161253msgstr ""
    14171254
    14181255#: inc/settings/pageSettingsFields.php:1400
    1419 msgid ""
    1420 "NB: by activating this option the document will not be attached to the "
    1421 "email"
     1256msgid "NB: by activating this option the document will not be attached to the email"
    14221257msgstr ""
    14231258
     
    14311266
    14321267#: inc/settings/pageSettingsFields.php:1421
    1433 msgid ""
    1434 "(Leave the field blank if you want the company name to be inserted as "
    1435 "text)"
     1268msgid "(Leave the field blank if you want the company name to be inserted as text)"
    14361269msgstr ""
    14371270
     
    14581291#: inc/settings/pageSettingsFields.php:1474
    14591292msgid ""
    1460 "The duty stamp must be applied when electronic invoices (and pdfs) are "
    1461 "issued without VAT and if the amount exceeds 77.47€."
    1462 msgstr ""
    1463 
    1464 #: inc/settings/pageSettingsFields.php:1516
    1465 #: inc/settings/pageSettingsTabs.php:46
    1466 #: inc/wc/settings/pageSettingsTabs.php:41
    1467 #: src/Admin/Settings/OptionPage.php:225
    1468 #: src/Admin/Settings/OptionPage.php:226
    1469 #: src/Admin/Settings/OptionPage.php:374
     1293"The duty stamp must be applied when electronic invoices (and pdfs) are issued without VAT and if the amount "
     1294"exceeds 77.47€."
     1295msgstr ""
     1296
     1297#: inc/settings/pageSettingsFields.php:1516 inc/settings/pageSettingsTabs.php:46
     1298#: inc/wc/settings/pageSettingsTabs.php:41 src/Admin/Settings/OptionPage.php:225
     1299#: src/Admin/Settings/OptionPage.php:226 src/Admin/Settings/OptionPage.php:374
    14701300msgid "Checkout"
    14711301msgstr ""
     
    15071337msgstr ""
    15081338
    1509 #: inc/settings/pageSettingsFields.php:1597
    1510 #: inc/settings/pageSettingsFields.php:1603
     1339#: inc/settings/pageSettingsFields.php:1597 inc/settings/pageSettingsFields.php:1603
    15111340msgid "Customer type list"
    15121341msgstr ""
     
    15141343#: inc/settings/pageSettingsFields.php:1607
    15151344msgid ""
    1516 "Enter the list in the order you prefer (remember that the \"company, "
    1517 "freelance, private\" keys cannot be modified)"
     1345"Enter the list in the order you prefer (remember that the \"company, freelance, private\" keys cannot be "
     1346"modified)"
    15181347msgstr ""
    15191348
    15201349#: inc/settings/pageSettingsFields.php:1609
    1521 msgid ""
    1522 "Format: (key:Label) enter one \"key:Label\" per line without spaces"
     1350msgid "Format: (key:Label) enter one \"key:Label\" per line without spaces"
    15231351msgstr ""
    15241352
    15251353#: inc/settings/pageSettingsFields.php:1611
    1526 msgid ""
    1527 "To insert label composed of multiple words, use \"_\" e.g. "
    1528 "Custom_customer"
     1354msgid "To insert label composed of multiple words, use \"_\" e.g. Custom_customer"
    15291355msgstr ""
    15301356
     
    15381364
    15391365#: inc/settings/pageSettingsFields.php:1632
    1540 msgid ""
    1541 "Activate the select for choosing the type of document (invoice or "
    1542 "receipt)"
     1366msgid "Activate the select for choosing the type of document (invoice or receipt)"
    15431367msgstr ""
    15441368
    15451369#: inc/settings/pageSettingsFields.php:1634
    1546 msgid ""
    1547 "Attention: if the customer chooses the receipt in this case a tax "
    1548 "document will have to be issued."
     1370msgid "Attention: if the customer chooses the receipt in this case a tax document will have to be issued."
    15491371msgstr ""
    15501372
     
    15581380
    15591381#: inc/settings/pageSettingsFields.php:1654
    1560 msgid ""
    1561 "Disable the PEC/unique code field in the checkout (the recipient code "
    1562 "will be set to \"0000000\")"
     1382msgid "Disable the PEC/unique code field in the checkout (the recipient code will be set to \"0000000\")"
    15631383msgstr ""
    15641384
     
    15721392
    15731393#: inc/settings/pageSettingsFields.php:1674
    1574 msgid ""
    1575 "Disable the tax code from the checkout and from my-account (only for "
    1576 "companies and freelancers)"
     1394msgid "Disable the tax code from the checkout and from my-account (only for companies and freelancers)"
    15771395msgstr ""
    15781396
     
    15871405#: inc/settings/pageSettingsFields.php:1694
    15881406msgid ""
    1589 "By activating the control of the Fiscal Code only for the \"Private\" "
    1590 "customer type, the value of the Fiscal Code will be validated through a "
    1591 "correspondence between the Fiscal Code and the Name and Surname fields"
     1407"By activating the control of the Fiscal Code only for the \"Private\" customer type, the value of the Fiscal "
     1408"Code will be validated through a correspondence between the Fiscal Code and the Name and Surname fields"
    15921409msgstr ""
    15931410
     
    15961413msgstr ""
    15971414
    1598 #: inc/settings/pageSettingsFields.php:1741
    1599 #: inc/settings/pageSettingsFields.php:2098
     1415#: inc/settings/pageSettingsFields.php:1741 inc/settings/pageSettingsFields.php:2098
    16001416msgid "Webhook"
    16011417msgstr ""
     
    16101426
    16111427#: inc/settings/pageSettingsFields.php:1758
    1612 msgid ""
    1613 "Copy this collection of options to import your POP configuration into "
    1614 "another installation"
     1428msgid "Copy this collection of options to import your POP configuration into another installation"
    16151429msgstr ""
    16161430
     
    16201434
    16211435#: inc/settings/pageSettingsFields.php:1778
    1622 msgid ""
    1623 "Paste the options collection from another installation here to import "
    1624 "the POP configuration"
    1625 msgstr ""
    1626 
    1627 #: inc/settings/pageSettingsFields.php:1818
    1628 #: inc/wc/settings/pageSettingsFields.php:180
    1629 #: inc/wc/settings/pageSettingsFields.php:234
    1630 #: src/Admin/XmlOrderListTable.php:529
     1436msgid "Paste the options collection from another installation here to import the POP configuration"
     1437msgstr ""
     1438
     1439#: inc/settings/pageSettingsFields.php:1818 inc/wc/settings/pageSettingsFields.php:180
     1440#: inc/wc/settings/pageSettingsFields.php:234 src/Admin/XmlOrderListTable.php:529
    16311441#: src/WooCommerce/Fields/InvoiceFields.php:2317
    16321442msgid "Reverse Charge"
    16331443msgstr ""
    16341444
    1635 #: inc/settings/pageSettingsFields.php:1828
    1636 #: inc/wc/settings/pageSettingsFields.php:289
     1445#: inc/settings/pageSettingsFields.php:1828 inc/wc/settings/pageSettingsFields.php:289
    16371446msgid "Private UE:"
    16381447msgstr ""
    16391448
    1640 #: inc/settings/pageSettingsFields.php:1830
    1641 #: inc/wc/settings/pageSettingsFields.php:291
     1449#: inc/settings/pageSettingsFields.php:1830 inc/wc/settings/pageSettingsFields.php:291
    16421450msgid "Nature code for EU private customers"
    16431451msgstr ""
    16441452
    1645 #: inc/settings/pageSettingsFields.php:1843
    1646 #: inc/settings/pageSettingsFields.php:1847
    1647 #: inc/settings/pageSettingsFields.php:1880
    1648 #: inc/settings/pageSettingsFields.php:1882
    1649 #: inc/settings/pageSettingsFields.php:1910
    1650 #: inc/settings/pageSettingsFields.php:1912
    1651 #: inc/settings/pageSettingsFields.php:1937
    1652 #: inc/settings/pageSettingsFields.php:1941
    1653 #: inc/settings/pageSettingsFields.php:1970
    1654 #: inc/settings/pageSettingsFields.php:1972
    1655 #: inc/wc/settings/pageSettingsFields.php:304
    1656 #: inc/wc/settings/pageSettingsFields.php:308
    1657 #: inc/wc/settings/pageSettingsFields.php:341
    1658 #: inc/wc/settings/pageSettingsFields.php:343
    1659 #: inc/wc/settings/pageSettingsFields.php:371
    1660 #: inc/wc/settings/pageSettingsFields.php:373
    1661 #: inc/wc/settings/pageSettingsFields.php:398
    1662 #: inc/wc/settings/pageSettingsFields.php:402
    1663 #: inc/wc/settings/pageSettingsFields.php:431
    1664 #: inc/wc/settings/pageSettingsFields.php:433
     1453#: inc/settings/pageSettingsFields.php:1843 inc/settings/pageSettingsFields.php:1847
     1454#: inc/settings/pageSettingsFields.php:1880 inc/settings/pageSettingsFields.php:1882
     1455#: inc/settings/pageSettingsFields.php:1910 inc/settings/pageSettingsFields.php:1912
     1456#: inc/settings/pageSettingsFields.php:1937 inc/settings/pageSettingsFields.php:1941
     1457#: inc/settings/pageSettingsFields.php:1970 inc/settings/pageSettingsFields.php:1972
     1458#: inc/wc/settings/pageSettingsFields.php:304 inc/wc/settings/pageSettingsFields.php:308
     1459#: inc/wc/settings/pageSettingsFields.php:341 inc/wc/settings/pageSettingsFields.php:343
     1460#: inc/wc/settings/pageSettingsFields.php:371 inc/wc/settings/pageSettingsFields.php:373
     1461#: inc/wc/settings/pageSettingsFields.php:398 inc/wc/settings/pageSettingsFields.php:402
     1462#: inc/wc/settings/pageSettingsFields.php:431 inc/wc/settings/pageSettingsFields.php:433
    16651463msgid "Normative reference:"
    16661464msgstr ""
    16671465
    1668 #: inc/settings/pageSettingsFields.php:1845
    1669 #: inc/wc/settings/pageSettingsFields.php:306
     1466#: inc/settings/pageSettingsFields.php:1845 inc/wc/settings/pageSettingsFields.php:306
    16701467msgid "Normative reference for EU private customers"
    16711468msgstr ""
    16721469
    1673 #: inc/settings/pageSettingsFields.php:1861
    1674 #: inc/settings/pageSettingsFields.php:1891
    1675 #: inc/settings/pageSettingsFields.php:1955
    1676 #: inc/wc/settings/pageSettingsFields.php:322
    1677 #: inc/wc/settings/pageSettingsFields.php:352
    1678 #: inc/wc/settings/pageSettingsFields.php:416
     1470#: inc/settings/pageSettingsFields.php:1861 inc/settings/pageSettingsFields.php:1891
     1471#: inc/settings/pageSettingsFields.php:1955 inc/wc/settings/pageSettingsFields.php:322
     1472#: inc/wc/settings/pageSettingsFields.php:352 inc/wc/settings/pageSettingsFields.php:416
    16791473msgid "VATEX-EU-*"
    16801474msgstr ""
    16811475
    1682 #: inc/settings/pageSettingsFields.php:1862
    1683 #: inc/settings/pageSettingsFields.php:1892
    1684 #: inc/wc/settings/pageSettingsFields.php:323
    1685 #: inc/wc/settings/pageSettingsFields.php:353
     1476#: inc/settings/pageSettingsFields.php:1862 inc/settings/pageSettingsFields.php:1892
     1477#: inc/wc/settings/pageSettingsFields.php:323 inc/wc/settings/pageSettingsFields.php:353
    16861478#, php-format
    16871479msgid "Company EU (%s):"
    16881480msgstr ""
    16891481
    1690 #: inc/settings/pageSettingsFields.php:1863
    1691 #: inc/wc/settings/pageSettingsFields.php:324
     1482#: inc/settings/pageSettingsFields.php:1863 inc/wc/settings/pageSettingsFields.php:324
    16921483msgid "VAT validated by VIES"
    16931484msgstr ""
    16941485
    1695 #: inc/settings/pageSettingsFields.php:1866
    1696 #: inc/settings/pageSettingsFields.php:1896
    1697 #: inc/wc/settings/pageSettingsFields.php:327
    1698 #: inc/wc/settings/pageSettingsFields.php:357
     1486#: inc/settings/pageSettingsFields.php:1866 inc/settings/pageSettingsFields.php:1896
     1487#: inc/wc/settings/pageSettingsFields.php:327 inc/wc/settings/pageSettingsFields.php:357
    16991488msgid "Nature code for EU company customers"
    17001489msgstr ""
    17011490
    1702 #: inc/settings/pageSettingsFields.php:1867
    1703 #: inc/wc/settings/pageSettingsFields.php:328
     1491#: inc/settings/pageSettingsFields.php:1867 inc/wc/settings/pageSettingsFields.php:328
    17041492msgid "in case of VAT validated by VIES"
    17051493msgstr ""
    17061494
    1707 #: inc/settings/pageSettingsFields.php:1870
    1708 #: inc/settings/pageSettingsFields.php:1900
    1709 #: inc/settings/pageSettingsFields.php:1960
    1710 #: inc/wc/settings/pageSettingsFields.php:331
    1711 #: inc/wc/settings/pageSettingsFields.php:361
    1712 #: inc/wc/settings/pageSettingsFields.php:421
     1495#: inc/settings/pageSettingsFields.php:1870 inc/settings/pageSettingsFields.php:1900
     1496#: inc/settings/pageSettingsFields.php:1960 inc/wc/settings/pageSettingsFields.php:331
     1497#: inc/wc/settings/pageSettingsFields.php:361 inc/wc/settings/pageSettingsFields.php:421
    17131498msgid "VAT Exemption Code"
    17141499msgstr ""
    17151500
    1716 #: inc/settings/pageSettingsFields.php:1880
    1717 #: inc/settings/pageSettingsFields.php:1882
    1718 #: inc/settings/pageSettingsFields.php:1910
    1719 #: inc/settings/pageSettingsFields.php:1912
    1720 #: inc/settings/pageSettingsFields.php:1970
    1721 #: inc/settings/pageSettingsFields.php:1972
    1722 #: inc/wc/settings/pageSettingsFields.php:341
    1723 #: inc/wc/settings/pageSettingsFields.php:343
    1724 #: inc/wc/settings/pageSettingsFields.php:371
    1725 #: inc/wc/settings/pageSettingsFields.php:373
    1726 #: inc/wc/settings/pageSettingsFields.php:431
    1727 #: inc/wc/settings/pageSettingsFields.php:433
     1501#: inc/settings/pageSettingsFields.php:1880 inc/settings/pageSettingsFields.php:1882
     1502#: inc/settings/pageSettingsFields.php:1910 inc/settings/pageSettingsFields.php:1912
     1503#: inc/settings/pageSettingsFields.php:1970 inc/settings/pageSettingsFields.php:1972
     1504#: inc/wc/settings/pageSettingsFields.php:341 inc/wc/settings/pageSettingsFields.php:343
     1505#: inc/wc/settings/pageSettingsFields.php:371 inc/wc/settings/pageSettingsFields.php:373
     1506#: inc/wc/settings/pageSettingsFields.php:431 inc/wc/settings/pageSettingsFields.php:433
    17281507msgid "Tax Exemption Reason:"
    17291508msgstr ""
    17301509
    1731 #: inc/settings/pageSettingsFields.php:1893
    1732 #: inc/wc/settings/pageSettingsFields.php:354
     1510#: inc/settings/pageSettingsFields.php:1893 inc/wc/settings/pageSettingsFields.php:354
    17331511msgid "VAT not validated by VIES"
    17341512msgstr ""
    17351513
    1736 #: inc/settings/pageSettingsFields.php:1897
    1737 #: inc/wc/settings/pageSettingsFields.php:358
     1514#: inc/settings/pageSettingsFields.php:1897 inc/wc/settings/pageSettingsFields.php:358
    17381515msgid "in case of VAT not validated by VIES"
    17391516msgstr ""
    17401517
    1741 #: inc/settings/pageSettingsFields.php:1922
    1742 #: inc/wc/settings/pageSettingsFields.php:383
     1518#: inc/settings/pageSettingsFields.php:1922 inc/wc/settings/pageSettingsFields.php:383
    17431519msgid "Non-EU private:"
    17441520msgstr ""
    17451521
    1746 #: inc/settings/pageSettingsFields.php:1924
    1747 #: inc/wc/settings/pageSettingsFields.php:385
     1522#: inc/settings/pageSettingsFields.php:1924 inc/wc/settings/pageSettingsFields.php:385
    17481523msgid "Nature code for non-EU private customers"
    17491524msgstr ""
    17501525
    1751 #: inc/settings/pageSettingsFields.php:1939
    1752 #: inc/wc/settings/pageSettingsFields.php:400
     1526#: inc/settings/pageSettingsFields.php:1939 inc/wc/settings/pageSettingsFields.php:400
    17531527msgid "Normative reference for non-EU private customers"
    17541528msgstr ""
    17551529
    1756 #: inc/settings/pageSettingsFields.php:1956
    1757 #: inc/wc/settings/pageSettingsFields.php:417
     1530#: inc/settings/pageSettingsFields.php:1956 inc/wc/settings/pageSettingsFields.php:417
    17581531msgid "Non-EU Companies:"
    17591532msgstr ""
    17601533
    1761 #: inc/settings/pageSettingsFields.php:1958
    1762 #: inc/wc/settings/pageSettingsFields.php:419
     1534#: inc/settings/pageSettingsFields.php:1958 inc/wc/settings/pageSettingsFields.php:419
    17631535msgid "Nature code for non-EU company customers"
    17641536msgstr ""
     
    17661538#: inc/settings/pageSettingsFields.php:2009
    17671539msgid ""
    1768 "Select the order status (e.g., completed, processing, etc.) that should "
    1769 "trigger the automatic invoice submission to SDI. When an order reaches "
    1770 "the selected status, a cron job will be scheduled to automatically send "
    1771 "the invoice to the Italian Exchange System (SDI)."
     1540"Select the order status (e.g., completed, processing, etc.) that should trigger the automatic invoice "
     1541"submission to SDI. When an order reaches the selected status, a cron job will be scheduled to automatically "
     1542"send the invoice to the Italian Exchange System (SDI)."
    17721543msgstr ""
    17731544
    17741545#: inc/settings/pageSettingsFields.php:2011
    17751546msgid ""
    1776 "Specify how many hours should pass after the selected order status is "
    1777 "set before automatically sending the invoice to SDI. The value defines "
    1778 "the delay time, in hours, before the cron job for invoice submission is "
     1547"Specify how many hours should pass after the selected order status is set before automatically sending the "
     1548"invoice to SDI. The value defines the delay time, in hours, before the cron job for invoice submission is "
    17791549"triggered."
    17801550msgstr ""
     
    17821552#: inc/settings/pageSettingsFields.php:2014
    17831553msgid ""
    1784 "Select the order status (e.g., completed, processing, etc.) that should "
    1785 "trigger the automatic invoice submission via PEPPOL. When an order "
    1786 "reaches the selected status, a cron job will be scheduled to "
     1554"Select the order status (e.g., completed, processing, etc.) that should trigger the automatic invoice "
     1555"submission via PEPPOL. When an order reaches the selected status, a cron job will be scheduled to "
    17871556"automatically send the invoice through the PEPPOL network."
    17881557msgstr ""
     
    17901559#: inc/settings/pageSettingsFields.php:2016
    17911560msgid ""
    1792 "Specify how many hours should pass after the selected order status is "
    1793 "set before automatically sending the invoice via PEPPOL. The value "
    1794 "defines the delay time, in hours, before the cron job for invoice "
    1795 "submission through the PEPPOL network is triggered."
     1561"Specify how many hours should pass after the selected order status is set before automatically sending the "
     1562"invoice via PEPPOL. The value defines the delay time, in hours, before the cron job for invoice submission "
     1563"through the PEPPOL network is triggered."
    17961564msgstr ""
    17971565
     
    18001568msgstr ""
    18011569
    1802 #: inc/settings/pageSettingsFields.php:2030
    1803 #: inc/settings/pageSettingsFields.php:2138
     1570#: inc/settings/pageSettingsFields.php:2030 inc/settings/pageSettingsFields.php:2138
    18041571msgid "Automatic sending:"
    18051572msgstr ""
    18061573
    1807 #: inc/settings/pageSettingsFields.php:2031
    1808 #: inc/settings/pageSettingsFields.php:2139
     1574#: inc/settings/pageSettingsFields.php:2031 inc/settings/pageSettingsFields.php:2139
    18091575msgid "Enable automatic sending"
    18101576msgstr ""
    18111577
    1812 #: inc/settings/pageSettingsFields.php:2045
    1813 #: inc/settings/pageSettingsFields.php:2153
     1578#: inc/settings/pageSettingsFields.php:2045 inc/settings/pageSettingsFields.php:2153
    18141579msgid "Auto-send status:"
    18151580msgstr ""
    18161581
    1817 #: inc/settings/pageSettingsFields.php:2048
    1818 #: inc/settings/pageSettingsFields.php:2157
    1819 #: src/Admin/Settings/Fields/XmlOrdersList.php:189
    1820 #: src/Admin/XmlOrderListTable.php:486
     1582#: inc/settings/pageSettingsFields.php:2048 inc/settings/pageSettingsFields.php:2157
     1583#: src/Admin/Settings/Fields/XmlOrdersList.php:189 src/Admin/XmlOrderListTable.php:486
    18211584msgid "Completed"
    18221585msgstr ""
    18231586
    1824 #: inc/settings/pageSettingsFields.php:2049
    1825 #: inc/settings/pageSettingsFields.php:2158
    1826 #: src/Admin/Settings/Fields/XmlOrdersList.php:190
    1827 #: src/Admin/XmlOrderListTable.php:482
     1587#: inc/settings/pageSettingsFields.php:2049 inc/settings/pageSettingsFields.php:2158
     1588#: src/Admin/Settings/Fields/XmlOrdersList.php:190 src/Admin/XmlOrderListTable.php:482
    18281589msgid "Processing"
    18291590msgstr ""
    18301591
    1831 #: inc/settings/pageSettingsFields.php:2064
    1832 #: inc/settings/pageSettingsFields.php:2173
     1592#: inc/settings/pageSettingsFields.php:2064 inc/settings/pageSettingsFields.php:2173
    18331593msgid "Delay before sending (in hours)"
    18341594msgstr ""
     
    18481608#: inc/settings/pageSettingsFields.php:2122
    18491609msgid ""
    1850 "Copy the webhook id from your account > integrations > webhook and "
    1851 "enter the id you want to activate here."
     1610"Copy the webhook id from your account > integrations > webhook and enter the id you want to activate here."
    18521611msgstr ""
    18531612
    18541613#: inc/settings/pageSettingsFields.php:2154
    18551614msgid ""
    1856 "Select the order status (e.g. completed, processing, etc.) that should "
    1857 "trigger automatic sending of the xml invoice or JSON data. When an "
    1858 "order reaches the selected status, a cron job will be scheduled to "
     1615"Select the order status (e.g. completed, processing, etc.) that should trigger automatic sending of the xml "
     1616"invoice or JSON data. When an order reaches the selected status, a cron job will be scheduled to "
    18591617"automatically send to the webhook."
    18601618msgstr ""
     
    18621620#: inc/settings/pageSettingsFields.php:2174
    18631621msgid ""
    1864 "Specifies how many hours should elapse after the selected order status "
    1865 "is set before automatically sending data to the webhook. The value "
    1866 "defines the delay time, in hours, before the cron job is triggered to "
    1867 "send."
    1868 msgstr ""
    1869 
    1870 #: inc/settings/pageSettingsTabs.php:37
    1871 #: src/Admin/Settings/OptionPage.php:217
    1872 #: src/Admin/Settings/OptionPage.php:218
    1873 #: src/Admin/Settings/OptionPage.php:368
     1622"Specifies how many hours should elapse after the selected order status is set before automatically sending "
     1623"data to the webhook. The value defines the delay time, in hours, before the cron job is triggered to send."
     1624msgstr ""
     1625
     1626#: inc/settings/pageSettingsTabs.php:37 src/Admin/Settings/OptionPage.php:217
     1627#: src/Admin/Settings/OptionPage.php:218 src/Admin/Settings/OptionPage.php:368
    18741628msgid "General"
    18751629msgstr ""
    18761630
    1877 #: inc/settings/pageSettingsTabs.php:55
    1878 #: src/Admin/Settings/OptionPage.php:233
    1879 #: src/Admin/Settings/OptionPage.php:234
    1880 #: src/Admin/Settings/OptionPage.php:380
     1631#: inc/settings/pageSettingsTabs.php:55 src/Admin/Settings/OptionPage.php:233
     1632#: src/Admin/Settings/OptionPage.php:234 src/Admin/Settings/OptionPage.php:380
    18811633msgid "Numeration"
    18821634msgstr ""
    18831635
    1884 #: inc/settings/pageSettingsTabs.php:64
    1885 #: src/Admin/Settings/OptionPage.php:241
    1886 #: src/Admin/Settings/OptionPage.php:242
    1887 #: src/Admin/Settings/OptionPage.php:386
     1636#: inc/settings/pageSettingsTabs.php:64 src/Admin/Settings/OptionPage.php:241
     1637#: src/Admin/Settings/OptionPage.php:242 src/Admin/Settings/OptionPage.php:386
    18881638msgid "Documents"
    18891639msgstr ""
    18901640
    1891 #: inc/settings/pageSettingsTabs.php:73
    1892 #: src/Admin/Settings/OptionPage.php:249
    1893 #: src/Admin/Settings/OptionPage.php:250
    1894 #: src/Admin/Settings/OptionPage.php:392
     1641#: inc/settings/pageSettingsTabs.php:73 src/Admin/Settings/OptionPage.php:249
     1642#: src/Admin/Settings/OptionPage.php:250 src/Admin/Settings/OptionPage.php:392
    18951643msgid "Advanced"
    18961644msgstr ""
    18971645
    1898 #: inc/settings/pageSettingsTabs.php:82
    1899 #: src/Admin/Settings/OptionPage.php:257
    1900 #: src/Admin/Settings/OptionPage.php:258
    1901 #: src/Admin/Settings/OptionPage.php:398
     1646#: inc/settings/pageSettingsTabs.php:82 src/Admin/Settings/OptionPage.php:257
     1647#: src/Admin/Settings/OptionPage.php:258 src/Admin/Settings/OptionPage.php:398
    19021648msgid "Invoices"
    19031649msgstr ""
    19041650
    1905 #: inc/settings/pageSettingsTabs.php:92
    1906 #: src/Admin/Settings/OptionPage.php:292
    1907 #: src/Admin/Settings/OptionPage.php:293
    1908 #: src/Admin/Settings/OptionPage.php:427
     1651#: inc/settings/pageSettingsTabs.php:92 src/Admin/Settings/OptionPage.php:292
     1652#: src/Admin/Settings/OptionPage.php:293 src/Admin/Settings/OptionPage.php:427
    19091653msgid "Integrations"
    19101654msgstr ""
    19111655
    1912 #: inc/settings/pageSettingsTabs.php:126
    1913 #: src/Admin/Settings/OptionPage.php:303
    1914 #: src/Admin/Settings/OptionPage.php:304
    1915 #: src/Admin/Settings/OptionPage.php:436
     1656#: inc/settings/pageSettingsTabs.php:126 src/Admin/Settings/OptionPage.php:303
     1657#: src/Admin/Settings/OptionPage.php:304 src/Admin/Settings/OptionPage.php:436
    19161658msgid "Wizard setup"
    19171659msgstr ""
     
    19511693#: inc/wc/metabox/productDataArgs.php:68
    19521694msgid ""
    1953 "Activate the product as a gift. the product must have cost and tax "
    1954 "(zero) to have an N2.2 nature on the invoice."
     1695"Activate the product as a gift. the product must have cost and tax (zero) to have an N2.2 nature on the "
     1696"invoice."
    19551697msgstr ""
    19561698
     
    19721714
    19731715#: inc/wc/nature-es.php:35
    1974 msgid ""
    1975 "LIVA_8 - Exempt operations under Article 8 LIVA (exemptions for "
    1976 "healthcare and education services)"
     1716msgid "LIVA_8 - Exempt operations under Article 8 LIVA (exemptions for healthcare and education services)"
    19771717msgstr ""
    19781718
     
    19821722
    19831723#: inc/wc/nature-es.php:38
    1984 msgid ""
    1985 "LIVA_11 - Exempt under Article 11 LIVA (international transportation "
    1986 "services)"
     1724msgid "LIVA_11 - Exempt under Article 11 LIVA (international transportation services)"
    19871725msgstr ""
    19881726
    19891727#: inc/wc/nature-es.php:40
    1990 msgid ""
    1991 "LIVA_17 - Reverse charge under Article 17 LIVA (construction services)"
     1728msgid "LIVA_17 - Reverse charge under Article 17 LIVA (construction services)"
    19921729msgstr ""
    19931730
    19941731#: inc/wc/nature-es.php:42
    1995 msgid ""
    1996 "LIVA_20 - Exempt operations under Article 20 LIVA (operations excluded "
    1997 "from VAT)"
     1732msgid "LIVA_20 - Exempt operations under Article 20 LIVA (operations excluded from VAT)"
    19981733msgstr ""
    19991734
     
    20431778
    20441779#: inc/wc/nature.php:41
    2045 msgid ""
    2046 "N2.2 - Regime fiscale di vantaggio ex art. 1, commi 96-117, legge "
    2047 "24/12/2007 n. 244"
     1780msgid "N2.2 - Regime fiscale di vantaggio ex art. 1, commi 96-117, legge 24/12/2007 n. 244"
    20481781msgstr ""
    20491782
     
    20571790
    20581791#: inc/wc/nature.php:45
    2059 msgid ""
    2060 "N2.2 - Non soggetta art. 1/54-89 L. 190/2014 e succ. modifiche/"
    2061 "integrazioni"
     1792msgid "N2.2 - Non soggetta art. 1/54-89 L. 190/2014 e succ. modifiche/integrazioni"
    20621793msgstr ""
    20631794
     
    21841915
    21851916#: inc/wc/settings/pageSettingsFields.php:127
    2186 msgid ""
    2187 "Show Product Title and Description on invoices (default title only)"
     1917msgid "Show Product Title and Description on invoices (default title only)"
    21881918msgstr ""
    21891919
     
    22261956
    22271957#: inc/wc/settings/pageSettingsFields.php:258
    2228 msgid ""
    2229 "NB: Activate the VIES validation to activate the reverse charge "
    2230 "functionality"
     1958msgid "NB: Activate the VIES validation to activate the reverse charge functionality"
    22311959msgstr ""
    22321960
     
    22361964
    22371965#: inc/wc/settings/pageSettingsFields.php:272
    2238 msgid ""
    2239 "(*) Enable Taxes in WooCommerce to enable tax class selection for "
    2240 "reverse charge."
     1966msgid "(*) Enable Taxes in WooCommerce to enable tax class selection for reverse charge."
    22411967msgstr ""
    22421968
    22431969#: inc/wc/settings/pageSettingsFields.php:275
    2244 msgid ""
    2245 "Select zero rate tax classes for (Reverse charge) - usually \"Zero "
    2246 "rate\""
     1970msgid "Select zero rate tax classes for (Reverse charge) - usually \"Zero rate\""
    22471971msgstr ""
    22481972
     
    22601984
    22611985#: inc/wc/taxRegime.php:37
    2262 msgid ""
    2263 "Agriculture and related activities and fishing (artt.34 and 34-bis, DPR "
    2264 "633/72)"
     1986msgid "Agriculture and related activities and fishing (artt.34 and 34-bis, DPR 633/72)"
    22651987msgstr ""
    22661988
     
    22822004
    22832005#: inc/wc/taxRegime.php:43
    2284 msgid ""
    2285 "Resale of public transportation and parking documents (art.74, c.1, DPR "
    2286 "633/72)"
     2006msgid "Resale of public transportation and parking documents (art.74, c.1, DPR 633/72)"
    22872007msgstr ""
    22882008
    22892009#: inc/wc/taxRegime.php:45
    22902010msgid ""
    2291 "Entertainment, games, and other activities as per the tariff attached "
    2292 "to DPR 640/72 (art.74, c.6, DPR 633/72)"
     2011"Entertainment, games, and other activities as per the tariff attached to DPR 640/72 (art.74, c.6, DPR 633/72)"
    22932012msgstr ""
    22942013
     
    23062025
    23072026#: inc/wc/taxRegime.php:50
    2308 msgid ""
    2309 "Resale of used goods, art objects, antiques, or collectibles (art.36, "
    2310 "DL 41/95)"
     2027msgid "Resale of used goods, art objects, antiques, or collectibles (art.36, DL 41/95)"
    23112028msgstr ""
    23122029
    23132030#: inc/wc/taxRegime.php:52
    2314 msgid ""
    2315 "Art auction sales agencies for art objects, antiques, or collectibles "
    2316 "(art.40-bis, DL 41/95)"
     2031msgid "Art auction sales agencies for art objects, antiques, or collectibles (art.40-bis, DL 41/95)"
    23172032msgstr ""
    23182033
     
    23862101
    23872102#: inc/wizard.php:34
    2388 msgid ""
    2389 "The data configuration has been completed. You will shortly be "
    2390 "redirected to the 'General' section."
     2103msgid "The data configuration has been completed. You will shortly be redirected to the 'General' section."
    23912104msgstr ""
    23922105
     
    24272140msgstr ""
    24282141
    2429 #: src/Admin/Settings/Fields/XmlOrdersList.php:154
    2430 #: src/Admin/XmlOrderListTable.php:259
     2142#: src/Admin/Settings/Fields/XmlOrdersList.php:154 src/Admin/XmlOrderListTable.php:259
    24312143#: src/WooCommerce/Fields/InvoiceFields.php:571
    24322144msgid "Mark as Sent"
     
    24412153msgstr ""
    24422154
    2443 #: src/Admin/Settings/Fields/XmlOrdersList.php:191
    2444 #: src/Admin/XmlOrderListTable.php:490 src/Admin/XmlOrderListTable.php:621
     2155#: src/Admin/Settings/Fields/XmlOrdersList.php:191 src/Admin/XmlOrderListTable.php:490
     2156#: src/Admin/XmlOrderListTable.php:621
    24452157msgid "Refunded"
    24462158msgstr ""
     
    24792191
    24802192#: src/Admin/Settings/Fields/XmlOrdersList.php:331
    2481 msgid ""
    2482 "The display of all xml is disabled. First filter orders by user and / "
    2483 "or dates."
     2193msgid "The display of all xml is disabled. First filter orders by user and / or dates."
    24842194msgstr ""
    24852195
     
    25252235
    25262236#: src/Admin/Settings/OptionFields.php:134
    2527 msgid ""
    2528 "Per i clienti con residenza in Italia (IT), i seguenti campi sono "
    2529 "sempre obbligatori:"
     2237msgid "Per i clienti con residenza in Italia (IT), i seguenti campi sono sempre obbligatori:"
    25302238msgstr ""
    25312239
    25322240#: src/Admin/Settings/OptionFields.php:135
    25332241msgid ""
    2534 "Azienda o Persona Fisica titolare di Partita IVA → Partita IVA, Codice "
    2535 "Fiscale, PEC, Codice Destinatario."
     2242"Azienda o Persona Fisica titolare di Partita IVA → Partita IVA, Codice Fiscale, PEC, Codice Destinatario."
    25362243msgstr ""
    25372244
     
    25522259msgstr ""
    25532260
    2554 #: src/Admin/Settings/OptionPage.php:206
    2555 #: src/Admin/Settings/OptionPage.php:918
     2261#: src/Admin/Settings/OptionPage.php:206 src/Admin/Settings/OptionPage.php:918
    25562262msgid "POP"
    25572263msgstr ""
    25582264
    2559 #: src/Admin/Settings/OptionPage.php:282
    2560 #: src/Admin/Settings/OptionPage.php:283
     2265#: src/Admin/Settings/OptionPage.php:282 src/Admin/Settings/OptionPage.php:283
    25612266#: src/Admin/Settings/OptionPage.php:419
    25622267msgid "Add-on"
     
    25732278#: src/Admin/Settings/OptionPage.php:875
    25742279msgid ""
    2575 "Some fields on this page have been disabled because you can now manage "
    2576 "them from your account on Fatture in Cloud."
     2280"Some fields on this page have been disabled because you can now manage them from your account on Fatture in "
     2281"Cloud."
    25772282msgstr ""
    25782283
    25792284#: src/Admin/Settings/OptionPage.php:925
    2580 msgid ""
    2581 "POP 4.0.0 made some changes that require PHP 7.4. it is recommended to "
    2582 "update the PHP version."
     2285msgid "POP 4.0.0 made some changes that require PHP 7.4. it is recommended to update the PHP version."
    25832286msgstr ""
    25842287
     
    26002303msgstr ""
    26012304
    2602 #: src/Admin/Settings/TableFields.php:628
    2603 #: src/Admin/Settings/TableFields.php:700
     2305#: src/Admin/Settings/TableFields.php:628 src/Admin/Settings/TableFields.php:700
    26042306msgid "Day(s)"
    26052307msgstr ""
    26062308
    2607 #: src/Admin/Settings/TableFields.php:629
    2608 #: src/Admin/Settings/TableFields.php:701
     2309#: src/Admin/Settings/TableFields.php:629 src/Admin/Settings/TableFields.php:701
    26092310msgid "Week(s)"
    26102311msgstr ""
    26112312
    2612 #: src/Admin/Settings/TableFields.php:630
    2613 #: src/Admin/Settings/TableFields.php:702
     2313#: src/Admin/Settings/TableFields.php:630 src/Admin/Settings/TableFields.php:702
    26142314msgid "Month(s)"
    26152315msgstr ""
    26162316
    2617 #: src/Admin/Settings/TableFields.php:631
    2618 #: src/Admin/Settings/TableFields.php:703
     2317#: src/Admin/Settings/TableFields.php:631 src/Admin/Settings/TableFields.php:703
    26192318msgid "Year(s)"
    26202319msgstr ""
     
    26282327msgstr ""
    26292328
    2630 #: src/Admin/XmlOrderListTable.php:218 src/Admin/XmlOrderListTable.php:841
    2631 #: src/Admin/XmlOrderListTable.php:857
    2632 #: src/WooCommerce/Fields/InvoiceFields.php:532
    2633 #: src/WooCommerce/Fields/InvoiceFields.php:888
     2329#: src/Admin/XmlOrderListTable.php:218 src/Admin/XmlOrderListTable.php:841 src/Admin/XmlOrderListTable.php:857
     2330#: src/WooCommerce/Fields/InvoiceFields.php:532 src/WooCommerce/Fields/InvoiceFields.php:888
    26342331#: src/WooCommerce/Fields/InvoiceFields.php:904
    26352332msgctxt "invoice_choice"
     
    26412338msgstr ""
    26422339
    2643 #: src/Admin/XmlOrderListTable.php:244
    2644 #: src/WooCommerce/Fields/InvoiceFields.php:556
     2340#: src/Admin/XmlOrderListTable.php:244 src/WooCommerce/Fields/InvoiceFields.php:556
    26452341msgid "Undo"
    26462342msgstr ""
    26472343
    26482344#: src/Admin/XmlOrderListTable.php:259 src/Admin/XmlOrderListTable.php:319
    2649 #: src/WooCommerce/Fields/InvoiceFields.php:571
    2650 #: src/WooCommerce/Fields/InvoiceFields.php:631
     2345#: src/WooCommerce/Fields/InvoiceFields.php:571 src/WooCommerce/Fields/InvoiceFields.php:631
    26512346msgid "Disabled"
    26522347msgstr ""
    26532348
    2654 #: src/Admin/XmlOrderListTable.php:279
    2655 #: src/WooCommerce/Fields/InvoiceFields.php:591
     2349#: src/Admin/XmlOrderListTable.php:279 src/WooCommerce/Fields/InvoiceFields.php:591
    26562350msgid "Get XML"
    26572351msgstr ""
    26582352
    2659 #: src/Admin/XmlOrderListTable.php:298
    2660 #: src/WooCommerce/Fields/InvoiceFields.php:610
     2353#: src/Admin/XmlOrderListTable.php:298 src/WooCommerce/Fields/InvoiceFields.php:610
    26612354msgid "View XML"
    26622355msgstr ""
    26632356
    2664 #: src/Admin/XmlOrderListTable.php:318
    2665 #: src/WooCommerce/Fields/InvoiceFields.php:630
     2357#: src/Admin/XmlOrderListTable.php:318 src/WooCommerce/Fields/InvoiceFields.php:630
    26662358msgid "Save XML"
    26672359msgstr ""
    26682360
    2669 #: src/Admin/XmlOrderListTable.php:338
    2670 #: src/WooCommerce/Fields/InvoiceFields.php:650
     2361#: src/Admin/XmlOrderListTable.php:338 src/WooCommerce/Fields/InvoiceFields.php:650
    26712362msgid "View PDF"
    26722363msgstr ""
     
    26802371msgstr ""
    26812372
    2682 #: src/Admin/XmlOrderListTable.php:435
    2683 #: src/Admin/XmlOrderListTable.php:2031
    2684 #: src/WooCommerce/Providers/Order.php:133
    2685 #: src/WooCommerce/Providers/OrderRefund.php:122 src/Xml/BuildXml.php:179
     2373#: src/Admin/XmlOrderListTable.php:435 src/Admin/XmlOrderListTable.php:2031
     2374#: src/WooCommerce/Providers/Order.php:133 src/WooCommerce/Providers/OrderRefund.php:122
     2375#: src/Xml/BuildXml.php:179
    26862376msgid "Order"
    26872377msgstr ""
    26882378
    2689 #: src/Admin/XmlOrderListTable.php:438
    2690 #: src/WooCommerce/Fields/InvoiceFields.php:1178
    2691 #: src/WooCommerce/Providers/Order.php:131
    2692 #: src/WooCommerce/Providers/OrderRefund.php:120
     2379#: src/Admin/XmlOrderListTable.php:438 src/WooCommerce/Fields/InvoiceFields.php:1178
     2380#: src/WooCommerce/Providers/Order.php:131 src/WooCommerce/Providers/OrderRefund.php:120
    26932381msgid "Refund"
    26942382msgstr ""
     
    27142402msgstr ""
    27152403
    2716 #: src/Admin/XmlOrderListTable.php:532
    2717 #: src/WooCommerce/Fields/InvoiceFields.php:328
     2404#: src/Admin/XmlOrderListTable.php:532 src/WooCommerce/Fields/InvoiceFields.php:328
    27182405msgid "Operation's Nature"
    27192406msgstr ""
    27202407
    2721 #: src/Admin/XmlOrderListTable.php:538
    2722 #: src/WooCommerce/Fields/InvoiceFields.php:335
     2408#: src/Admin/XmlOrderListTable.php:538 src/WooCommerce/Fields/InvoiceFields.php:335
    27232409msgid "Regulatory Reference"
    27242410msgstr ""
     
    27612447#, php-format
    27622448msgid ""
    2763 "<span class=\"dashicons dashicons-warning\"></span> <b>%1$s documents</"
    2764 "b> were detected as not present in the cache. They will be generated "
    2765 "automatically during the bulk XML file download, consuming <b>%1$s "
     2449"<span class=\"dashicons dashicons-warning\"></span> <b>%1$s documents</b> were detected as not present in "
     2450"the cache. They will be generated automatically during the bulk XML file download, consuming <b>%1$s "
    27662451"credits</b>."
    27672452msgstr ""
     
    27752460msgstr ""
    27762461
    2777 #: src/Admin/XmlOrderListTable.php:2033
    2778 #: src/WooCommerce/Fields/InvoiceFields.php:1001
     2462#: src/Admin/XmlOrderListTable.php:2033 src/WooCommerce/Fields/InvoiceFields.php:1001
    27792463#: src/WooCommerce/Fields/InvoiceFields.php:1182
    27802464msgid "Number"
     
    27972481msgstr ""
    27982482
    2799 #: src/Admin/XmlOrderListTable.php:2038 src/Functions/Webhooks.php:121
    2800 #: src/InvoiceApi.php:348 src/PeppolApi.php:246
     2483#: src/Admin/XmlOrderListTable.php:2038 src/Functions/Webhooks.php:121 src/InvoiceApi.php:348
     2484#: src/PeppolApi.php:246
    28012485msgid "Sent"
    28022486msgstr ""
     
    28242508
    28252509#: src/Connection.php:105
    2826 msgid ""
    2827 "You need an account to begin using POP. Click the button to start the "
    2828 "account configuration wizard."
     2510msgid "You need an account to begin using POP. Click the button to start the account configuration wizard."
    28292511msgstr ""
    28302512
     
    28362518#, php-format
    28372519msgid ""
    2838 "To start generating electronic invoices (XML and PDF) using our plugin, "
    2839 "you need to create an account on %s.\n"
    2840 "\t\t\t\tWe’ve integrated a handy setup wizard directly into the plugin "
    2841 "to guide you through the account creation process:\n"
     2520"To start generating electronic invoices (XML and PDF) using our plugin, you need to create an account on "
     2521"%s.\n"
     2522"\t\t\t\tWe’ve integrated a handy setup wizard directly into the plugin to guide you through the account "
     2523"creation process:\n"
    28422524"\t\t\t\t1. Log in to your WordPress site.\n"
    2843 "\t\t\t\t2. Go to the “General” section of the plugin and click on "
    2844 "“Configure Account”, or navigate to the “Wizard Setup” section.\n"
     2525"\t\t\t\t2. Go to the “General” section of the plugin and click on “Configure Account”, or navigate to the "
     2526"“Wizard Setup” section.\n"
    28452527"\t\t\t\t3. Follow the wizard to complete the registration.\n"
    2846 "\t\t\t\tOnce the setup is complete, you’ll be able to generate "
    2847 "electronic invoices without issues!\n"
    2848 "\t\t\t\tFor support inquiries, feel free to contact us at "
    2849 "support@popapi.io.\n"
     2528"\t\t\t\tOnce the setup is complete, you’ll be able to generate electronic invoices without issues!\n"
     2529"\t\t\t\tFor support inquiries, feel free to contact us at support@popapi.io.\n"
    28502530"\t\t\t\tThank you for choosing POP,\n"
    28512531"\t\t\t\tThe POP Team\n"
     
    28612541msgstr ""
    28622542
    2863 #: src/Functions/Utils.php:262 src/Sanitize/Text.php:72
    2864 #: src/Sanitize/Text.php:93
     2543#: src/Functions/Utils.php:262 src/Sanitize/Text.php:72 src/Sanitize/Text.php:93
    28652544msgid "Input is not a string: "
    28662545msgstr ""
     
    28702549msgstr ""
    28712550
    2872 #: src/Functions/Utils.php:275 src/Sanitize/Arrays.php:72
    2873 #: src/Sanitize/Arrays.php:102
     2551#: src/Functions/Utils.php:275 src/Sanitize/Arrays.php:72 src/Sanitize/Arrays.php:102
    28742552msgid "Input is not an array: "
    28752553msgstr ""
    28762554
    28772555#: src/Functions/Utils.php:682
    2878 msgid ""
    2879 "POP – Electronic Invoices & Legal Documents Generator for eCommerce (ex-"
    2880 "POP)"
     2556msgid "POP – Electronic Invoices & Legal Documents Generator for eCommerce (ex-POP)"
    28812557msgstr ""
    28822558
    28832559#: src/Functions/Utils.php:685
    2884 msgid ""
    2885 "Warning: there is no active provider, the plugin needs a provider to "
    2886 "work."
    2887 msgstr ""
    2888 
    2889 #: src/Functions/Utils.php:822 src/Functions/Utils.php:828
    2890 #: src/Functions/Utils.php:862
     2560msgid "Warning: there is no active provider, the plugin needs a provider to work."
     2561msgstr ""
     2562
     2563#: src/Functions/Utils.php:822 src/Functions/Utils.php:828 src/Functions/Utils.php:862
    28912564#: src/WooCommerce/Fields/InvoiceFields.php:1294
    28922565msgid "Cash"
    28932566msgstr ""
    28942567
    2895 #: src/Functions/Utils.php:831
    2896 #: src/WooCommerce/Fields/InvoiceFields.php:1295
     2568#: src/Functions/Utils.php:831 src/WooCommerce/Fields/InvoiceFields.php:1295
    28972569msgid "Bank cheque"
    28982570msgstr ""
    28992571
    2900 #: src/Functions/Utils.php:834
    2901 #: src/WooCommerce/Fields/InvoiceFields.php:1296
     2572#: src/Functions/Utils.php:834 src/WooCommerce/Fields/InvoiceFields.php:1296
    29022573msgid "Circular check"
    29032574msgstr ""
    29042575
    2905 #: src/Functions/Utils.php:837
    2906 #: src/WooCommerce/Fields/InvoiceFields.php:1297
     2576#: src/Functions/Utils.php:837 src/WooCommerce/Fields/InvoiceFields.php:1297
    29072577msgid "Wire transfer"
    29082578msgstr ""
     
    29172587
    29182588#: src/Functions/Utils.php:1785
    2919 msgid ""
    2920 "You can apply custom rewrite or protection rules directly in the server "
    2921 "configuration file."
     2589msgid "You can apply custom rewrite or protection rules directly in the server configuration file."
    29222590msgstr ""
    29232591
     
    29332601#: src/Functions/Utils.php:1952
    29342602msgctxt "review notice"
    2935 msgid ""
    2936 "Your review helps improve POP and guide others in choosing the right "
    2937 "plugin."
     2603msgid "Your review helps improve POP and guide others in choosing the right plugin."
    29382604msgstr ""
    29392605
     
    29582624msgstr ""
    29592625
    2960 #: src/Functions/Utils.php:2051 src/Pdf/CreatePdf.php:349
    2961 #: src/Xml/BuildXml.php:871 src/Xml/CreateXml.php:1615
     2626#: src/Functions/Utils.php:2051 src/Pdf/CreatePdf.php:349 src/Xml/BuildXml.php:871 src/Xml/CreateXml.php:1615
    29622627#: src/Xml/CreateXml.php:2023
    29632628msgid ""
    2964 "The directory is not writable even after attempting to change "
    2965 "permissions. Please check server settings."
     2629"The directory is not writable even after attempting to change permissions. Please check server settings."
    29662630msgstr ""
    29672631
     
    29742638msgstr ""
    29752639
    2976 #: src/Functions/Webhooks.php:158 src/InvoiceApi.php:448
    2977 #: src/InvoiceApi.php:632 src/InvoiceApi.php:966 src/PeppolApi.php:326
     2640#: src/Functions/Webhooks.php:158 src/InvoiceApi.php:448 src/InvoiceApi.php:632 src/InvoiceApi.php:966
     2641#: src/PeppolApi.php:326
    29782642msgid "Action not allowed."
    29792643msgstr ""
    29802644
    2981 #: src/Functions/Webhooks.php:170 src/InvoiceApi.php:460
    2982 #: src/InvoiceApi.php:644 src/InvoiceApi.php:978 src/PeppolApi.php:338
     2645#: src/Functions/Webhooks.php:170 src/InvoiceApi.php:460 src/InvoiceApi.php:644 src/InvoiceApi.php:978
     2646#: src/PeppolApi.php:338
    29832647msgid "Action not valid."
    29842648msgstr ""
     
    29862650#: src/Functions/Webhooks.php:199
    29872651#, php-format
    2988 msgid ""
    2989 "Invalid action: Webhook has already been sent, please delete \"%s\" "
    2990 "data to resend"
     2652msgid "Invalid action: Webhook has already been sent, please delete \"%s\" data to resend"
    29912653msgstr ""
    29922654
     
    30122674
    30132675#: src/InvoiceApi.php:506
    3014 msgid ""
    3015 "createAndSendInvoice > check json response: Invalid response from the "
    3016 "XML generator."
     2676msgid "createAndSendInvoice > check json response: Invalid response from the XML generator."
    30172677msgstr ""
    30182678
    30192679#: src/InvoiceApi.php:525
    3020 msgid ""
    3021 "createAndSendInvoice > check json property: Invalid response from the "
    3022 "XML generator."
     2680msgid "createAndSendInvoice > check json property: Invalid response from the XML generator."
    30232681msgstr ""
    30242682
    30252683#: src/InvoiceApi.php:541
    3026 msgid ""
    3027 "createAndSendInvoice > check success: Invalid response from the XML "
    3028 "generator."
     2684msgid "createAndSendInvoice > check success: Invalid response from the XML generator."
    30292685msgstr ""
    30302686
     
    30342690
    30352691#: src/InvoiceApi.php:674
    3036 msgid ""
    3037 "notificationsInvoice - check notifications for uuid: Exist "
    3038 "notifications for uuid"
     2692msgid "notificationsInvoice - check notifications for uuid: Exist notifications for uuid"
    30392693msgstr ""
    30402694
     
    30482702
    30492703#: src/InvoiceApi.php:749
    3050 msgid ""
    3051 "The invoice was rejected by the Interchange System (SDI) which returned "
    3052 "a specific error code."
     2704msgid "The invoice was rejected by the Interchange System (SDI) which returned a specific error code."
    30532705msgstr ""
    30542706
     
    30672719#: src/InvoiceApi.php:767
    30682720msgid ""
    3069 "The invoice delivery by the Exchange System (SDI) was not successful. "
    3070 "No further delivery attempts will be made."
     2721"The invoice delivery by the Exchange System (SDI) was not successful. No further delivery attempts will be "
     2722"made."
    30712723msgstr ""
    30722724
    30732725#: src/InvoiceApi.php:771
    30742726msgid ""
    3075 "The invoice was delivered by the Interchange System (SDI) but the "
    3076 "customer did not send any response within 15 days of delivery."
     2727"The invoice was delivered by the Interchange System (SDI) but the customer did not send any response within "
     2728"15 days of delivery."
    30772729msgstr ""
    30782730
    30792731#: src/InvoiceApi.php:776
    3080 msgid ""
    3081 "The customer has accepted the invoice delivered by the Interchange "
    3082 "System (SDI)."
     2732msgid "The customer has accepted the invoice delivered by the Interchange System (SDI)."
    30832733msgstr ""
    30842734
    30852735#: src/InvoiceApi.php:780
    3086 msgid ""
    3087 "The customer refused the invoice delivered by the Interchange System "
    3088 "(SDI)."
     2736msgid "The customer refused the invoice delivered by the Interchange System (SDI)."
    30892737msgstr ""
    30902738
     
    30982746msgid ""
    30992747"Hi,\n"
    3100 "\t\t\t\t\tThe invoice for the order with ID %s has received a rejection "
    3101 "notification from the SDI.\n"
    3102 "\t\t\t\t\tWe recommend that you access the management area to check the "
    3103 "rejection details and, if necessary, proceed with the correction and "
    3104 "resending of the document."
     2748"\t\t\t\t\tThe invoice for the order with ID %s has received a rejection notification from the SDI.\n"
     2749"\t\t\t\t\tWe recommend that you access the management area to check the rejection details and, if necessary, "
     2750"proceed with the correction and resending of the document."
    31052751msgstr ""
    31062752
     
    31102756
    31112757#: src/Pdf/CreatePdf.php:304
    3112 msgid ""
    3113 "Error in generating the PDF, download it from your reserved area, or "
    3114 "ask the seller for it"
     2758msgid "Error in generating the PDF, download it from your reserved area, or ask the seller for it"
    31152759msgstr ""
    31162760
    31172761#: src/Pdf/CreatePdf.php:415
    3118 msgid ""
    3119 "ERROR: you can not view the PDF for security and privacy issues. To "
    3120 "view it you must be logged in"
     2762msgid "ERROR: you can not view the PDF for security and privacy issues. To view it you must be logged in"
    31212763msgstr ""
    31222764
     
    31272769#: src/PeppolApi.php:259
    31282770msgid ""
    3129 "UBL invoices can only be generated for business customers with a valid "
    3130 "VAT number. Private customers are not eligible for UBL invoicing."
     2771"UBL invoices can only be generated for business customers with a valid VAT number. Private customers are not "
     2772"eligible for UBL invoicing."
    31312773msgstr ""
    31322774
     
    31362778
    31372779#: src/PeppolApi.php:384
    3138 msgid ""
    3139 "createAndSendUblInvoice - check json response: Invalid response from "
    3140 "the XML generator."
     2780msgid "createAndSendUblInvoice - check json response: Invalid response from the XML generator."
    31412781msgstr ""
    31422782
    31432783#: src/PeppolApi.php:403
    3144 msgid ""
    3145 "createAndSendUblInvoice - check json property: Invalid response from "
    3146 "the XML generator."
     2784msgid "createAndSendUblInvoice - check json property: Invalid response from the XML generator."
    31472785msgstr ""
    31482786
    31492787#: src/PeppolApi.php:418
    3150 msgid ""
    3151 "createAndSendUblInvoice - check success: Invalid response from the XML "
    3152 "generator."
     2788msgid "createAndSendUblInvoice - check success: Invalid response from the XML generator."
    31532789msgstr ""
    31542790
     
    32412877msgstr ""
    32422878
    3243 #: src/Utils/Countries.php:1075 src/Utils/Countries.php:1389
    3244 #: src/Utils/Countries.php:1404 src/Utils/Countries.php:1656
    3245 #: src/Utils/Countries.php:1799
     2879#: src/Utils/Countries.php:1075 src/Utils/Countries.php:1389 src/Utils/Countries.php:1404
     2880#: src/Utils/Countries.php:1656 src/Utils/Countries.php:1799
    32462881msgid "County"
    32472882msgstr ""
    32482883
    3249 #: src/Utils/Countries.php:1084 src/Utils/Countries.php:1192
    3250 #: src/Utils/Countries.php:1219 src/Utils/Countries.php:1232
    3251 #: src/Utils/Countries.php:1270 src/Utils/Countries.php:1275
    3252 #: src/Utils/Countries.php:1395 src/Utils/Countries.php:1459
    3253 #: src/Utils/Countries.php:1561 src/Utils/Countries.php:1616
    3254 #: src/Utils/Countries.php:1721 src/Utils/Countries.php:1764
     2884#: src/Utils/Countries.php:1084 src/Utils/Countries.php:1192 src/Utils/Countries.php:1219
     2885#: src/Utils/Countries.php:1232 src/Utils/Countries.php:1270 src/Utils/Countries.php:1275
     2886#: src/Utils/Countries.php:1395 src/Utils/Countries.php:1459 src/Utils/Countries.php:1561
     2887#: src/Utils/Countries.php:1616 src/Utils/Countries.php:1721 src/Utils/Countries.php:1764
    32552888#: src/Utils/Countries.php:1841
    32562889msgid "Province"
     
    32612894msgstr ""
    32622895
    3263 #: src/Utils/Countries.php:1101 src/Utils/Countries.php:1580
    3264 #: src/Utils/Countries.php:1590 src/Utils/Countries.php:1796
     2896#: src/Utils/Countries.php:1101 src/Utils/Countries.php:1580 src/Utils/Countries.php:1590
     2897#: src/Utils/Countries.php:1796
    32652898msgid "Postcode"
    32662899msgstr ""
    32672900
    3268 #: src/Utils/Countries.php:1104 src/Utils/Countries.php:1436
    3269 #: src/Utils/Countries.php:1585 src/Utils/Countries.php:1786
    3270 #: src/Xml/BuildXml.php:189
     2901#: src/Utils/Countries.php:1104 src/Utils/Countries.php:1436 src/Utils/Countries.php:1585
     2902#: src/Utils/Countries.php:1786 src/Xml/BuildXml.php:189
    32712903msgid "State"
    32722904msgstr ""
     
    32762908msgstr ""
    32772909
    3278 #: src/Utils/Countries.php:1131 src/Utils/Countries.php:1668
    3279 #: src/Utils/Countries.php:1777 src/Utils/Countries.php:1809
     2910#: src/Utils/Countries.php:1131 src/Utils/Countries.php:1668 src/Utils/Countries.php:1777
     2911#: src/Utils/Countries.php:1809
    32802912msgid "District"
    32812913msgstr ""
    32822914
    3283 #: src/Utils/Countries.php:1169 src/Utils/Countries.php:1227
    3284 #: src/Utils/Countries.php:1347 src/Utils/Countries.php:1363
    3285 #: src/Utils/Countries.php:1566 src/Utils/Countries.php:1645
     2915#: src/Utils/Countries.php:1169 src/Utils/Countries.php:1227 src/Utils/Countries.php:1347
     2916#: src/Utils/Countries.php:1363 src/Utils/Countries.php:1566 src/Utils/Countries.php:1645
    32862917#: src/Utils/Countries.php:1713 src/Utils/Countries.php:1791
    32872918msgid "Department"
     
    32922923msgstr ""
    32932924
    3294 #: src/Utils/Countries.php:1214 src/Utils/Countries.php:1322
    3295 #: src/Utils/Countries.php:1358 src/Utils/Countries.php:1594
     2925#: src/Utils/Countries.php:1214 src/Utils/Countries.php:1322 src/Utils/Countries.php:1358
     2926#: src/Utils/Countries.php:1594
    32962927msgid "Region"
    32972928msgstr ""
    32982929
    3299 #: src/Utils/Countries.php:1314 src/Utils/Countries.php:1472
    3300 #: src/Utils/Countries.php:1510
     2930#: src/Utils/Countries.php:1314 src/Utils/Countries.php:1472 src/Utils/Countries.php:1510
    33012931msgid "Parish"
    33022932msgstr ""
     
    34473077
    34483078#: src/WooCommerce/Emails/InvoicePdfCompletedOrder.php:252
    3449 msgid ""
    3450 "Receive this email from the site {site_title}. Attached is the PDF "
    3451 "invoice for order #{order_number}"
     3079msgid "Receive this email from the site {site_title}. Attached is the PDF invoice for order #{order_number}"
    34523080msgstr ""
    34533081
     
    34813109
    34823110#: src/WooCommerce/Emails/InvoiceXmlCompletedOrder.php:258
    3483 msgid ""
    3484 "Receive this email from the site {site_title}. Attached is the XML "
    3485 "invoice for order #{order_number}"
     3111msgid "Receive this email from the site {site_title}. Attached is the XML invoice for order #{order_number}"
    34863112msgstr ""
    34873113
     
    35033129
    35043130#: src/WooCommerce/Emails/ReceiptPdfCompletedOrder.php:246
    3505 msgid ""
    3506 "Receive this email from the site {site_title}. Attached is the PDF "
    3507 "receipt for order #{order_number}"
     3131msgid "Receive this email from the site {site_title}. Attached is the PDF receipt for order #{order_number}"
    35083132msgstr ""
    35093133
     
    35123136msgstr ""
    35133137
    3514 #: src/WooCommerce/Fields/GeneralFields.php:621
    3515 #: src/WooCommerce/Fields/InvoiceFields.php:2602
    3516 #: src/WooCommerce/Fields/InvoiceFields.php:2699
    3517 #: src/WooCommerce/Fields/InvoiceFields.php:3132
    3518 #: src/WooCommerce/Fields/InvoiceFields.php:3241
    3519 #: src/WooCommerce/Fields/InvoiceFields.php:3514
     3138#: src/WooCommerce/Fields/GeneralFields.php:621 src/WooCommerce/Fields/InvoiceFields.php:2602
     3139#: src/WooCommerce/Fields/InvoiceFields.php:2699 src/WooCommerce/Fields/InvoiceFields.php:3132
     3140#: src/WooCommerce/Fields/InvoiceFields.php:3241 src/WooCommerce/Fields/InvoiceFields.php:3514
    35203141#: src/WooCommerce/Fields/InvoiceFields.php:3613
    35213142#, php-format
     
    35553176msgstr ""
    35563177
    3557 #: src/WooCommerce/Fields/InvoiceFields.php:1004
    3558 #: src/WooCommerce/Fields/InvoiceFields.php:1184
     3178#: src/WooCommerce/Fields/InvoiceFields.php:1004 src/WooCommerce/Fields/InvoiceFields.php:1184
    35593179msgid "Date"
    35603180msgstr ""
    35613181
    3562 #: src/WooCommerce/Fields/InvoiceFields.php:1025
    3563 #: src/WooCommerce/Fields/InvoiceFields.php:1204 src/Xml/BuildXml.php:195
     3182#: src/WooCommerce/Fields/InvoiceFields.php:1025 src/WooCommerce/Fields/InvoiceFields.php:1204
     3183#: src/Xml/BuildXml.php:195
    35643184msgid "Invoice Date"
    35653185msgstr ""
     
    36103230#, php-format
    36113231msgid ""
    3612 "Your request cannot be processed due to unreachability of the Member "
    3613 "State (%1$s) you are trying to reach. Please try again later."
     3232"Your request cannot be processed due to unreachability of the Member State (%1$s) you are trying to reach. "
     3233"Please try again later."
    36143234msgstr ""
    36153235
     
    36173237#, php-format
    36183238msgid ""
    3619 "Your request cannot be processed due to heavy traffic to the Member "
    3620 "State (%1$s) you are trying to reach. Please try again later."
     3239"Your request cannot be processed due to heavy traffic to the Member State (%1$s) you are trying to reach. "
     3240"Please try again later."
    36213241msgstr ""
    36223242
     
    36293249msgstr ""
    36303250
    3631 #: src/WooCommerce/Fields/InvoiceFields.php:2574
    3632 #: src/WooCommerce/Fields/InvoiceFields.php:3277
     3251#: src/WooCommerce/Fields/InvoiceFields.php:2574 src/WooCommerce/Fields/InvoiceFields.php:3277
    36333252#: src/WooCommerce/Fields/InvoiceFields.php:3641
    36343253#, php-format
     
    36363255msgstr ""
    36373256
    3638 #: src/WooCommerce/Fields/InvoiceFields.php:2591
    3639 #: src/WooCommerce/Fields/InvoiceFields.php:3061
    3640 #: src/WooCommerce/Fields/InvoiceFields.php:3072
    3641 #: src/WooCommerce/Fields/InvoiceFields.php:3458
     3257#: src/WooCommerce/Fields/InvoiceFields.php:2591 src/WooCommerce/Fields/InvoiceFields.php:3061
     3258#: src/WooCommerce/Fields/InvoiceFields.php:3072 src/WooCommerce/Fields/InvoiceFields.php:3458
    36423259#: src/WooCommerce/Fields/InvoiceFields.php:3465
    36433260msgid "it is a required field."
    36443261msgstr ""
    36453262
    3646 #: src/WooCommerce/Fields/InvoiceFields.php:2619
    3647 #: src/WooCommerce/Fields/InvoiceFields.php:2628
    3648 #: src/WooCommerce/Fields/InvoiceFields.php:2642
    3649 #: src/WooCommerce/Fields/InvoiceFields.php:3149
    3650 #: src/WooCommerce/Fields/InvoiceFields.php:3158
    3651 #: src/WooCommerce/Fields/InvoiceFields.php:3172
    3652 #: src/WooCommerce/Fields/InvoiceFields.php:3531
    3653 #: src/WooCommerce/Fields/InvoiceFields.php:3540
     3263#: src/WooCommerce/Fields/InvoiceFields.php:2619 src/WooCommerce/Fields/InvoiceFields.php:2628
     3264#: src/WooCommerce/Fields/InvoiceFields.php:2642 src/WooCommerce/Fields/InvoiceFields.php:3149
     3265#: src/WooCommerce/Fields/InvoiceFields.php:3158 src/WooCommerce/Fields/InvoiceFields.php:3172
     3266#: src/WooCommerce/Fields/InvoiceFields.php:3531 src/WooCommerce/Fields/InvoiceFields.php:3540
    36543267#: src/WooCommerce/Fields/InvoiceFields.php:3554
    36553268#, php-format
     
    36573270msgstr ""
    36583271
    3659 #: src/WooCommerce/Fields/InvoiceFields.php:2659
    3660 #: src/WooCommerce/Fields/InvoiceFields.php:3189
     3272#: src/WooCommerce/Fields/InvoiceFields.php:2659 src/WooCommerce/Fields/InvoiceFields.php:3189
    36613273#: src/WooCommerce/Fields/InvoiceFields.php:3571
    36623274#, php-format
     
    36643276msgstr ""
    36653277
    3666 #: src/WooCommerce/Fields/InvoiceFields.php:2667
    3667 #: src/WooCommerce/Fields/InvoiceFields.php:3197
     3278#: src/WooCommerce/Fields/InvoiceFields.php:2667 src/WooCommerce/Fields/InvoiceFields.php:3197
    36683279#: src/WooCommerce/Fields/InvoiceFields.php:3579
    36693280msgid "E-mail (PEC) or Unique Code is required"
    36703281msgstr ""
    36713282
    3672 #: src/WooCommerce/Fields/InvoiceFields.php:2690
    3673 #: src/WooCommerce/Fields/InvoiceFields.php:2736
    3674 #: src/WooCommerce/Fields/InvoiceFields.php:3232
    3675 #: src/WooCommerce/Fields/InvoiceFields.php:3333
    3676 #: src/WooCommerce/Fields/InvoiceFields.php:3606
    3677 #: src/WooCommerce/Fields/InvoiceFields.php:3671
     3283#: src/WooCommerce/Fields/InvoiceFields.php:2690 src/WooCommerce/Fields/InvoiceFields.php:2736
     3284#: src/WooCommerce/Fields/InvoiceFields.php:3232 src/WooCommerce/Fields/InvoiceFields.php:3333
     3285#: src/WooCommerce/Fields/InvoiceFields.php:3606 src/WooCommerce/Fields/InvoiceFields.php:3671
    36783286msgid "Please enter your VAT number"
    36793287msgstr ""
     
    37083316msgstr ""
    37093317
    3710 #: src/WooCommerce/Product/QuickEditProduct.php:136
    3711 #: src/WooCommerce/Product/QuickEditProduct.php:180
     3318#: src/WooCommerce/Product/QuickEditProduct.php:136 src/WooCommerce/Product/QuickEditProduct.php:180
    37123319msgid "Activate / Deactivate Reverse Charge."
    37133320msgstr ""
    37143321
    3715 #: src/WooCommerce/Product/QuickEditProduct.php:139
    3716 #: src/WooCommerce/Product/QuickEditProduct.php:183
     3322#: src/WooCommerce/Product/QuickEditProduct.php:139 src/WooCommerce/Product/QuickEditProduct.php:183
    37173323msgid "Activate Reverse Charge."
    37183324msgstr ""
     
    37593365
    37603366#: src/Xml/BuildXml.php:693 src/Xml/BuildXml.php:696
    3761 msgid ""
    3762 "The directory is not writable, and permissions could not be modified. "
    3763 "Please check manually."
     3367msgid "The directory is not writable, and permissions could not be modified. Please check manually."
    37643368msgstr ""
    37653369
    37663370#: src/Xml/BuildXml.php:702 src/Xml/BuildXml.php:705
    3767 msgid ""
    3768 "The directory is still not writable after attempting to change "
    3769 "permissions."
     3371msgid "The directory is still not writable after attempting to change permissions."
    37703372msgstr ""
    37713373
    37723374#: src/Xml/BuildXml.php:748
    3773 msgid ""
    3774 "No new data to append. File is up-to-date. You can download the "
    3775 "existing file"
     3375msgid "No new data to append. File is up-to-date. You can download the existing file"
    37763376msgstr ""
    37773377
     
    37823382#: src/Xml/BuildXml.php:758
    37833383#, php-format
    3784 msgid ""
    3785 "No new data to append. File is up-to-date. You can download the "
    3786 "existing file %s."
     3384msgid "No new data to append. File is up-to-date. You can download the existing file %s."
    37873385msgstr ""
    37883386
     
    38193417msgstr ""
    38203418
    3821 #: src/Xml/CreateXml.php:920 src/Xml/CreateXml.php:3061
    3822 #: src/Xml/CreateXml.php:3182 src/Xml/CreateXml.php:3213
     3419#: src/Xml/CreateXml.php:920 src/Xml/CreateXml.php:3061 src/Xml/CreateXml.php:3182 src/Xml/CreateXml.php:3213
    38233420msgid "Refund: "
    38243421msgstr ""
     
    38453442msgid "We have finished processing your order."
    38463443msgstr ""
     3444
     3445#: src/PeppolApi.php:609
     3446msgid "Invoice delivered successfully"
     3447msgstr ""
  • woopop-electronic-invoice-free/trunk/readme.md

    r3435218 r3444920  
    44* **Requires at least:** 4.6
    55* **Tested up to:** 6.9
    6 * **Stable tag:** 6.5.8
     6* **Stable tag:** 6.5.9
    77* **Requires PHP:** 5.6
    88* **License:** GPLv2 or later
     
    1515POP currently supports Italy, San Marino, Spain and Belgium, and it is built to align with national and EU e-invoicing requirements as they evolve across Europe.
    1616POP automates the entire process: electronic invoice generation, XML file creation, submission to national or international interchange systems, and long-term digital preservation of fiscal documents. It supports XML e-invoices, PDF e-invoices, credit notes and fiscal receipts, ensuring alignment with EU e-invoicing and structured invoicing practices.
    17 With the latest update, POP includes direct delivery to the Italian Exchange System (SdI) and full support for Belgian structured e-invoicing, where B2B e-invoicing becomes mandatory for VAT-registered businesses starting January 1st, 2026.
     17With the latest update, POP includes direct delivery to the Italian Exchange System (SdI) and full support for Belgian structured e-invoicing, where B2B e-invoicing is mandatory for VAT-registered businesses since January 1st, 2026.
    1818
    1919### International PEPPOL Support (NL, FR, DE, UK)
     
    103103### Compatibility
    104104POP is compatible with the latest versions of WordPress and WooCommerce:
    105 * WooCommerce: up to version 9.x.x (HPOS-compatible)
     105* WooCommerce: up to version 9.x.x; HPOS supported starting from WooCommerce 9.x.x
    106106* PHP: 5.6 or higher
    107107* WordPress: 4.6 or higher
    108108
    109 We recommend using WordPress 6.x.x and WooCommerce 9.x.x for optimal performance.
     109For HPOS and optimal performance, we recommend using WordPress 6.x.x and WooCommerce 9.x.x and up.
    110110We understand how frustrating it can be to navigate complex tax regulations, cumbersome tools, and the fear of making costly mistakes. We've been there too. It is precisely from these daily challenges that POP was born: a practical solution to real problems.
    111111We didn't want just another software. We wanted a simple, immediate, and truly useful solution. A way to automate tax management, reduce time wastage, and make room for the growth of your business, without the burden of bureaucracy.
     
    150150## Changelog
    151151== Changelog ==
     152= 6.5.9 - 20/01/2025 =
     153* Add: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button.
     154* Fix: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook.
     155* Fix: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID.
     156
    152157= 6.5.8 - 08/01/2025 =
    153158* Add: resolveOrder
  • woopop-electronic-invoice-free/trunk/readme.txt

    r3435218 r3444920  
    44Requires at least: 4.6
    55Tested up to: 6.9
    6 Stable tag: 6.5.8
     6Stable tag: 6.5.9
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    1515POP currently supports Italy, San Marino, Spain and Belgium, and it is built to align with national and EU e-invoicing requirements as they evolve across Europe.
    1616POP automates the entire process: electronic invoice generation, XML file creation, submission to national or international interchange systems, and long-term digital preservation of fiscal documents. It supports XML e-invoices, PDF e-invoices, credit notes and fiscal receipts, ensuring alignment with EU e-invoicing and structured invoicing practices.
    17 With the latest update, POP includes direct delivery to the Italian Exchange System (SdI) and full support for Belgian structured e-invoicing, where B2B e-invoicing becomes mandatory for VAT-registered businesses starting January 1st, 2026.
     17With the latest update, POP includes direct delivery to the Italian Exchange System (SdI) and full support for Belgian structured e-invoicing, where B2B e-invoicing is mandatory for VAT-registered businesses since January 1st, 2026.
    1818
    1919= International PEPPOL Support (NL, FR, DE, UK) =
     
    8282= Compatibility =
    8383POP is compatible with the latest versions of WordPress and WooCommerce:
    84 * WooCommerce: up to version 9.x.x (HPOS-compatible)
     84* WooCommerce: up to version 9.x.x; HPOS supported starting from WooCommerce 9.x.x
    8585* PHP: 5.6 or higher
    8686* WordPress: 4.6 or higher
    8787
    88 We recommend using WordPress 6.x.x and WooCommerce 9.x.x for optimal performance.
     88For HPOS and optimal performance, we recommend using WordPress 6.x.x and WooCommerce 9.x.x and up.
    8989We understand how frustrating it can be to navigate complex tax regulations, cumbersome tools, and the fear of making costly mistakes. We've been there too. It is precisely from these daily challenges that POP was born: a practical solution to real problems.
    9090We didn't want just another software. We wanted a simple, immediate, and truly useful solution. A way to automate tax management, reduce time wastage, and make room for the growth of your business, without the burden of bureaucracy.
     
    129129
    130130== Changelog ==
     131= 6.5.9 - 20/01/2025 =
     132* Add: PEPPOL via POP action to check document state from the admin with new stateInvoice AJAX endpoint and UI button.
     133* Fix: Applied wc_el_inv-invoice_progressive_file_number filter when generating PDFs and pass context (pdf/xml) to the hook.
     134* Fix: Use peppol_pop-{type}_uuid meta key when handling PEPPOL POP documents to read the correct UUID.
     135
    131136= 6.5.8 - 08/01/2025 =
    132137* Add: resolveOrder
  • woopop-electronic-invoice-free/trunk/src/Admin/XmlOrderListTable.php

    r3426093 r3444920  
    13911391
    13921392                if ('invoice' === $type && empty($queryVars['_billing_choice_type'])) {
     1393                    // Treat empty or missing choice_type as invoice to avoid excluding legacy orders.
    13931394                    $query['meta_query'][] = array(
    1394                         'key'   => '_billing_choice_type',
    1395                         'value' => esc_attr($type),
     1395                        'relation' => 'OR',
     1396                        array(
     1397                            'key'   => '_billing_choice_type',
     1398                            'value' => esc_attr($type),
     1399                        ),
     1400                        array(
     1401                            'key'     => '_billing_choice_type',
     1402                            'compare' => 'NOT EXISTS',
     1403                        ),
     1404                        array(
     1405                            'key'     => '_billing_choice_type',
     1406                            'value'   => '',
     1407                            'compare' => '=',
     1408                        ),
    13961409                    );
    13971410                }
  • woopop-electronic-invoice-free/trunk/src/Pdf/CreatePdf.php

    r3409381 r3444920  
    110110        $number = substr($number, -5);
    111111        $number = str_pad($number, 5, '0', STR_PAD_LEFT);
     112
     113        $number = apply_filters('wc_el_inv-invoice_progressive_file_number', $number, $order->get_id(), 'pdf');
    112114
    113115        return strtoupper($number);
  • woopop-electronic-invoice-free/trunk/src/PeppolApi.php

    r3382415 r3444920  
    33namespace WcElectronInvoice;
    44
     5use WcElectronInvoice\Admin\Settings\OptionPage;
    56use WcElectronInvoice\Providers\OrderQuery;
    67use function WcElectronInvoice\Functions\disableInvoiceOnOrderTotalZero;
     
    243244        $orderProvider = \WcElectronInvoice\Providers\OrderQuery::instance()->getProviderOrder($id, $provider);
    244245
    245         $send = __('Send invoice', WC_EL_INV_TEXTDOMAIN);
    246         $sent = __('Sent', WC_EL_INV_TEXTDOMAIN);
     246        $send  = __('Send invoice', WC_EL_INV_TEXTDOMAIN);
     247        $state = __('State', WC_EL_INV_TEXTDOMAIN);
     248        $sent  = __('Sent', WC_EL_INV_TEXTDOMAIN);
    247249        if ('shop_order_refund' === $orderProvider->get_type()) {
    248250            $send = __('Credit note', WC_EL_INV_TEXTDOMAIN);
     
    284286        $output .= sprintf('<hr><h4>%s:</h4>', __('PEPPOL native actions', WC_EL_INV_TEXTDOMAIN));
    285287        if ($uuid || 'sent' === $checkSent) {
    286             // Created
     288            // Created and notify
    287289            $output .= "<a disabled='disabled' data-provider='{$provider}' data-id='{$id}' data-uuid='{$uuid}' class='disabled created button button-secondary' id='api_created_{$id}'>{$sent}</a>";
     290            $output .= "<a href='javascript:;' data-provider='{$provider}' data-id='{$id}' data-uuid='{$uuid}' class='api-action state button button-primary' id='api_state_{$id}'>{$state}</a>";
    288291        } else {
    289292            // Create
     
    344347        }
    345348
    346         $order   = OrderQuery::instance()->getProviderOrder((int)$id, $provider);
    347         $type    = $order->get_type() === 'shop_order' ? 'invoice' : 'credit_note';
    348         $metaKey = "sdi_pop-{$type}_uuid";
     349        $order = OrderQuery::instance()->getProviderOrder((int)$id, $provider);
     350        $type  = $order->get_type() === 'shop_order' ? 'invoice' : 'credit_note';
     351
     352        $metaKey = "peppol_pop-{$type}_uuid";
    349353
    350354        $uuid = $order->get_meta($metaKey);
     
    500504        return $response;
    501505    }
     506
     507    /**
     508     * stateInvoice
     509     *
     510     * @return void
     511     */
     512    public static function stateInvoice()
     513    {
     514        $getPEPPOLPOPIntegrationData = self::getPEPPOLPOPIntegrationData();
     515        $level                       = \WcElectronInvoice\Wizard::popGetUserLevel();
     516        $licenseKey                  = OptionPage::init()->getOptions('license_key') ?: null;
     517        $provider                    = sanitize_text_field(\WcElectronInvoice\Functions\filterInput($_POST,
     518            'provider') ?? '');
     519        $id                          = sanitize_text_field(\WcElectronInvoice\Functions\filterInput($_POST,
     520            'id') ?? '');
     521        $uuid                        = sanitize_text_field(\WcElectronInvoice\Functions\filterInput($_POST,
     522            'uuid') ?? '');
     523        $action                      = \WcElectronInvoice\Functions\filterInput($_POST, 'action') ?? null;
     524        $method                      = \WcElectronInvoice\Functions\filterInput($_POST, 'method') ?? null;
     525        $shopCountry                 = (string)(get_option('wc_el_inv-general_store_country', '') ?: '');
     526
     527        if (! \WcElectronInvoice\Wizard::isUserLevelGte($level, 'growth') ||
     528            (! $getPEPPOLPOPIntegrationData->active_plugin_integration ||
     529             ! $getPEPPOLPOPIntegrationData->peppol_integration)
     530        ) {
     531            wp_send_json_error([
     532                'message' => esc_html__('Action not allowed.',
     533                    WC_EL_INV_TEXTDOMAIN),
     534            ]);
     535
     536            return;
     537        }
     538
     539        // I check the action parameter if it does not match I get an error
     540        if ('stateInvoice' !== $action) {
     541            wp_send_json_error([
     542                'message' => esc_html__('Action not valid.',
     543                    WC_EL_INV_TEXTDOMAIN),
     544            ]);
     545
     546            return;
     547        }
     548
     549        if ('' === $uuid) {
     550            \WcElectronInvoice\Functions\log("PEPPOL stateInvoice - check uuid: Missing uuid parameter" . "\n");
     551
     552            wp_send_json_error([
     553                'message' => esc_html__('PEPPOL stateInvoice - check uuid: Missing uuid parameter',
     554                    WC_EL_INV_TEXTDOMAIN),
     555                'uuid'    => $uuid,
     556            ]);
     557
     558            return;
     559        }
     560
     561        /**
     562         * State request
     563         */
     564        $zone     = strtolower(trim($shopCountry));
     565        $response = wp_remote_post(
     566            esc_url_raw(WC_EL_INV_API_URL . 'peppol/document-get'),
     567            [
     568                'headers' => [
     569                    'Content-Type' => 'application/json',
     570                ],
     571                'body'    => json_encode([
     572                    'license_key' => "{$licenseKey}",
     573                    'integration' => [
     574                        'uuid' => "{$uuid}",
     575                        'zone' => "{$zone}",
     576                    ],
     577                ]),
     578                'timeout' => 5,
     579            ]
     580        );
     581
     582        $body    = '';
     583        $success = false;
     584        $message = 'error';
     585
     586        if (is_wp_error($response)) {
     587            $message = $response->get_error_message();
     588            $code    = $response->get_error_code();
     589            error_log('method PEPPOL stateInvoice error: ' . $message);
     590        } else {
     591            $code    = wp_remote_retrieve_response_code($response);
     592            $body    = wp_remote_retrieve_body($response);
     593            $data    = json_decode($body, true);
     594            if (is_array($data) && isset($data['data']['peppolMessage'])) {
     595                $success = (bool)($data['data']['peppolMessage']['success'] ?? false);
     596                if (! $success && isset($data['data']['peppolMessage']['errorMessage'])) {
     597                    $message = $data['data']['peppolMessage']['errorMessage'];
     598                }
     599            }
     600        }
     601
     602        if (! $success) {
     603            wp_send_json_error([
     604                'message'  => $message,
     605                'provider' => $provider,
     606                'order_id' => $id,
     607                'success'  => false,
     608                'raw'      => json_decode($body),
     609            ]);
     610        }
     611
     612        wp_send_json_success([
     613            'message'  => __('Invoice delivered successfully', WC_EL_INV_TEXTDOMAIN),
     614            'provider' => $provider,
     615            'success'  => true,
     616            'order_id' => $id,
     617            'raw'      => json_decode($body),
     618        ]);
     619    }
    502620}
  • woopop-electronic-invoice-free/trunk/src/Xml/CreateXml.php

    r3409381 r3444920  
    12881288        $number = substr($number, -5);
    12891289        $number = str_pad($number, 5, '0', STR_PAD_LEFT);
    1290         $number = apply_filters('wc_el_inv-invoice_progressive_file_number', $number, $order->get_id());
     1290        $number = apply_filters('wc_el_inv-invoice_progressive_file_number', $number, $order->get_id(), 'xml');
    12911291
    12921292        return strtoupper($number);
  • woopop-electronic-invoice-free/trunk/vendor/composer/installed.php

    r3435218 r3444920  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     6        'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '1ecdf32bf3f88d82e8272ff1de3beaddca188836',
     16            'reference' => 'd9c0395d15bf6e203fbe6766ead6f504fd472256',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.