Plugin Directory

Changeset 2920051


Ignore:
Timestamp:
06/01/2023 10:03:39 AM (3 years ago)
Author:
sprinque
Message:

v.1.3.4

Location:
sprinque
Files:
5 edited
20 copied

Legend:

Unmodified
Added
Removed
  • sprinque/tags/1.3.4/assets/js/frontend.js

    r2919712 r2920051  
    423423        language = language.shift();
    424424
    425         const country = countries.find(country => country.code === country_code_upper);
    426         if (country.is_registration_number_required) {
     425        //const country = countries.find(country => country.code === country_code_upper);
     426        //if (country.is_registration_number_required) {
    427427            const validation = Sprinque.checkRegNumber(reg_number, country_code, language);
    428428
    429             if (!validation.isValid) {
     429            if (validation.isValid) {
     430                $('#reg_number_warning').hide();
     431            } else {
    430432                $('#reg_number_warning')
    431433                    .show()
    432434                    .text(validation.message);
    433             } else {
    434                 $('#reg_number_warning').hide();
    435             }
    436         } else {
    437             $('#reg_number_warning').hide();
    438         }
     435            }
     436        // } else {
     437        //     $('#reg_number_warning').hide();
     438        // }
    439439
    440440        $('.error-confirm-order').hide();
  • sprinque/tags/1.3.4/languages/sprinque-nl_NL.po

    r2919808 r2920051  
    5858#, fuzzy
    5959msgid "Billing or Accounts Payable email"
    60 msgstr "Factuur of Accounts Payable e-mail"
     60msgstr "Facturatie of administratie email"
    6161
    6262#: templates/frontend/srinque_pay_modal_form.php:36
  • sprinque/tags/1.3.4/readme.txt

    r2919808 r2920051  
    66Tested up to: 6.0
    77Requires PHP: 5.3
    8 Stable tag: 1.3.3
     8Stable tag: 1.3.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 1.3.4 - May 31, 2023 =
     54* Fixed reg number validation (b2b-sprinque-tools v.1.3.2);
    5255
    5356= 1.3.3 - May 31, 2023 =
  • sprinque/tags/1.3.4/sprinque.php

    r2919808 r2920051  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.3.3
     7Version: 1.3.4
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.3.3' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.3.4' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    615615            // Register scripts
    616616            $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    617             wp_enqueue_script( 'wpm_srinque_tools', 'https://unpkg.com/b2b-sprinque-tools@1.3.1/dist/index.umd.min.js', array( ), PLUGIN_SRINQUE_VERSION, 'all' );
     617            wp_enqueue_script( 'wpm_srinque_tools', 'https://unpkg.com/b2b-sprinque-tools@1.3.2/dist/index.umd.min.js', array( ), PLUGIN_SRINQUE_VERSION, 'all' );
    618618            wp_enqueue_script( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/js/frontend.js', array( 'jquery', 'wpm_srinque_tools' ), PLUGIN_SRINQUE_VERSION, 'all' );
    619619
  • sprinque/trunk/assets/js/frontend.js

    r2919712 r2920051  
    423423        language = language.shift();
    424424
    425         const country = countries.find(country => country.code === country_code_upper);
    426         if (country.is_registration_number_required) {
     425        //const country = countries.find(country => country.code === country_code_upper);
     426        //if (country.is_registration_number_required) {
    427427            const validation = Sprinque.checkRegNumber(reg_number, country_code, language);
    428428
    429             if (!validation.isValid) {
     429            if (validation.isValid) {
     430                $('#reg_number_warning').hide();
     431            } else {
    430432                $('#reg_number_warning')
    431433                    .show()
    432434                    .text(validation.message);
    433             } else {
    434                 $('#reg_number_warning').hide();
    435             }
    436         } else {
    437             $('#reg_number_warning').hide();
    438         }
     435            }
     436        // } else {
     437        //     $('#reg_number_warning').hide();
     438        // }
    439439
    440440        $('.error-confirm-order').hide();
  • sprinque/trunk/languages/sprinque-nl_NL.po

    r2919808 r2920051  
    5858#, fuzzy
    5959msgid "Billing or Accounts Payable email"
    60 msgstr "Factuur of Accounts Payable e-mail"
     60msgstr "Facturatie of administratie email"
    6161
    6262#: templates/frontend/srinque_pay_modal_form.php:36
  • sprinque/trunk/readme.txt

    r2919808 r2920051  
    66Tested up to: 6.0
    77Requires PHP: 5.3
    8 Stable tag: 1.3.3
     8Stable tag: 1.3.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 1.3.4 - May 31, 2023 =
     54* Fixed reg number validation (b2b-sprinque-tools v.1.3.2);
    5255
    5356= 1.3.3 - May 31, 2023 =
  • sprinque/trunk/sprinque.php

    r2919808 r2920051  
    55Description: Sprinque for WordPress is a plugin that allows you to offer your business buyers net payment terms (15, 30, 60, 90 days) and thereby grow conversion and retention.
    66Author: Sprinque
    7 Version: 1.3.3
     7Version: 1.3.4
    88Text Domain: sprinque
    99Domain Path: /languages
    1010*/
    1111
    12 define( 'PLUGIN_SRINQUE_VERSION', '1.3.3' );
     12define( 'PLUGIN_SRINQUE_VERSION', '1.3.4' );
    1313define( 'PLUGIN_SRINQUE_DIR', __DIR__ );
    1414define( 'PLUGIN_SRINQUE_PATH', plugins_url( '', __FILE__ ) );
     
    615615            // Register scripts
    616616            $settings = get_option( 'woocommerce_wpm_srinque_pay_settings', true );
    617             wp_enqueue_script( 'wpm_srinque_tools', 'https://unpkg.com/b2b-sprinque-tools@1.3.1/dist/index.umd.min.js', array( ), PLUGIN_SRINQUE_VERSION, 'all' );
     617            wp_enqueue_script( 'wpm_srinque_tools', 'https://unpkg.com/b2b-sprinque-tools@1.3.2/dist/index.umd.min.js', array( ), PLUGIN_SRINQUE_VERSION, 'all' );
    618618            wp_enqueue_script( 'wpm_srinque_pay', PLUGIN_SRINQUE_PATH . '/assets/js/frontend.js', array( 'jquery', 'wpm_srinque_tools' ), PLUGIN_SRINQUE_VERSION, 'all' );
    619619
Note: See TracChangeset for help on using the changeset viewer.