Plugin Directory

Changeset 2904986


Ignore:
Timestamp:
04/27/2023 09:11:18 AM (3 years ago)
Author:
primersoftware
Message:

Update

Location:
primer-mydata
Files:
2156 added
6 edited

Legend:

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

    r2894136 r2904986  
    55Tested up to: 6.1.1
    66Requires PHP: 7.4
    7 Stable tag: 3.0.0
     7Stable tag: 3.1.0
    88License: GPLv2
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    157157= 3.0.0 - 2023-03-29 =
    158158* Optimization for orders search page
     159= 3.1.0 - 2023-04-27 =
     160* Minor Fixes
  • primer-mydata/trunk/admin/includes/primer-admin-options.php

    r2894136 r2904986  
    33653365                $order_ids[] = $id_of_order;
    33663366                $order_country = $order->get_billing_country();
     3367                if(empty($order_country)){
     3368                    $order_country = 'GR';
     3369                }
    33673370                $order_create_date = date( 'F j, Y', $order->get_date_created()->getOffsetTimestamp());
    33683371                $order_paid_date = null;
  • primer-mydata/trunk/admin/includes/primer-admin-table.php

    r2894136 r2904986  
    663663
    664664            $order_country = $order->get_billing_country();
     665            if(empty($order_country)){
     666                    $order_country = 'GR';
     667                }
    665668            $order_paid_date = null;
    666669            if (!empty($order->get_date_paid())) {
     
    11531156                                    $invoice_data['invoice'][0]['invoiceDetails'][$item_count]['vatExemptionCategory'] = $order_vat_exemption_category;
    11541157                                }
    1155                             } else{
     1158                            } else {
    11561159                                $total_net_value += $subtotal_order_payment;
    11571160                                $invoice_data['invoice'][0]['invoiceDetails'][$item_count]['lineNumber'] = $item_count + 1;
     
    25092512            }
    25102513            $order_country = $order->get_billing_country();
     2514            if(empty($order_country)){
     2515                    $order_country = 'GR';
     2516                }
    25112517            $order_create_date = date( 'F j, Y', $order->get_date_created()->getOffsetTimestamp());
    25122518            $currency      = $order->get_currency();
  • primer-mydata/trunk/includes/class-primer-cron.php

    r2894136 r2904986  
    270270                                } */
    271271                                $order_country = $order->get_billing_country();
     272                                if(empty($order_country)){
     273                                    $order_country = 'GR';
     274                                }
    272275                                if ( ! empty( $order->get_date_paid() ) ) {
    273276                                    $order_paid_date = date( 'F j, Y', $order->get_date_paid()->getTimestamp() );
     
    21602163                    }
    21612164                    $order_country = $order->get_billing_country();
     2165                    if(empty($order_country)){
     2166                        $order_country = 'GR';
     2167                    }
    21622168                    $issue_date = new DateTime("now", new DateTimeZone("Europe/Athens"));
    21632169                    $order_paid_date = date('F j, Y', $order->get_date_created()->getTimestamp());
     
    34063412                    $order_ids[] = $id_of_order;
    34073413                    $order_country = $order->get_billing_country();
     3414                    if(empty($order_country)){
     3415                        $order_country = 'GR';
     3416                    }
    34083417                    $order_create_date = date('F j, Y', $order->get_date_created()->getOffsetTimestamp());
    34093418                    if (!empty($order->get_date_paid())) {
  • primer-mydata/trunk/includes/template-tags/primer-tags-display-modules.php

    r2894136 r2904986  
    271271        $product_name = $item->get_name();
    272272        $order_country = $order->get_billing_country();
     273            if(empty($order_country)){
     274                $order_country = 'GR';
     275            }
    273276        //$product_sale = $item->get_total_sales();
    274277        //$sale_price = $item->get_sale_price();
  • primer-mydata/trunk/primer.php

    r2894136 r2904986  
    1818 * Plugin URI:        primer.gr/plugin/
    1919 * Description:      Issue receipts and invoices with woocommerce.
    20  * Version:           3.0.0
     20 * Version:           3.1.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', '3.0.0' );
     38define( 'PRIMER_VERSION', '3.1.0' );
    3939define( 'PRIMER_NAME', 'Primer MyData' );
    4040
Note: See TracChangeset for help on using the changeset viewer.