Plugin Directory

Changeset 3037063


Ignore:
Timestamp:
02/17/2024 08:14:33 AM (2 years ago)
Author:
matrixaddons
Message:

Update to version 1.1.1 from GitHub

Location:
easy-invoice
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-invoice/tags/1.1.1/changelog.txt

    r3024036 r3037063  
     1= 1.1 - 2024-01-19 =
     2* Added - Quotation feature
     3* Added - Report features
     4
    15= 1.0.9 - 2023-12-17 =
    26* Fixed - WP Compatibility fixed
  • easy-invoice/tags/1.1.1/easy-invoice.php

    r3024036 r3037063  
    66 * Author: MatrixAddons
    77 * Author URI: https://profiles.wordpress.org/matrixaddons
    8  * Version: 1.1
     8 * Version: 1.1.1
    99 * License: GPL2+
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
     
    2828// Define EASY_INVOICE_VERSION.
    2929if (!defined('EASY_INVOICE_VERSION')) {
    30     define('EASY_INVOICE_VERSION', '1.1');
     30    define('EASY_INVOICE_VERSION', '1.1.1');
    3131}
    3232
  • easy-invoice/tags/1.1.1/includes/Admin/Init.php

    r3024036 r3037063  
    6464            array($this, 'dashboard'),
    6565            'dashicons-money-alt',
    66             30
     66            28
    6767        );
    6868        add_submenu_page(
  • easy-invoice/tags/1.1.1/includes/Admin/Settings/EmailsSettings.php

    r3024036 r3037063  
    283283                    'id' => 'easy_invoice_email_from_address',
    284284                    'type' => 'text',
    285                     'default' => 'wordpress@' . easy_invoice_get_domain()
     285                    'default' => get_option('admin_email'),
    286286                ),
    287287
  • easy-invoice/tags/1.1.1/includes/Helpers/template.php

    r3024036 r3037063  
    140140                'current_date' => date_i18n(get_option('date_format'), (int)current_time('timestamp')),
    141141                'is_was' => $is_was
    142             )
     142            ),
     143            $object_id
    143144        );
    144145    }
  • easy-invoice/tags/1.1.1/includes/Meta/Invoice.php

    r3024036 r3037063  
    4545
    4646
    47         remove_meta_box('postcustom', Constant::INVOICE_POST_TYPE, 'high'); // remove custom fields metabox on easy invoice screen
    48 
    49         // Remove Astra Theme Setting Metabox for Easy Invoice Screen
    50         remove_meta_box('astra_settings_meta_box', Constant::INVOICE_POST_TYPE, 'high');
    51 
    5247        add_action('post_submitbox_misc_actions', array($this, 'before_save_post'));
    5348
     
    246241        add_action('save_post', array($self, 'save'));
    247242        add_action('admin_enqueue_scripts', array($self, 'scripts'), 10);
    248 
    249     }
     243        add_action('do_meta_boxes', array($self, 'remove_metabox'), 1, 3);
     244    }
     245
     246    public function remove_metabox($post_type, $context, $post)
     247    {
     248        if ($post_type !== Constant::INVOICE_POST_TYPE) {
     249            return;
     250        }
     251
     252        remove_meta_box('astra_settings_meta_box', $post_type, $context);
     253        remove_meta_box('postcustom', $post_type, $context);
     254
     255    }
     256
    250257
    251258}
  • easy-invoice/tags/1.1.1/includes/Meta/Quote.php

    r3024036 r3037063  
    5050
    5151
    52         remove_meta_box('postcustom', Constant::QUOTE_POST_TYPE, 'high'); // remove custom fields metabox on easy invoice screen
    53 
    54         // Remove Astra Theme Setting Metabox for Easy Invoice Screen
    55         remove_meta_box('astra_settings_meta_box', Constant::QUOTE_POST_TYPE, 'high');
    56 
    5752        add_action('post_submitbox_misc_actions', array($this, 'before_save_post'));
    5853
     
    272267        add_action('save_post', array($self, 'save'));
    273268        add_action('admin_enqueue_scripts', array($self, 'scripts'), 10);
    274 
    275     }
    276 
     269        add_action('do_meta_boxes', array($self, 'remove_metabox'), 1, 3);
     270    }
     271
     272    public function remove_metabox($post_type, $context, $post)
     273    {
     274        if ($post_type !== Constant::QUOTE_POST_TYPE) {
     275            return;
     276        }
     277
     278        remove_meta_box('astra_settings_meta_box', $post_type, $context);
     279        remove_meta_box('postcustom', $post_type, $context);
     280
     281    }
    277282}
    278283
  • easy-invoice/tags/1.1.1/readme.txt

    r3024036 r3037063  
    1 === Easy Invoice - WordPress Invoice Plugin, Invoices for WordPress, Quotation for WordPress ===
     1=== Easy Invoice - WordPress Invoice Plugin, PDF Invoice, Quotation for WordPress ===
    22Contributors: MatrixAddons
    33Tags: invoice, pdf invoice, quotes, wordpress invoice
     
    55Tested up to: 6.4
    66Requires PHP: 5.6
    7 Stable tag: 1.1
     7Stable tag: 1.1.1
    88License: GPLv3
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    2828* Unlimited Invoices & Quotes Creation
    2929* Client & Email option
    30 * Invoice Download & PDF generation
     30* Invoice Download & PDF generation & PDF invoice
    3131* Tax Option
    3232* Discount on invoice
     
    9595== Changelog ==
    9696
    97 = 1.1 - 2024-01-19 =
    98 * Added - Quotation feature
    99 * Added - Report features
     97= 1.1.1 - 2024-02-17 =
     98* Fixed - Astra Compatibility fixed
     99* Added - Minor fixes
  • easy-invoice/trunk/changelog.txt

    r3024036 r3037063  
     1= 1.1 - 2024-01-19 =
     2* Added - Quotation feature
     3* Added - Report features
     4
    15= 1.0.9 - 2023-12-17 =
    26* Fixed - WP Compatibility fixed
  • easy-invoice/trunk/easy-invoice.php

    r3024036 r3037063  
    66 * Author: MatrixAddons
    77 * Author URI: https://profiles.wordpress.org/matrixaddons
    8  * Version: 1.1
     8 * Version: 1.1.1
    99 * License: GPL2+
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
     
    2828// Define EASY_INVOICE_VERSION.
    2929if (!defined('EASY_INVOICE_VERSION')) {
    30     define('EASY_INVOICE_VERSION', '1.1');
     30    define('EASY_INVOICE_VERSION', '1.1.1');
    3131}
    3232
  • easy-invoice/trunk/includes/Admin/Init.php

    r3024036 r3037063  
    6464            array($this, 'dashboard'),
    6565            'dashicons-money-alt',
    66             30
     66            28
    6767        );
    6868        add_submenu_page(
  • easy-invoice/trunk/includes/Admin/Settings/EmailsSettings.php

    r3024036 r3037063  
    283283                    'id' => 'easy_invoice_email_from_address',
    284284                    'type' => 'text',
    285                     'default' => 'wordpress@' . easy_invoice_get_domain()
     285                    'default' => get_option('admin_email'),
    286286                ),
    287287
  • easy-invoice/trunk/includes/Helpers/template.php

    r3024036 r3037063  
    140140                'current_date' => date_i18n(get_option('date_format'), (int)current_time('timestamp')),
    141141                'is_was' => $is_was
    142             )
     142            ),
     143            $object_id
    143144        );
    144145    }
  • easy-invoice/trunk/includes/Meta/Invoice.php

    r3024036 r3037063  
    4545
    4646
    47         remove_meta_box('postcustom', Constant::INVOICE_POST_TYPE, 'high'); // remove custom fields metabox on easy invoice screen
    48 
    49         // Remove Astra Theme Setting Metabox for Easy Invoice Screen
    50         remove_meta_box('astra_settings_meta_box', Constant::INVOICE_POST_TYPE, 'high');
    51 
    5247        add_action('post_submitbox_misc_actions', array($this, 'before_save_post'));
    5348
     
    246241        add_action('save_post', array($self, 'save'));
    247242        add_action('admin_enqueue_scripts', array($self, 'scripts'), 10);
    248 
    249     }
     243        add_action('do_meta_boxes', array($self, 'remove_metabox'), 1, 3);
     244    }
     245
     246    public function remove_metabox($post_type, $context, $post)
     247    {
     248        if ($post_type !== Constant::INVOICE_POST_TYPE) {
     249            return;
     250        }
     251
     252        remove_meta_box('astra_settings_meta_box', $post_type, $context);
     253        remove_meta_box('postcustom', $post_type, $context);
     254
     255    }
     256
    250257
    251258}
  • easy-invoice/trunk/includes/Meta/Quote.php

    r3024036 r3037063  
    5050
    5151
    52         remove_meta_box('postcustom', Constant::QUOTE_POST_TYPE, 'high'); // remove custom fields metabox on easy invoice screen
    53 
    54         // Remove Astra Theme Setting Metabox for Easy Invoice Screen
    55         remove_meta_box('astra_settings_meta_box', Constant::QUOTE_POST_TYPE, 'high');
    56 
    5752        add_action('post_submitbox_misc_actions', array($this, 'before_save_post'));
    5853
     
    272267        add_action('save_post', array($self, 'save'));
    273268        add_action('admin_enqueue_scripts', array($self, 'scripts'), 10);
    274 
    275     }
    276 
     269        add_action('do_meta_boxes', array($self, 'remove_metabox'), 1, 3);
     270    }
     271
     272    public function remove_metabox($post_type, $context, $post)
     273    {
     274        if ($post_type !== Constant::QUOTE_POST_TYPE) {
     275            return;
     276        }
     277
     278        remove_meta_box('astra_settings_meta_box', $post_type, $context);
     279        remove_meta_box('postcustom', $post_type, $context);
     280
     281    }
    277282}
    278283
  • easy-invoice/trunk/readme.txt

    r3024036 r3037063  
    1 === Easy Invoice - WordPress Invoice Plugin, Invoices for WordPress, Quotation for WordPress ===
     1=== Easy Invoice - WordPress Invoice Plugin, PDF Invoice, Quotation for WordPress ===
    22Contributors: MatrixAddons
    33Tags: invoice, pdf invoice, quotes, wordpress invoice
     
    55Tested up to: 6.4
    66Requires PHP: 5.6
    7 Stable tag: 1.1
     7Stable tag: 1.1.1
    88License: GPLv3
    99License URI: https://opensource.org/licenses/GPL-3.0
     
    2828* Unlimited Invoices & Quotes Creation
    2929* Client & Email option
    30 * Invoice Download & PDF generation
     30* Invoice Download & PDF generation & PDF invoice
    3131* Tax Option
    3232* Discount on invoice
     
    9595== Changelog ==
    9696
    97 = 1.1 - 2024-01-19 =
    98 * Added - Quotation feature
    99 * Added - Report features
     97= 1.1.1 - 2024-02-17 =
     98* Fixed - Astra Compatibility fixed
     99* Added - Minor fixes
Note: See TracChangeset for help on using the changeset viewer.