Peter Fabian
b22c788081
Added tracks for Recalculate button and edit/remove/save line items.
2019-06-06 18:14:21 +02:00
Jeff Stieler
a22c1dabf3
Track when billing or shipping address edit buttons are clicked.
2019-06-06 16:12:09 +02:00
Jeff Stieler
9776cbc2d8
Track order tax column deletion.
2019-06-06 13:18:29 +02:00
Rodrigo Primo
3d12ec4ae2
Remove extra comma to prevent issues with older versions of IE
...
This commit simply removes an extra comma that was added in
52fced8d7a
to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:
```
Running "jshint:all" (jshint) task
assets/js/admin/meta-boxes-order.js
413 | user_email : user_email,
^ Extra comma. (it breaks older versions of IE)
```
We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00
Gerhard Potgieter
b2ed079520
Manual orders coupon usage limits by email ( #23775 )
...
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.
* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
Chirag3119
58c3374276
#23602 - I have fixed issue.
2019-05-03 15:02:55 +05:30
Mike Jolley
308d08f97e
Run grunt tasks
...
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley
f2ca110a46
Add default text using .text()
2019-03-19 16:59:16 +00:00
Mike Jolley
5bb58cc14b
Add props via jquery, not direct
2019-03-19 16:59:08 +00:00
Mike Jolley
143068332d
Pass user ID when adding coupons via admin
2019-03-08 16:14:49 +00:00
Mike Jolley
e830bd739a
Use taxable address when adding/removing coupons
2019-02-21 16:23:20 +00:00
Mike Jolley
5bb5ae6265
Update from master
2019-02-18 16:54:24 +00:00
Mike Jolley
247fd3f610
Update notes with response
2019-01-03 13:37:32 +00:00
Mike Jolley
5ef45f51f6
Stock handling in ajax class only
2019-01-03 12:23:49 +00:00
Joshua Flowers
dc12b7d2d6
Use reload instead of assigning href to window.location
2018-12-17 10:27:20 +08:00
Joshua Flowers
a16eba8543
Strip hash from URL that prevents reload on refunds
2018-12-04 10:11:40 +08:00
Diego
b8d2f548f3
Added triggering of JS events on "recalculate" action on Edit Order page
...
* Ref. https://github.com/woocommerce/woocommerce/issues/21181
2018-08-24 09:56:20 +01:00
Mike Jolley
04e304921a
Show stock based on querystring var
2018-06-15 15:11:07 +01:00
Mike Jolley
52854b7690
Add qty to order via modal, include stock qty in formatted name display for reference
2018-06-08 16:18:32 +01:00
Mike Jolley
ce8eabc4a5
Include qty and reduce stock field on add item modal
2018-06-08 12:19:14 +01:00
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Manos Psychogyiopoulos
ee3388762f
Dry up code using 'reloaded_items'
2018-05-15 15:17:11 +03:00
Manos Psychogyiopoulos
285a86c3d4
Add 'wc_order_items_reload' and 'wc_order_items_reloaded' event listeners
2018-05-15 15:16:21 +03:00
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