Plugin Directory

Changeset 2946666


Ignore:
Timestamp:
08/02/2023 02:00:16 PM (3 years ago)
Author:
primersoftware
Message:

Update

Location:
primer-mydata
Files:
2624 added
3 edited

Legend:

Unmodified
Added
Removed
  • primer-mydata/trunk/README.txt

    r2946064 r2946666  
    55Tested up to: 6.3.0
    66Requires PHP: 7.4
    7 Stable tag: 4.0.6
     7Stable tag: 4.0.7
    88License: GPLv2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    137137= 4.0.6 - 2023-08-01 =
    138138* Minor Bug Fixes
     139= 4.0.7 - 2023-08-02 =
     140* Minor Bug Fixes
  • primer-mydata/trunk/includes/template-tags/primer-tags-display-modules.php

    r2937024 r2946666  
    348348                $inside_tax_rate = round($inside_tax_rate);
    349349            }
     350        if ( get_post_meta($order_id, 'is_vat_exempt', true) == 'yes' ) {
     351            $inside_tax_rate = 0;
     352        }
    350353        $subtotal_order_payment = $item->get_subtotal();
    351354        $subtotal_item_tax = $item->get_subtotal_tax();
  • primer-mydata/trunk/primer.php

    r2946064 r2946666  
    1818 * Plugin URI:        primer.gr/plugin/
    1919 * Description:      Issue receipts and invoices with woocommerce.
    20  * Version:           4.0.6
     20 * Version:           4.0.7
    2121 * Author:            Primer Software
    2222 * Author URI:        primer.gr
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'PRIMER_VERSION', '4.0.6');
     38define( 'PRIMER_VERSION', '4.0.7');
    3939define( 'PRIMER_NAME', 'Primer MyData' );
    4040
     
    142142            $parameters['countryCode'] = 'AT';
    143143        }
    144         //update_post_meta('4345', 'fd', $parameters['countryCode']);
     144        $parameters['vatNumber'] = filter_var($parameters['vatNumber'], FILTER_SANITIZE_NUMBER_INT);
    145145        try {
    146146            // Call the checkVat method
Note: See TracChangeset for help on using the changeset viewer.