luisramos0
d3130e111f
Remove on click events
...
These events can only be added to OFN when spree_backend is removed otherwise the evetns will be registered twice
2020-02-04 14:47:51 +00:00
luisramos0
93f4eee887
Make newly imported js files compatible with the karma build
2020-02-04 14:47:51 +00:00
luisramos0
408ada9097
Remove unnecessary build exception
2020-02-04 14:47:51 +00:00
luisramos0
289b99c30e
Bring and require equalize from spree_backend
2020-02-04 14:47:26 +00:00
luisramos0
f85c36a17e
Bring and require select2 from spree_backend
2020-02-04 14:47:26 +00:00
luisramos0
4715df3258
Bring and require jquery.horizontalNav.js from spree_backend
2020-02-04 14:47:26 +00:00
luisramos0
b20be101cc
Bring and require spin from spree_backend and respective progress indicator js and css
2020-02-04 14:47:26 +00:00
luisramos0
d424987587
Bring and require jquery.vAlign.js from spree_backend
2020-02-04 14:47:26 +00:00
luisramos0
a0575430dd
Require spree.js from spree_core for some basic functions like Spree.url
2020-02-04 14:46:57 +00:00
luisramos0
c1e6344b18
Merge spree js function and override
2020-02-04 14:46:57 +00:00
luisramos0
ed0198382f
Bring spree_backend admin.js.erb, rename it to base.js.erb and remove requires that are not used in ofn
2020-02-04 14:46:57 +00:00
luisramos0
87366ae7fc
Remove usage of jConfirm so that we dont have to bring dependency jquery.alerts from spree_backend
2020-02-04 09:33:58 +00:00
luisramos0
27aea0b277
Bring js code from spree_backend to make taxons admin work
2020-02-04 09:33:58 +00:00
luisramos0
6c7991be75
Bring jquery.jstree from spree_backend
2020-02-04 09:33:34 +00:00
luisramos0
3f81352df5
Bring jquery.cookie from spree_backend
2020-02-04 09:33:34 +00:00
luisramos0
4c51d60bfd
Make pagination optional in the ExchangeProductsController
2020-02-03 13:11:26 +00:00
Luis Ramos
a0475ee8a4
Merge pull request #4613 from luisramos0/autocomplete
...
Bring remaining variants autocomplete (and related) JS code from spree_backend
2020-01-31 16:08:50 +00:00
luisramos0
9a52a127a4
Add js code needed in the product images page
2020-01-30 11:36:09 +00:00
luisramos0
4f0e441407
Bring and require responsive-tables js and css from spree_backend
2020-01-30 11:36:09 +00:00
luisramos0
26bb8cc337
Bring powertip from spree_backend, including js and css
2020-01-28 14:07:45 +00:00
luisramos0
667f44336d
Remove unused split logic from variant autocomplete, the split functionality is not used in ofn because we only have one stock location
2020-01-28 13:53:04 +00:00
luisramos0
0a136ff2fb
Comment out click event registration as this will duplicate events until the spree_backend code is there
...
These can be activated when spree_backend is removed
2020-01-28 13:53:04 +00:00
luisramos0
3f3577e73c
Remove encoding tag from admin/spree/orders js files
2020-01-28 13:53:04 +00:00
luisramos0
b8aee4e857
Bring address_states as is from spre_backend
2020-01-28 13:53:04 +00:00
luisramos0
cfe3435851
Bring shipments.js as is from spree_backend
2020-01-28 13:53:04 +00:00
luisramos0
53e342ba1a
Bring variant_autocomplete from spree_backend as is
2020-01-28 13:53:04 +00:00
luisramos0
6bdb14248c
Require lodash.underscore to support _. calls in js
...
spree_backend relies on Underscore.js 1.4.4, from Jan 2013, in some auto complete functions, here we will be depending on Lo-Dash 2.4.1, from Dec 2013
2020-01-28 13:53:03 +00:00
luisramos0
8e27291b15
require handlebars extensions from spree_core to allow translations inside handlebar templates
2020-01-28 13:52:19 +00:00
luisramos0
a5f222b067
Bring css_browser_selector_dev from spree_backend and respective hacks
2020-01-23 14:45:35 +00:00
luisramos0
0ec39106b1
Bring modernizr from spree_backend
2020-01-23 14:45:35 +00:00
luisramos0
2c59b522de
Reorganize admin/all.js in meaningful groups
2020-01-23 14:45:35 +00:00
Luis Ramos
3080eb9dfd
Merge pull request #4578 from kshlyk/remove_soft_delete_from_product_and_variant_api
...
Removing duplicate API method soft_delete for both products and variants
2020-01-14 11:32:10 +00:00
Luis Ramos
3171b60d6f
Merge pull request #4580 from Matt-Yorkley/order_capture
...
Use asynchronous requests for order capture and ship actions
2020-01-13 17:14:40 +00:00
Matt-Yorkley
a3ee6674ea
Use asynchronous requests for order capture and ship actions
2019-12-18 14:15:46 +01:00
Konstantin Shlyk
e6ca6bacac
soft_delete api method deleted for products and variants
2019-12-14 01:05:35 +03:00
Luis Ramos
db7146014c
Rename exchange products file names to increase clarity
2019-12-13 12:24:19 +00:00
luisramos0
99e59595b4
Add spinner when loading all products in an exchange
2019-12-12 18:48:36 +00:00
luisramos0
7e3b6e2b5d
Fix select all checkbox state in both incoming and outgoing exchanges by using the total count of variants to see if all variants are selected or not, even if not all variants are loaded
2019-12-12 18:48:36 +00:00
luisramos0
1a9c3007b0
Make select all work again in incoming exchanges by loading alll products before triggering the select all process
2019-12-12 18:48:35 +00:00
luisramos0
2f7fd1482a
Add link to load all products at the top of the list of products and include summary of number of products loaded already
2019-12-12 18:48:35 +00:00
luisramos0
0416521772
Add load all prouducts button to list of exchange products
2019-12-12 18:48:35 +00:00
luisramos0
cfe3f72d0e
Add load more button to list of exchange products
2019-12-12 18:48:35 +00:00
luisramos0
00478cc57c
Add count variants endpoint and use it instead of loading exchange products
2019-12-12 18:48:35 +00:00
luisramos0
d5e42ee1e5
Paginate exchange products results
...
This commit breaks the OC page when there are more than 100 products in an exchange
2019-12-12 18:48:35 +00:00
luisramos0
9451f1b66d
Remove funky panel open listener code and initialize the panel data with a ng-init in the panel template
2019-12-12 18:44:45 +00:00
luisramos0
a4a2f98b6e
Rename Product service to more appropriate ExchangeProduct
2019-12-12 18:44:45 +00:00
luisramos0
f5ddbfbac3
Make Product service more simple, there's no need to keep the data structure, that is already kept in the controller
2019-12-12 18:44:45 +00:00
luisramos0
a66a4c3edb
Remove unnecessary passing of scopes around in controllers
2019-12-12 18:44:45 +00:00
luisramos0
8179252924
Replace the use of this with
2019-12-12 18:44:45 +00:00
luisramos0
79b2460664
Make simple create and edit OC load exchange products on init
...
Simple create makes a new type of call to exchange products with no exchange_id and no prder_cycle_id, it simply lists supplied products for a given enterprise
2019-12-12 18:44:44 +00:00