Changeset 2793980
- Timestamp:
- 10/04/2022 10:11:05 AM (3 years ago)
- Location:
- online-billing-service/trunk
- Files:
-
- 18 edited
-
README.txt (modified) (4 diffs)
-
VERSION (modified) (1 diff)
-
admin/class-obs-admin-authentication.php (modified) (2 diffs)
-
admin/class-obs-admin-orders.php (modified) (1 diff)
-
admin/class-obs-admin-query.php (modified) (2 diffs)
-
admin/class-obs-admin-settings.php (modified) (1 diff)
-
admin/class-obs-admin.php (modified) (6 diffs)
-
admin/partials/obs-admin-display-settings.php (modified) (1 diff)
-
admin/partials/obs-admin-display.php (modified) (1 diff)
-
admin/partials/obs-admin-redirect-to-obs.php (modified) (1 diff)
-
includes/class-obs-activator.php (modified) (3 diffs)
-
includes/class-obs-deactivator.php (modified) (3 diffs)
-
includes/class-obs-i18n.php (modified) (3 diffs)
-
includes/class-obs-loader.php (modified) (8 diffs)
-
obs.php (modified) (4 diffs)
-
public/class-obs-public.php (modified) (6 diffs)
-
public/partials/obs-public-display.php (modified) (1 diff)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
online-billing-service/trunk/README.txt
r2774936 r2793980 7 7 Requires PHP: 7.2 8 8 Tested up to: 6.0 9 Stable tag: 1.1. 49 Stable tag: 1.1.5 10 10 Author: Online Billing Service 11 11 Author URI: www.online-billing-service.com … … 29 29 30 30 * "Contributors" onlinebilling 31 * "Tags" v1.1. 431 * "Tags" v1.1.5 32 32 * "Requires at least" WordPress version 4.7.0 and WooCommerce 3.0.0. 33 33 * "Tested up to" WordPress version 6.0 and WooCommerce 5.5.2. … … 56 56 Ready to deploy! 57 57 58 = 1.1. 4=58 = 1.1.5 = 59 59 * update company buyer name settings 60 60 = 0.9.8 = … … 75 75 == Upgrade Notice == 76 76 77 = 1.1. 4=77 = 1.1.5 = 78 78 Update company buyer name settings and fix some bugs. 79 79 -
online-billing-service/trunk/VERSION
r2774936 r2793980 1 v1.1. 41 v1.1.5 -
online-billing-service/trunk/admin/class-obs-admin-authentication.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 64 64 $results = $wpdb->get_results( "SELECT * FROM " . $obs . " WHERE api_key ='" . self::crypt_api_key($obs_api_key, 'e') . "'", OBJECT ); 65 65 66 if(empty($results[0]->api_key)) {67 $wpdb->insert(68 $obs,69 array(70 'api_key' => self::crypt_api_key($obs_api_key, 'e')71 )72 );73 }66 // if(empty($results[0]->api_key)) { 67 $wpdb->insert( 68 $obs, 69 array( 70 'api_key' => self::crypt_api_key($obs_api_key, 'e') 71 ) 72 ); 73 // } 74 74 75 75 foreach ($results as $result) { -
online-billing-service/trunk/admin/class-obs-admin-orders.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS -
online-billing-service/trunk/admin/class-obs-admin-query.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 621 621 } 622 622 623 $query_string = 'mutation { ' . $invoice_or_proforma . '( replaceMissingAttributesWithDefaults: true, documentState: \\"' . $document_state . '\\", note: \\"' . 'Created with online-billing-service.com woocommerce plugin v1.1. 4' . '\\", exchangeRate: \\"' . $order_exchange_rate . '\\", currency: \\"' . $order_currency . '\\", clientId: \\"' . $client_id .'\\", documentSeriesId: \\"' . $invoice_series[0] . '\\", documentDate: \\"' . $current_date . '\\", documentSeriesCounter: \\"' . $new_seris_counter . '\\", vatType: \\"' . $vat_type . '\\", delegateId: \\"' . $delegate_id . '\\", documentPositions: [';623 $query_string = 'mutation { ' . $invoice_or_proforma . '( replaceMissingAttributesWithDefaults: true, documentState: \\"' . $document_state . '\\", note: \\"' . 'Created with online-billing-service.com woocommerce plugin v1.1.5' . '\\", exchangeRate: \\"' . $order_exchange_rate . '\\", currency: \\"' . $order_currency . '\\", clientId: \\"' . $client_id .'\\", documentSeriesId: \\"' . $invoice_series[0] . '\\", documentDate: \\"' . $current_date . '\\", documentSeriesCounter: \\"' . $new_seris_counter . '\\", vatType: \\"' . $vat_type . '\\", delegateId: \\"' . $delegate_id . '\\", documentPositions: ['; 624 624 625 625 $no_of_products = sizeof($order->get_items()); -
online-billing-service/trunk/admin/class-obs-admin-settings.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS -
online-billing-service/trunk/admin/class-obs-admin.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 31 31 * The ID of this plugin. 32 32 * 33 * @since 1.1. 433 * @since 1.1.5 34 34 * @access private 35 35 * @var string $plugin_name The ID of this plugin. … … 40 40 * The version of this plugin. 41 41 * 42 * @since 1.1. 442 * @since 1.1.5 43 43 * @access private 44 44 * @var string $version The current version of this plugin. … … 49 49 * Initialize the class and set its properties. 50 50 * 51 * @since 1.1. 451 * @since 1.1.5 52 52 * @param string $plugin_name The name of this plugin. 53 53 * @param string $version The version of this plugin. … … 62 62 * Register the stylesheets for the admin area. 63 63 * 64 * @since 1.1. 464 * @since 1.1.5 65 65 */ 66 66 public function enqueue_styles() { … … 85 85 * Register the JavaScript for the admin area. 86 86 * 87 * @since 1.1. 487 * @since 1.1.5 88 88 */ 89 89 public function enqueue_scripts() { -
online-billing-service/trunk/admin/partials/obs-admin-display-settings.php
r2774936 r2793980 7 7 * 8 8 * @link online-billing-service.com 9 * @since 1.1. 49 * @since 1.1.5 10 10 * 11 11 * @package OBS -
online-billing-service/trunk/admin/partials/obs-admin-display.php
r2774936 r2793980 7 7 * 8 8 * @link online-billing-service.com 9 * @since 1.1. 49 * @since 1.1.5 10 10 * 11 11 * @package OBS -
online-billing-service/trunk/admin/partials/obs-admin-redirect-to-obs.php
r2774936 r2793980 7 7 * 8 8 * @link online-billing-service.com 9 * @since 1.1. 49 * @since 1.1.5 10 10 * 11 11 * @package OBS -
online-billing-service/trunk/includes/class-obs-activator.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 16 16 * This class defines all code necessary to run during the plugin's activation. 17 17 * 18 * @since 1.1. 418 * @since 1.1.5 19 19 * @package OBS 20 20 * @subpackage OBS/includes … … 28 28 * Long Description. 29 29 * 30 * @since 1.1. 430 * @since 1.1.5 31 31 */ 32 32 public static function activate() { -
online-billing-service/trunk/includes/class-obs-deactivator.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 16 16 * This class defines all code necessary to run during the plugin's activation. 17 17 * 18 * @since 1.1. 418 * @since 1.1.5 19 19 * @package OBS 20 20 * @subpackage OBS/includes … … 28 28 * Long Description. 29 29 * 30 * @since 1.1. 430 * @since 1.1.5 31 31 */ 32 32 public static function deactivate() { -
online-billing-service/trunk/includes/class-obs-i18n.php
r2774936 r2793980 8 8 * 9 9 * @link online-billing-service.com 10 * @since 1.1. 410 * @since 1.1.5 11 11 * 12 12 * @package OBS … … 20 20 * so that it is ready for translation. 21 21 * 22 * @since 1.1. 422 * @since 1.1.5 23 23 * @package OBS 24 24 * @subpackage OBS/includes … … 31 31 * Load the plugin text domain for translation. 32 32 * 33 * @since 1.1. 433 * @since 1.1.5 34 34 */ 35 35 public function load_plugin_textdomain() { -
online-billing-service/trunk/includes/class-obs-loader.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 27 27 * The array of actions registered with WordPress. 28 28 * 29 * @since 1.1. 429 * @since 1.1.5 30 30 * @access protected 31 31 * @var array $actions The actions registered with WordPress to fire when the plugin loads. … … 36 36 * The array of filters registered with WordPress. 37 37 * 38 * @since 1.1. 438 * @since 1.1.5 39 39 * @access protected 40 40 * @var array $filters The filters registered with WordPress to fire when the plugin loads. … … 45 45 * Initialize the collections used to maintain the actions and filters. 46 46 * 47 * @since 1.1. 447 * @since 1.1.5 48 48 */ 49 49 public function __construct() { … … 57 57 * Add a new action to the collection to be registered with WordPress. 58 58 * 59 * @since 1.1. 459 * @since 1.1.5 60 60 * @param string $hook The name of the WordPress action that is being registered. 61 61 * @param object $component A reference to the instance of the object on which the action is defined. … … 71 71 * Add a new filter to the collection to be registered with WordPress. 72 72 * 73 * @since 1.1. 473 * @since 1.1.5 74 74 * @param string $hook The name of the WordPress filter that is being registered. 75 75 * @param object $component A reference to the instance of the object on which the filter is defined. … … 86 86 * collection. 87 87 * 88 * @since 1.1. 488 * @since 1.1.5 89 89 * @access private 90 90 * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). … … 113 113 * Register the filters and actions with WordPress. 114 114 * 115 * @since 1.1. 4115 * @since 1.1.5 116 116 */ 117 117 public function run() { -
online-billing-service/trunk/obs.php
r2774936 r2793980 10 10 * 11 11 * @link online-billing-service.com 12 * @since 1.1. 412 * @since 1.1.5 13 13 * @package OBS 14 14 * … … 17 17 * Plugin URI: https://online-billing-service.com 18 18 * Description: online billing service plugin integrates WooCommerce with online-billing-service.com invoicing app. 19 * Version: 1.1. 419 * Version: 1.1.5 20 20 * Author: online-billing-service.com 21 21 * Author URI: online-billing-service.com … … 35 35 /** 36 36 * Currently plugin version. 37 * Start at version 1.1. 4and use SemVer - https://semver.org37 * Start at version 1.1.5 and use SemVer - https://semver.org 38 38 * Rename this for your plugin and update it as you release new versions. 39 39 */ 40 define( 'FAC_WOO_OBS_VERSION', '1.1. 4' );40 define( 'FAC_WOO_OBS_VERSION', '1.1.5' ); 41 41 42 42 /** … … 74 74 * not affect the page life cycle. 75 75 * 76 * @since 1.1. 476 * @since 1.1.5 77 77 */ 78 78 -
online-billing-service/trunk/public/class-obs-public.php
r2774936 r2793980 5 5 * 6 6 * @link online-billing-service.com 7 * @since 1.1. 47 * @since 1.1.5 8 8 * 9 9 * @package OBS … … 26 26 * The ID of this plugin. 27 27 * 28 * @since 1.1. 428 * @since 1.1.5 29 29 * @access private 30 30 * @var string $plugin_name The ID of this plugin. … … 35 35 * The version of this plugin. 36 36 * 37 * @since 1.1. 437 * @since 1.1.5 38 38 * @access private 39 39 * @var string $version The current version of this plugin. … … 44 44 * Initialize the class and set its properties. 45 45 * 46 * @since 1.1. 446 * @since 1.1.5 47 47 * @param string $plugin_name The name of the plugin. 48 48 * @param string $version The version of this plugin. … … 58 58 * Register the stylesheets for the public-facing side of the site. 59 59 * 60 * @since 1.1. 460 * @since 1.1.5 61 61 */ 62 62 public function enqueue_styles() { … … 81 81 * Register the JavaScript for the public-facing side of the site. 82 82 * 83 * @since 1.1. 483 * @since 1.1.5 84 84 */ 85 85 public function enqueue_scripts() { -
online-billing-service/trunk/public/partials/obs-public-display.php
r2774936 r2793980 7 7 * 8 8 * @link online-billing-service.com 9 * @since 1.1. 49 * @since 1.1.5 10 10 * 11 11 * @package OBS -
online-billing-service/trunk/uninstall.php
r2774936 r2793980 21 21 * 22 22 * @link online-billing-service.com 23 * @since 1.1. 423 * @since 1.1.5 24 24 * 25 25 * @package OBS
Note: See TracChangeset
for help on using the changeset viewer.