luisramos0
|
2709f237f5
|
Move image_format deface to image settings view
|
2019-07-16 14:44:38 +01:00 |
|
luisramos0
|
9db4edcd0d
|
Convert spree/admin/image_settings/edit.html from erb to haml
|
2019-07-16 14:43:20 +01:00 |
|
luisramos0
|
22c9f33f4c
|
Bring image_settings view from spree_backend
|
2019-07-16 14:39:14 +01:00 |
|
luisramos0
|
24ea2a4398
|
Move number_localization deface to general settings view
|
2019-07-16 14:28:47 +01:00 |
|
luisramos0
|
8178f5388c
|
Move legal settings deface to general settings view
|
2019-07-16 14:27:32 +01:00 |
|
luisramos0
|
c0c5e9d7dd
|
Move embedded_shopfronts deface to general settings view
|
2019-07-16 14:26:33 +01:00 |
|
luisramos0
|
19f8f5c6fa
|
Convert general_settings/edit.html from erb to haml
|
2019-07-16 14:15:51 +01:00 |
|
luisramos0
|
83a306c31b
|
Convert class attributes to . notation in haml
|
2019-07-16 14:09:48 +01:00 |
|
luisramos0
|
d6020cdb6f
|
Bring general_settings/edit.html.erb from spree_backend to de-deface it
|
2019-07-16 13:57:35 +01:00 |
|
luisramos0
|
3b467dbae8
|
Adapt line_item_syncer to the case where item is not added to the completed order because of insufficient stock and the subscription quantity is updated for that item afterwards
|
2019-07-16 12:08:08 +01:00 |
|
luisramos0
|
306390440a
|
Revert "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"
This reverts commit d153e58933.
|
2019-07-16 11:00:21 +01:00 |
|
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 |
|
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 |
|
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
|
942824cd74
|
Improve comments in UserMailer
|
2019-07-11 16:37:30 +01: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 |
|
Matt-Yorkley
|
6219b3f0c3
|
Revert "Revert "Fix JS render-blocking in Darkswarm""
This reverts commit ffeca41e
|
2019-07-10 17:14:08 +01:00 |
|
Maikel
|
ffeca41ef4
|
Revert "Fix JS render-blocking in Darkswarm"
|
2019-07-10 10:24:25 +10:00 |
|
Luis Ramos
|
23b6267e30
|
Merge pull request #3916 from luisramos0/schedules_of_coordinator
OC schedules are now filtered to schedules of OCs with same coordinator
|
2019-07-09 14:21:34 +01:00 |
|
Luis Ramos
|
6872ccfb72
|
Merge pull request #3963 from luisramos0/hide_invoices
Hide invoices feature
|
2019-07-09 14:20:50 +01:00 |
|
Luis Ramos
|
83ce2ac3dc
|
Merge pull request #3988 from Matt-Yorkley/js_render_blocking
Fix JS render-blocking in Darkswarm
|
2019-07-09 12:30:30 +01:00 |
|
Jon Leighton
|
4398ea12b8
|
Convert several fields from string to text
See discussion here:
https://github.com/openfoodfoundation/openfoodnetwork/pull/3751#issuecomment-503416955
Fixes #3192.
I have also done a pass over the schema to identify other fields which
would benefit from being a text rather than a string. However, I ignored
all `spree_*` tables because I didn’t want to mess up the ‘default’
Spree schema.
|
2019-07-09 13:11:30 +10:00 |
|
Luis Ramos
|
8a700307d2
|
Merge pull request #3992 from Matt-Yorkley/cart_button_bug
Fix display bug in cart button on mobile menu
|
2019-07-08 18:33:36 +01:00 |
|
luisramos0
|
86accc227e
|
Convert erb files brought from spree_auth_devise to haml
|
2019-07-08 18:09:03 +01:00 |
|
Luis Ramos
|
1756ddd0e9
|
Merge pull request #3989 from Matt-Yorkley/preload_primary_font
Preload primary font to speed up page rendering
|
2019-07-08 17:43:15 +01:00 |
|
Luis Ramos
|
fe71781d70
|
Merge pull request #3791 from jazzdragon/1766-registration-scroll
1766 registration scroll
|
2019-07-08 15:10:35 +01:00 |
|