Commit Graph

134 Commits

Author SHA1 Message Date
Mike Jolley 1fa36b5f15 Fix JS state/country inputs 2018-03-09 16:25:42 +00:00
Claudio Sanches ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Mike Jolley 6f855c781f Fix response/ajax handling for #18080 2018-02-19 14:56:30 +00:00
Mike Jolley 5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Caleb Burks c278bffa78 Set maxlength for order item meta key 2018-02-09 22:33:35 -05:00
Caleb Burks cb154b5d40 Add button for copying DL link 2017-12-13 23:57:47 -06:00
Caleb Burks 274e5c3aa2 Hide manage stock buttons if inventory is disabled 2017-12-09 23:02:40 -06:00
Caleb Burks bb3a500564 Woops - ignore xD 2017-12-09 22:48:49 -06:00
Caleb Burks 94ffd6ff29 Remove duplicate code 2017-12-09 22:47:23 -06:00
Caleb Burks 457e60d253 Allow for multiple stock updates at once 2017-12-09 22:22:41 -06:00
Caleb Burks 4f187a0840 Ajaxify the order note addition 2017-12-09 00:32:35 -06:00
Mike Jolley 72e078e83e Merge branch 'fix/17236'
# Conflicts:
#	includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Mike Jolley f54b240539 No need to reload if redirecting 2017-11-08 15:21:13 +00:00
Grzegorz Rola 56e8b8bc57 Refresh order edit page on every refund. Ie. when refund generates some data for custom meta boxes. 2017-11-04 16:40:52 +01:00
Mike Jolley ecebe6271b minify 2017-11-02 17:32:51 +00:00
Mike Jolley 10ea761a7d Pass order location through to order ajax functions which recalc taxes.
Closes #17236
2017-11-02 17:31:03 +00:00
Gerhard Potgieter 1e66cedaf0 Save order items before adding new one when there are unsaved changes. Closes #17384 (#17402) 2017-10-27 12:38:10 +01:00
Claudio Sanches faa614ffa7 Merge branch 'master' into fix/17308-remove-item-reloads-unsaved-items 2017-10-25 19:47:54 -02:00
Claudio Sanches f38a7d5cc0 Fixed coding standards and minify 2017-10-25 19:45:46 -02:00
Mike Jolley ba39232a6a Make select2 input focussed when the add item panel is shown.
Closes #17310
2017-10-20 16:33:12 -07:00
Gerhard Potgieter ec1a70ad14 When deleting an order item and there are changes to other items, first save those before deleting. 2017-10-20 11:51:16 -07:00
Mike Jolley e0421cd7bc Replay protection on refunds
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.

Fixes #13614
2017-09-28 16:17:13 +01:00
Mike Jolley e0b4d59bb6 Merge pull request #16566 from franticpsyx/reload-order-items-on-add
Reload items table after adding line item manually
2017-08-29 10:08:29 +01:00
Mike Jolley f18a146d0f Prompt to apply fee in admin 2017-08-23 11:22:18 +01:00
Manos Psychogyiopoulos 1596979d75 Reload order items on add 2017-08-22 15:19:20 +03:00
Mike Jolley a9a93436fc rename ajax method 2017-08-18 10:59:55 +01:00
Mike Jolley 1d95593131 Localise message 2017-08-18 10:58:11 +01:00
Mike Jolley 1efdb64b10 Remove css and js 2017-08-18 10:39:29 +01:00
Mike Jolley e99471c0cd Removed manual discounts code 2017-08-18 10:36:10 +01:00
claudiulodro 1b7bc60ea2 Fix fatal errors in bulk order item delete 2017-08-11 08:40:13 -07:00
Mike Jolley 87858d1407 recalc on remove/add 2017-08-10 16:32:24 +01:00
Mike Jolley 06381f28bd Edit items rather than recreate 2017-08-10 11:38:09 +01:00
claudiulodro 360286bbbf Forgot js 2017-08-09 15:18:39 -07:00
Mike Jolley c556facd41 Fix percent coupon and display 2017-08-09 19:02:10 +01:00
Mike Jolley f95a1e4231 Ajax trigger for button 2017-08-09 14:55:53 +01:00
claudiulodro f02c9376c4 Move calls to selectWoo() 2017-06-26 12:44:33 -07:00
Mike Jolley 63e8221e2c Add required placeholder for meta fields
Closes #14700
2017-04-26 11:35:34 +01:00
Mike Jolley 2a4103d776 Removed the non-functional order total input and combine the recalculation buttons into one working button.
Fixes #14494
2017-04-18 19:44:42 +01:00
Mike Jolley f21997d661 Send items in one request rather than multiple requests 2017-02-23 10:19:32 +00:00
Mike Jolley 649f55b494 Load default country/state on edit
Closes #13061 Fixes #12899
2017-02-08 10:56:00 +00:00
Mike Jolley 1749551021 Customer crud 2016-11-24 15:31:05 +00:00
Rami Yushuvaev e71cae8d8f a11y: make order notes metabox accessible 2016-11-05 18:56:03 +02:00
Mike Jolley b4e05154d7 Error handling for adding items 2016-08-25 14:22:27 +01:00
Mike Jolley 21ad196297 Use CRUD in wc_save_order_items 2016-08-19 13:43:33 +01:00
Mike Jolley 53511e36ec Use permission id to revoke access to downloads to prevent removing wrong rows.
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Claudio Sanches 06dbc81d66 Always prevent default/return false #10907 2016-05-12 16:48:06 -03:00
corsonr 52f3cb3d8a Add order note deletion confirmation 2016-05-12 10:04:32 +02:00
Mike Jolley 2cc0ac294e Fix return on add_metadata
Fixes #10892
2016-05-11 15:28:40 +01:00
Mike Jolley ca5a46a2f9 Allow bulk deletion of refunds 2016-03-23 16:32:12 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00