Plugin Directory

Changeset 2870675


Ignore:
Timestamp:
02/24/2023 03:04:01 PM (3 years ago)
Author:
primersoftware
Message:

Update

Location:
primer-mydata
Files:
2156 added
4 edited

Legend:

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

    r2857123 r2870675  
    55Tested up to: 6.1.1
    66Requires PHP: 7.4
    7 Stable tag: 2.3.0
     7Stable tag: 2.4.0
    88License: GPLv2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    143143= 2.3.0 - 2023-01-30 =
    144144* Minor Bug Fixes
     145= 2.4.0 - 2023-02-24 =
     146* Minor Bug Fixes
  • primer-mydata/trunk/includes/class-primer-cron.php

    r2857123 r2870675  
    20062006                        $primer_send_fail_log = $automation_options['send_failed_log'];
    20072007                    }
    2008                     $this->export_csv_log($log_ids, $primer_send_success_log, $primer_send_fail_log);
     2008                    if(!empty($automation_options['send_successful_log']) && !empty($automation_options['send_failed_log'])) {
     2009                        $this->export_csv_log($log_ids, $primer_send_success_log, $primer_send_fail_log);
     2010                    }
    20092011                }
    20102012            }
     
    20122014            $mydata_options['running_conversion'] = 'no';
    20132015            update_option('primer_mydata', $mydata_options);
     2016            exit();
    20142017        }
    20152018    public function convert_order_to_invoice_failed() {
  • primer-mydata/trunk/primer.php

    r2857123 r2870675  
    1818 * Plugin URI:        primer.gr/plugin/
    1919 * Description:      Issue receipts and invoices with woocommerce.
    20  * Version:           2.3.0
     20 * Version:           2.4.0
    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', '2.3.0' );
     38define( 'PRIMER_VERSION', '2.4.0' );
    3939define( 'PRIMER_NAME', 'Primer MyData' );
    4040
  • primer-mydata/trunk/public/js/primer-public.js

    r2848352 r2870675  
    3232    $(document).ready(function () {
    3333        var $invoice_type = $('input[name="billing_invoice_type"]');
    34         console.log($invoice_type.val());
    35             $("input[name='billing_invoice_type_receipt']").prop('checked', true);
     34        if($invoice_type) {
     35            console.log($invoice_type.val());
    3636            var radiobtn = document.getElementById("billing_invoice_type_receipt");
    37             radiobtn.checked = true;
    38         checkInvoiceFieldsVisibility($invoice_type.val());
     37            if (radiobtn) {
     38                $("input[name='billing_invoice_type_receipt']").prop('checked', true);
     39                radiobtn.checked = true;
     40            }
     41            checkInvoiceFieldsVisibility($invoice_type.val());
     42        }
    3943        function checkInvoiceFieldsVisibility(radio_val) {
    4044            var required = '<abbr class="required" title="required">*</abbr>';
Note: See TracChangeset for help on using the changeset viewer.