Changeset 3163055
- Timestamp:
- 10/05/2024 07:23:08 AM (18 months ago)
- Location:
- wda-sales-report
- Files:
-
- 26 added
- 5 edited
-
tags/1.1.1 (added)
-
tags/1.1.1/LICENSE.md (added)
-
tags/1.1.1/assets (added)
-
tags/1.1.1/assets/css (added)
-
tags/1.1.1/assets/css/admin-style.css (added)
-
tags/1.1.1/assets/css/admin-style.css.map (added)
-
tags/1.1.1/assets/css/admin-style.scss (added)
-
tags/1.1.1/assets/images (added)
-
tags/1.1.1/assets/images/logo.svg (added)
-
tags/1.1.1/assets/js (added)
-
tags/1.1.1/assets/js/admin-script-old.js (added)
-
tags/1.1.1/assets/js/admin-script.js (added)
-
tags/1.1.1/assets/js/plotly-2.32.0.min.js (added)
-
tags/1.1.1/classes (added)
-
tags/1.1.1/classes/settings-fields.php (added)
-
tags/1.1.1/includes (added)
-
tags/1.1.1/includes/activation-actions.php (added)
-
tags/1.1.1/includes/admin-templates.php (added)
-
tags/1.1.1/includes/class-settings.php (added)
-
tags/1.1.1/includes/enqueue-assets.php (added)
-
tags/1.1.1/modules (added)
-
tags/1.1.1/modules/class-admin-menu.php (added)
-
tags/1.1.1/modules/class-ajax.php (added)
-
tags/1.1.1/modules/class-sales-report.php (added)
-
tags/1.1.1/readme.txt (added)
-
tags/1.1.1/wda-sales-report.php (added)
-
trunk/includes/activation-actions.php (modified) (1 diff)
-
trunk/modules/class-admin-menu.php (modified) (1 diff)
-
trunk/modules/class-sales-report.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wda-sales-report.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wda-sales-report/trunk/includes/activation-actions.php
r3159391 r3163055 10 10 if ( ! function_exists( 'wdasr_activation_actions' ) ) { 11 11 function wdasr_activation_actions() { 12 $ settings = new WDASR_settings();12 $initial_settings = new WDASR_settings(); 13 13 14 update_option( 'wdasr_options', wp_json_encode( $ settings->settings( gmdate('Y-m-d') ) ) );14 update_option( 'wdasr_options', wp_json_encode( $initial_settings->settings( gmdate('Y-m-d') ) ) ); 15 15 } 16 16 } -
wda-sales-report/trunk/modules/class-admin-menu.php
r3161456 r3163055 16 16 $this->settings = json_decode( get_option( 'wdasr_options', '{}' ), true ); 17 17 $this->options = $this->settings['options']; 18 $this->saved_filters = get_option( 'wdasr_saved_filters', '{}' ); 19 18 $this->saved_filters = count($this->saved_filters) ? $this->saved_filters : get_option( 'wdasr_saved_filters', '{}' ); 20 19 21 20 add_action( 'admin_menu', [ $this, 'admin_menu_options' ] ); -
wda-sales-report/trunk/modules/class-sales-report.php
r3161456 r3163055 39 39 <div id="wdasr--report-container" class="wrap"> 40 40 41 <!-- <hr /> -->42 43 41 <section class="wdasr--flex vertical row-gap" id="wdasr--filter-properties"> 44 42 … … 78 76 <section id="wdasr--display-options"> 79 77 <?php foreach ($_displays as $_display_key => $_display_object) : ?> 78 79 <?php $_ability = array_key_exists('free', $_display_object) ? $_display_object['free'] : true; ?> 80 80 81 <span class="wdasr--margin right"> 81 <input name="<?php echo esc_attr( $_display_key ); ?>" type="checkbox" id="<?php echo esc_attr( $_display_key ); ?>" value="checked" <?php echo esc_attr( $_display_object['value'] ); ?> <?php echo esc_attr( $_display_object['free'] ? '' : 'disabled' ); ?> /> 82 <label for="<?php echo esc_attr( $_display_key ); ?>"><?php echo esc_html( $_display_object['label'] ); ?> <?php $_display_object['free'] ? '' : $this->get_pro(); ?></label> 82 <input 83 name="<?php echo esc_attr( $_display_key ); ?>" 84 type="checkbox" 85 id="<?php echo esc_attr( $_display_key ); ?>" 86 value="checked" 87 <?php echo esc_attr( $_display_object['value'] ); ?> 88 <?php echo esc_attr( $_ability ? '' : 'disabled' ); ?> 89 /> 90 91 <label for="<?php echo esc_attr( $_display_key ); ?>"><?php echo esc_html( $_display_object['label'] ); ?> <?php $_ability ? '' : $this->get_pro(); ?></label> 83 92 </span> 84 93 <?php endforeach; ?> -
wda-sales-report/trunk/readme.txt
r3161795 r3163055 6 6 Tested up to: 6.6 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 08 Stable tag: 1.1.1 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 58 58 * **Plotly.js v2.32.0** - https://cdn.plot.ly/plotly-2.32.0.min.js 59 59 60 == License == 61 This plugin is licensed under the GNU General Public License v2.0 or later. 62 60 63 == Changelog == 61 64 = 1.0.0 = … … 63 66 * Added specific field summaries, product list reports, daily reports, and chart visualizations. 64 67 65 == License == 66 This plugin is licensed under the GNU General Public License v2.0 or later. 68 = 1.1.0 = 69 * Released more features for free. 70 71 = 1.1.1 = 72 * Fixed a minor bug. -
wda-sales-report/trunk/wda-sales-report.php
r3161456 r3163055 5 5 * Description: Generate detailed WooCommerce order reports with customizable filters and visualizations. 6 6 * Plugin URI: https://webdevadvisor.com/product/wda-sales-report/ 7 * Version: 1.1. 07 * Version: 1.1.1 8 8 * Requires at least: 6.2 9 9 * Requires PHP: 5.6.20
Note: See TracChangeset
for help on using the changeset viewer.