Plugin Directory

Changeset 3030659


Ignore:
Timestamp:
02/02/2024 04:01:22 PM (2 years ago)
Author:
camper2020
Message:

Update for version 1.1.0 by wppm.io

Location:
rd-wc-order-modifier
Files:
2 deleted
9 edited
1 copied

Legend:

Unmodified
Added
Removed
  • rd-wc-order-modifier/assets/icon-256x256.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • rd-wc-order-modifier/assets/screenshot-1.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • rd-wc-order-modifier/assets/screenshot-2.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • rd-wc-order-modifier/tags/1.1.0/js/admin.js

    r2913370 r3030659  
    1818    //Add to refund show action
    1919    jQuery('#woocommerce-order-items').on('click', 'button.refund-items', function() {
    20         jQuery( '#woocommerce-order-items' ).find( 'div.rdwcom-refund' ).show();
     20        jQuery('#woocommerce-order-items').find('div.rdwcom-refund').show();
    2121    });
    2222}
     
    2525    //Add to refund cancel action
    2626    jQuery('#woocommerce-order-items').on('click', 'button.cancel-action', function() {
    27         jQuery( '#woocommerce-order-items' ).find( 'div.rdwcom-refund' ).hide();
    28         jQuery( '.woocommerce_order_items .rdwcom-refund .rdwcom_refund_line_total' ).each(function() {
     27        jQuery('#woocommerce-order-items' ).find('div.rdwcom-refund').hide();
     28        jQuery('.woocommerce_order_items .rdwcom-refund .rdwcom_refund_line_total').each(function() {
    2929            jQuery(this).val('');
    3030        });
     
    4747
    4848        var refund_amount = 0;
    49         var $items        = jQuery( '.woocommerce_order_items' ).find( 'tr.item, tr.fee, tr.shipping' );
     49        var $items        = jQuery('.woocommerce_order_items' ).find( 'tr.item, tr.fee, tr.shipping');
    5050
    5151        $items.each(function() {
    5252            var $row               = jQuery( this );
    53             var refund_cost_fields = $row.find( '.rdwcom-refund .rdwcom_refund_line_total' );
     53            var refund_cost_fields = $row.find('.rdwcom-refund .rdwcom_refund_line_total');
    5454
    5555            refund_cost_fields.each(function( index, el ) {
  • rd-wc-order-modifier/tags/1.1.0/rd-wc-order-modifier.php

    r3017866 r3030659  
    33Plugin URI:
    44Description: Allows editing order items pricing inclusive of tax.
    5 Version: 1.0.14
     5Version: 1.0.15
     6Tested up to: 6.4
    67Author: Robot Dwarf
    78Author URI: https://www.robotdwarf.com
     
    3738}
    3839
    39 define( 'RDWCOM_VERSION', '1.0.14' );
     40define( 'RDWCOM_VERSION', '1.0.15' );
    4041define('RDWCOM_URL', plugin_dir_url( __FILE__ ) );
    4142define( 'RDWCOM_PATH', plugin_dir_path( __FILE__ ) );
  • rd-wc-order-modifier/tags/1.1.0/readme.txt

    r3017866 r3030659  
    33Tags: woocommerce, tax, vat, orders, order editing, admin order, admin dashboard
    44Requires at least: 5.0
    5 Tested up to: 6.4.2
    6 Stable tag: 1.0.14
     5Tested up to: 6.4
     6Stable tag: 1.0.15
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    6262== Changelog ==
    6363
     64= 1.0.15 =
     65
     66*Release Date - 02 February 2024*
     67*Fix some JS spacing
     68*Compatibility update
     69
    6470= 1.0.14 =
    6571*Release Date - 05 January 2024*
  • rd-wc-order-modifier/trunk/js/admin.js

    r2913370 r3030659  
    1818    //Add to refund show action
    1919    jQuery('#woocommerce-order-items').on('click', 'button.refund-items', function() {
    20         jQuery( '#woocommerce-order-items' ).find( 'div.rdwcom-refund' ).show();
     20        jQuery('#woocommerce-order-items').find('div.rdwcom-refund').show();
    2121    });
    2222}
     
    2525    //Add to refund cancel action
    2626    jQuery('#woocommerce-order-items').on('click', 'button.cancel-action', function() {
    27         jQuery( '#woocommerce-order-items' ).find( 'div.rdwcom-refund' ).hide();
    28         jQuery( '.woocommerce_order_items .rdwcom-refund .rdwcom_refund_line_total' ).each(function() {
     27        jQuery('#woocommerce-order-items' ).find('div.rdwcom-refund').hide();
     28        jQuery('.woocommerce_order_items .rdwcom-refund .rdwcom_refund_line_total').each(function() {
    2929            jQuery(this).val('');
    3030        });
     
    4747
    4848        var refund_amount = 0;
    49         var $items        = jQuery( '.woocommerce_order_items' ).find( 'tr.item, tr.fee, tr.shipping' );
     49        var $items        = jQuery('.woocommerce_order_items' ).find( 'tr.item, tr.fee, tr.shipping');
    5050
    5151        $items.each(function() {
    5252            var $row               = jQuery( this );
    53             var refund_cost_fields = $row.find( '.rdwcom-refund .rdwcom_refund_line_total' );
     53            var refund_cost_fields = $row.find('.rdwcom-refund .rdwcom_refund_line_total');
    5454
    5555            refund_cost_fields.each(function( index, el ) {
  • rd-wc-order-modifier/trunk/rd-wc-order-modifier.php

    r3017866 r3030659  
    33Plugin URI:
    44Description: Allows editing order items pricing inclusive of tax.
    5 Version: 1.0.14
     5Version: 1.0.15
     6Tested up to: 6.4
    67Author: Robot Dwarf
    78Author URI: https://www.robotdwarf.com
     
    3738}
    3839
    39 define( 'RDWCOM_VERSION', '1.0.14' );
     40define( 'RDWCOM_VERSION', '1.0.15' );
    4041define('RDWCOM_URL', plugin_dir_url( __FILE__ ) );
    4142define( 'RDWCOM_PATH', plugin_dir_path( __FILE__ ) );
  • rd-wc-order-modifier/trunk/readme.txt

    r3017866 r3030659  
    33Tags: woocommerce, tax, vat, orders, order editing, admin order, admin dashboard
    44Requires at least: 5.0
    5 Tested up to: 6.4.2
    6 Stable tag: 1.0.14
     5Tested up to: 6.4
     6Stable tag: 1.0.15
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    6262== Changelog ==
    6363
     64= 1.0.15 =
     65
     66*Release Date - 02 February 2024*
     67*Fix some JS spacing
     68*Compatibility update
     69
    6470= 1.0.14 =
    6571*Release Date - 05 January 2024*
Note: See TracChangeset for help on using the changeset viewer.