Changeset 3030659
- Timestamp:
- 02/02/2024 04:01:22 PM (2 years ago)
- Location:
- rd-wc-order-modifier
- Files:
-
- 2 deleted
- 9 edited
- 1 copied
-
assets/icon-256x256.png (modified) (1 prop) (previous)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
tags/1.1.0 (copied) (copied from rd-wc-order-modifier/trunk)
-
tags/1.1.0/js/admin.js (modified) (3 diffs)
-
tags/1.1.0/languages (deleted)
-
tags/1.1.0/rd-wc-order-modifier.php (modified) (2 diffs)
-
tags/1.1.0/readme.txt (modified) (2 diffs)
-
trunk/js/admin.js (modified) (3 diffs)
-
trunk/languages (deleted)
-
trunk/rd-wc-order-modifier.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rd-wc-order-modifier/assets/icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
rd-wc-order-modifier/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
rd-wc-order-modifier/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
rd-wc-order-modifier/tags/1.1.0/js/admin.js
r2913370 r3030659 18 18 //Add to refund show action 19 19 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(); 21 21 }); 22 22 } … … 25 25 //Add to refund cancel action 26 26 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() { 29 29 jQuery(this).val(''); 30 30 }); … … 47 47 48 48 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'); 50 50 51 51 $items.each(function() { 52 52 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'); 54 54 55 55 refund_cost_fields.each(function( index, el ) { -
rd-wc-order-modifier/tags/1.1.0/rd-wc-order-modifier.php
r3017866 r3030659 3 3 Plugin URI: 4 4 Description: Allows editing order items pricing inclusive of tax. 5 Version: 1.0.14 5 Version: 1.0.15 6 Tested up to: 6.4 6 7 Author: Robot Dwarf 7 8 Author URI: https://www.robotdwarf.com … … 37 38 } 38 39 39 define( 'RDWCOM_VERSION', '1.0.1 4' );40 define( 'RDWCOM_VERSION', '1.0.15' ); 40 41 define('RDWCOM_URL', plugin_dir_url( __FILE__ ) ); 41 42 define( 'RDWCOM_PATH', plugin_dir_path( __FILE__ ) ); -
rd-wc-order-modifier/tags/1.1.0/readme.txt
r3017866 r3030659 3 3 Tags: woocommerce, tax, vat, orders, order editing, admin order, admin dashboard 4 4 Requires at least: 5.0 5 Tested up to: 6.4 .26 Stable tag: 1.0.1 45 Tested up to: 6.4 6 Stable tag: 1.0.15 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 62 62 == Changelog == 63 63 64 = 1.0.15 = 65 66 *Release Date - 02 February 2024* 67 *Fix some JS spacing 68 *Compatibility update 69 64 70 = 1.0.14 = 65 71 *Release Date - 05 January 2024* -
rd-wc-order-modifier/trunk/js/admin.js
r2913370 r3030659 18 18 //Add to refund show action 19 19 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(); 21 21 }); 22 22 } … … 25 25 //Add to refund cancel action 26 26 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() { 29 29 jQuery(this).val(''); 30 30 }); … … 47 47 48 48 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'); 50 50 51 51 $items.each(function() { 52 52 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'); 54 54 55 55 refund_cost_fields.each(function( index, el ) { -
rd-wc-order-modifier/trunk/rd-wc-order-modifier.php
r3017866 r3030659 3 3 Plugin URI: 4 4 Description: Allows editing order items pricing inclusive of tax. 5 Version: 1.0.14 5 Version: 1.0.15 6 Tested up to: 6.4 6 7 Author: Robot Dwarf 7 8 Author URI: https://www.robotdwarf.com … … 37 38 } 38 39 39 define( 'RDWCOM_VERSION', '1.0.1 4' );40 define( 'RDWCOM_VERSION', '1.0.15' ); 40 41 define('RDWCOM_URL', plugin_dir_url( __FILE__ ) ); 41 42 define( 'RDWCOM_PATH', plugin_dir_path( __FILE__ ) ); -
rd-wc-order-modifier/trunk/readme.txt
r3017866 r3030659 3 3 Tags: woocommerce, tax, vat, orders, order editing, admin order, admin dashboard 4 4 Requires at least: 5.0 5 Tested up to: 6.4 .26 Stable tag: 1.0.1 45 Tested up to: 6.4 6 Stable tag: 1.0.15 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 62 62 == Changelog == 63 63 64 = 1.0.15 = 65 66 *Release Date - 02 February 2024* 67 *Fix some JS spacing 68 *Compatibility update 69 64 70 = 1.0.14 = 65 71 *Release Date - 05 January 2024*
Note: See TracChangeset
for help on using the changeset viewer.