luisramos0
|
267131626e
|
Fix typo and add test case to cover out of stock case
|
2019-07-16 10:58:25 +01:00 |
|
Luis Ramos
|
2280b15664
|
Merge pull request #4035 from kristinalim/fix/4033-remove_line_item_adjustments_when_line_item_removed
4033 Remove line item adjustments when line item removed
|
2019-07-16 09:54:33 +01:00 |
|
Transifex-Openfoodnetwork
|
f843a0b4d9
|
Updating translations for config/locales/en_AU.yml
|
2019-07-16 17:08:24 +10:00 |
|
Transifex-Openfoodnetwork
|
965a274332
|
Updating translations for config/locales/en_AU.yml
|
2019-07-16 17:05:40 +10:00 |
|
Transifex-Openfoodnetwork
|
cb2a842746
|
Updating translations for config/locales/en_AU.yml
|
2019-07-16 17:05:17 +10:00 |
|
luisramos0
|
a6655623d0
|
New admin orders edit view spec and workaround (current_ability) to make view specs work
|
2019-07-15 21:59:36 +01:00 |
|
luisramos0
|
2a2d05ad39
|
First view spec in OFN testing the print invoice button display in the orders list page
|
2019-07-15 21:59:36 +01:00 |
|
luisramos0
|
e8127d81dc
|
Change how we display variant name in order edit page, use VariantAndLineItemNaming helper method
|
2019-07-15 18:37:19 +01:00 |
|
luisramos0
|
cd7906a57b
|
Move translations from Spree.t to root and add them to en.yml
|
2019-07-15 17:48:10 +01:00 |
|
luisramos0
|
02c573f146
|
Remove logic that hides item split, because the partial is now in the ofn codebase, we can now simply remove the split-item button
|
2019-07-15 17:11:41 +01:00 |
|
luisramos0
|
112017a158
|
Remove variants/split partial from orders/shipments partial
In OFN we have one shipment per order so it doesnt make sense to split items between shipments
|
2019-07-15 17:07:33 +01:00 |
|
luisramos0
|
4a07d67037
|
Convert spree/admin/orders/_shipment partial from erb to haml
|
2019-07-15 16:42:45 +01:00 |
|
luisramos0
|
54156dfd32
|
Convert spree/admin/orders/_shipment_manifest partial from erb to haml
|
2019-07-15 16:42:19 +01:00 |
|
luisramos0
|
ee20d35487
|
Fix authorization issue in shipment actions, authorization was being done on a struct (shipment manifest), now it's done on the shipment itself
This is similar to https://github.com/spree/spree/pull/5624
|
2019-07-15 15:38:46 +01:00 |
|
luisramos0
|
be18244abc
|
Bring views/spree/admin/orders/_shipment and views/spree/admin/orders/_shipment_manifest from spree backend
|
2019-07-15 15:37:24 +01:00 |
|
luisramos0
|
02099ebdae
|
Remove details about stock in line_item_syncer so that we avoid confusing the user with stock numbers, this way the user will know what is the problem and can check stock levels and the order for more details
|
2019-07-14 21:40:57 +01:00 |
|
luisramos0
|
d153e58933
|
Swith line_item_syncer.create_new_items from deleting line item in the case of stock issue, to simply set the quantity to zero. This makes things easier later as the line item is already present if the user tries to change quantity of the subscription_line_item
|
2019-07-14 20:59:42 +01:00 |
|
luisramos0
|
c2a59a374c
|
Fix rubocop issues by simplifying method
|
2019-07-14 17:21:15 +01:00 |
|
luisramos0
|
2a1011921b
|
Reuse line_item_syncer.add_order_update_issue in line_item_syncer.update_item_quantities to add stock info to the update_quantity order issues
|
2019-07-14 16:43:46 +01:00 |
|
luisramos0
|
df27ee0d3e
|
Refactor line_item_syncer.add_order_update_issue out of line_item_syncer.create_new_items
|
2019-07-14 16:06:09 +01:00 |
|
luisramos0
|
c2851015ce
|
Fix deleting created item (destroy doesnt work before save) and add order_update_issue with message so that user can understand what happened
|
2019-07-14 15:58:00 +01:00 |
|
luisramos0
|
d0c246c345
|
Fix some rubocop issues
|
2019-07-14 12:28:32 +01:00 |
|
Kristina Lim
|
e58546a412
|
Move offcanvas menu content to separate partial
|
2019-07-14 13:52:47 +08:00 |
|
luisramos0
|
6aed9ba549
|
Make line_item_syncer delete new line items if stock is insufficient
|
2019-07-13 22:57:13 +01:00 |
|
luisramos0
|
4f2bc33ec3
|
Change line_item_syncer to verify stock if order is already complete, this will happen for orders in the current OC when a subscription is changed
|
2019-07-13 20:56:34 +01:00 |
|
luisramos0
|
0f3404ca27
|
Rename order_syncer.future_and_undated_orders to explicitly include completed orders from current OC: orders_in_order_cycles_not_closed
|
2019-07-12 22:20:09 +01:00 |
|
Kristina Lim
|
2c279fd02d
|
Remove line item adjustments if line item deleted
|
2019-07-13 03:58:01 +10:00 |
|
Kristina Lim
|
8a048cc155
|
Add proof line item adjustments remain after line item removal
|
2019-07-13 01:43:07 +08:00 |
|
Luis Ramos
|
b3c378e8c1
|
Merge pull request #4029 from Matt-Yorkley/js_render_blocking2
Js render blocking 2
|
2019-07-12 16:34:31 +01:00 |
|
Luis Ramos
|
39475be792
|
Merge pull request #4030 from Matt-Yorkley/line_item_errors
LineItems can always access soft-deleted variants
|
2019-07-12 16:33:36 +01:00 |
|
luisramos0
|
9e2e460ac5
|
Add date format to moment date conversion. This conversion was not working on firefox
|
2019-07-12 12:01:18 +01:00 |
|
luisramos0
|
18006ea9c8
|
Change devise config to speed up password encryption in tests
|
2019-07-12 10:12:53 +01:00 |
|
luisramos0
|
71b648e9fa
|
Add some tests to features/admin/users_spec from spree_auth_devise
|
2019-07-12 10:02:40 +01:00 |
|
luisramos0
|
eacd76bfa4
|
Add spec to features/admin/products_spec from spre_auth_devise
|
2019-07-11 19:47:17 +01:00 |
|
luisramos0
|
791ff842aa
|
Add some tests to models/spree/user_spec from spre_auth_devise
|
2019-07-11 19:39:31 +01:00 |
|
luisramos0
|
ac0123734a
|
Add some tests from spree/users_controller_spec from spree_auth_devise
|
2019-07-11 18:33:18 +01:00 |
|
luisramos0
|
7cab99efdf
|
Run transpec on users_controller
|
2019-07-11 18:07:23 +01:00 |
|
luisramos0
|
5378bb7b34
|
Add adapted version of spree/admin/users_controller_spec from spree_auth_devise
|
2019-07-11 17:45:56 +01:00 |
|
luisramos0
|
942824cd74
|
Improve comments in UserMailer
|
2019-07-11 16:37:30 +01:00 |
|
Pau Pérez Fabregat
|
bdeb56bfaf
|
Merge pull request #4028 from openfoodfoundation/transifex
Transifex
|
2019-07-11 17:28:38 +02:00 |
|
Matt-Yorkley
|
fb4e573cfa
|
Add a soft-deleted test in line_item_spec
|
2019-07-11 16:07:30 +01:00 |
|
Transifex-Openfoodnetwork
|
e65df31bc3
|
Updating translations for config/locales/nl_BE.yml
|
2019-07-12 00:29:50 +10:00 |
|
Transifex-Openfoodnetwork
|
ce1ac57522
|
Updating translations for config/locales/de_DE.yml
|
2019-07-11 23:53:17 +10:00 |
|
Transifex-Openfoodnetwork
|
09ff57d462
|
Updating translations for config/locales/en_BE.yml
|
2019-07-11 23:50:31 +10:00 |
|
Transifex-Openfoodnetwork
|
542cf0cf4f
|
Updating translations for config/locales/fr_BE.yml
|
2019-07-11 23:43:29 +10:00 |
|
Transifex-Openfoodnetwork
|
f4113745ce
|
Updating translations for config/locales/fr.yml
|
2019-07-11 23:11:32 +10:00 |
|
Transifex-Openfoodnetwork
|
6d197c53e0
|
Updating translations for config/locales/en_ZA.yml
|
2019-07-11 21:40:38 +10:00 |
|
Matt-Yorkley
|
b2c6e6271c
|
LineItems can always access soft-deleted variants
|
2019-07-11 11:33:34 +01:00 |
|
Luis Ramos
|
cdd36eeefc
|
Merge pull request #3674 from Matt-Yorkley/spree2/import_description
Allow import to proceed when updating a product and `description` is set
|
2019-07-10 21:09:30 +01:00 |
|
Matt-Yorkley
|
97148f6f57
|
Send embedded Stripe javascript to :injection_data
|
2019-07-10 19:28:20 +01:00 |
|