Luis Ramos
8a75fe777c
Refactor enterprises controller to reduce code duplication
2020-08-31 17:40:34 +01:00
Luis Ramos
66587ccc00
Allow user to remove terms and conditions file
2020-08-31 17:40:34 +01:00
Luis Ramos
24cdd0c467
Refactor enterprise controller to reduce code duplication
2020-08-31 17:40:34 +01:00
Luis Ramos
0974c4b2ac
Move enterprise images translations to the correct place using lazylookup on the server and to main js: namespace for js translations
2020-08-31 17:40:34 +01:00
Steve Roberts
4573127c59
Add NavigationCheck to order cycles edit form
...
- Simplify if statements with safe navigation operator
- Simplify order cycle nav check spec
- Rename nav check callback so a comment is not needed and remove unnecessary assignation to $scope
2020-05-06 10:43:21 +10:00
Kristina Lim
ce0758d420
Add confirm dialog for enterprise image removal
2018-09-04 02:08:26 +08:00
Kristina Lim
368612cad6
Allow removal of enterprise logo and promo image
2018-09-04 02:08:25 +08:00
Maikel Linke
3fc49d5935
Simplify code
2018-04-23 12:55:49 +10:00
Matt-Yorkley
cd4268d219
Add manager dropdown UX
2018-04-23 12:55:49 +10:00
Pau Pérez Fabregat
13115d4a2d
Merge branch 'master' into email/manager_invite
2018-03-23 12:56:10 +01:00
Matt-Yorkley
3fad51d271
Clearer angular method naming
2018-03-16 17:32:40 +00:00
Matt-Yorkley
5f0075f8b7
Refactor to use new REST resource
2018-03-16 17:32:38 +00:00
Matt-Yorkley
b64327fbb3
Invite enterprise manager functionality
2018-03-15 18:48:47 +00:00
Matt-Yorkley
5c6624e1d1
Tidy up setDirty() calls in enterprise_controller.js
2018-03-15 12:58:05 +00:00
Matt-Yorkley
4953c69123
Fix enterprise user unsaved changes
2018-03-14 23:04:54 +00:00
Matt-Yorkley
b893dea810
Make sure userSelect directive uses our Admin::UserSerializer instead of base Spree api view
2018-02-07 10:41:53 +11:00
Matt-Yorkley
fffae46a63
Remove enterpriseRoles from enterprsies controller
2018-02-07 10:41:53 +11:00
Matt-Yorkley
15b781b271
Update enterprise managers and contact role
2018-02-07 10:41:52 +11:00
Matt-Yorkley
27de66b055
Owner's permissions can't be deleted
2018-02-07 10:41:52 +11:00
Matt-Yorkley
ba98c7e2c5
Rewrite enterprise contact functionality
2018-02-07 10:41:52 +11:00
Continuous Integration
5870927518
Merge remote-tracking branch 'origin/master' into HEAD
2017-02-10 16:42:27 +11:00
Rob Harrington
8afd5c509b
Using coffescript syntax to check for presence of enterprise_form
2017-02-08 15:59:11 +11:00
Matt-Yorkley
311f72e4cb
Fixing JS spec failure
2017-02-08 15:59:11 +11:00
Matt-Yorkley
78563a7d75
Changed for build failure
2017-02-08 15:59:11 +11:00
Matt-Yorkley
9284dd9b63
Enable save after deleting enterprise manager
2017-02-08 15:59:11 +11:00
Maikel Linke
b8622e95b7
Re-use NavigationCheck logic
...
The enterprise switcher now uses the same code as NavigationCheck to
confirm leaving a changed form. This makes FormState obsolete.
Conflicts:
app/assets/javascripts/admin/enterprises/controllers/enterprise_controller.js.coffee
2017-02-02 10:58:32 +11:00
Matt-Yorkley
931e528e14
Code review changes
2017-01-22 18:55:28 +00:00
Matt-Yorkley
287e0b5b55
Enterprise switcher and navigation check
2016-12-09 15:15:42 +00:00
Rohan Mitchell
3e565ad7cb
Mark admin enterprises form dirty when property removed
2016-11-04 09:39:17 +11:00
Bing Xie
33fd88507d
Fix failed tests
2016-06-15 10:51:34 +10:00
Bing Xie
d8bf66a6c9
Use save bar on enterprise editing page
2016-06-15 10:51:34 +10:00
Bing Xie
2065d81bb4
Use save bar directive in enterprise editing page
2016-06-15 10:51:34 +10:00
Maikel Linke
071ee9ab54
Add brackets to t call in js line items controller
...
The missing brackets made all columns of the bulk order management
invisible.
Also removed trailing whitespaces.
2016-03-09 18:39:23 +11:00
knopfler81
ed48b691e1
translations in app/assets/javascripts/admin
2015-12-21 10:11:08 +01:00
Emmanuel
30141bd488
few translations in app/assets/javascripts/admin/
2015-12-21 10:11:08 +01:00
Rob Harrington
a586a52c23
Shortcutting around existing Enterprise service, so that we can use it for something more useful
2015-06-12 01:49:36 +08:00
Rob Harrington
5c09ebf138
Adding manager managment to enterprise edit form
2015-02-12 11:34:58 +11:00
Rob Harrington
ee5ab22501
Moving interface for changing owner to new 'Users' tab
2015-02-12 11:34:58 +11:00
Rob Harrington
b429be707c
Split out payment and shipping methods from admin enterprises controller as services
2015-01-22 12:19:41 +11:00
Rob Harrington
d12fdd23fb
Fixing navcheck callback
2015-01-22 10:46:01 +11:00
Rob Harrington
a0990c107f
Moving navigation check to controller
2015-01-22 10:19:44 +11:00
Rohan Mitchell
83754a01ef
Make side menu item visibility declarative
2015-01-15 13:43:39 +11:00
Rob Harrington
24cf3dee74
Hiding Shop Preferences in enterprise form
2014-12-19 14:05:24 +11:00
Rob Harrington
b18163bfaf
Remove separate long description injection, use full enterprise serializer instead
2014-12-19 14:04:01 +11:00
Rob Harrington
a489aa7ad9
Fixing enterprise feature spec, adding first shop preference
2014-12-19 14:04:00 +11:00
Rob Harrington
76acd706ea
Adding ability to show and hide menu items
2014-12-19 14:03:59 +11:00
Rob Harrington
f86d4a1996
Pulling headings out of enterprise form partials, displaying each conditionally
2014-12-19 14:03:24 +11:00
Maikel Linke
440044372b
Leave-page-warning only after changing inputs
...
The enterprise form is now set 'dirty' whenever an input changes. The
navigation callback confirms to leave the page only if the form is
dirty.
2014-12-11 14:27:08 +11:00
Rob Harrington
7a719952fc
Adding informative messages about email confirmations to enterprise form
2014-11-12 15:20:52 +11:00
Rafael Schouten
96ff387d1f
fix navigation check on submission
2014-10-22 15:34:31 +11:00