Rob Harrington
|
533a94267a
|
Refactoring save-bar
|
2016-05-25 08:10:20 +10:00 |
|
Rob Harrington
|
162b11dcc5
|
Updating spec to new Jasmine syntax
|
2016-05-25 08:10:20 +10:00 |
|
Rob Harrington
|
245db8971a
|
Fixing specs broken by faster PhantomJS
|
2016-05-25 08:10:20 +10:00 |
|
Rob Harrington
|
7a498362b3
|
Upgrading AngularJS specs to Jasmine 2 syntax
|
2016-05-25 08:10:20 +10:00 |
|
Rob Harrington
|
cf94d67caf
|
Preventing default submit behaviour for order cycle form submission buttons
|
2016-05-25 08:10:20 +10:00 |
|
Rob Harrington
|
9fc7908af5
|
Removing '?' to meet expectations of js spec
|
2016-05-25 08:10:20 +10:00 |
|
Bing Xie
|
8b5e5105a8
|
Fix failed tests
|
2016-05-04 12:45:23 +10:00 |
|
Bing Xie
|
019e16c5ba
|
Update AdminEditOrderCycleCtrl unit tests
|
2016-05-04 12:45:23 +10:00 |
|
Rohan Mitchell
|
c1a80b1e8f
|
Require confirmation when saving an order cycle without distributors
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
ccb23cd186
|
Do not allow re-adding exchange
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
ef603a070e
|
Add methods to check for novel suppliers and distributors in an order cycle
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
036ffeb634
|
Enterprise service splits enterprises into hubs and producers
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
a2c0088c91
|
Do not show flash message if we're performing an async update without reload
|
2015-12-10 09:17:24 +11:00 |
|
Rohan Mitchell
|
29bfac5f54
|
Order cycle interface may update or update and close
|
2015-12-10 09:17:24 +11:00 |
|
Rob Harrington
|
66d1e4297e
|
WIP: Renaming admin.order_cycles to admin.orderCycles for consistency
|
2015-11-05 14:40:42 +11:00 |
|
Rob Harrington
|
81a745420e
|
Only check editable status of variants when actually selecting
|
2015-04-09 15:24:45 +10:00 |
|
Rob Harrington
|
36c5cdf556
|
Only show enterprises with fees in order cycle edit page
|
2015-04-06 14:08:10 +10:00 |
|
Rob Harrington
|
d516795774
|
Fetching Enterprise Fees for order cycle, using new enterprisefee serializer
|
2015-04-06 13:06:21 +10:00 |
|
Rob Harrington
|
43d2eb4d22
|
Adding 'new' method to admin order cycle service, for loading data from serializer for new OCs
|
2015-03-27 16:16:12 +11:00 |
|
Rob Harrington
|
45f6042d3d
|
Enterprises etched by for_order_cycle action now use permissions scoped using an order cycle or coordinator
|
2015-03-27 16:16:10 +11:00 |
|
Rob Harrington
|
a1aa9512a8
|
Fixing angular order_cycle controller spec
|
2015-03-27 16:16:10 +11:00 |
|
Rob Harrington
|
d7ea81e821
|
Prevent default form action from submitting ordercycle forms
|
2015-01-22 10:19:47 +11:00 |
|
Rohan Mitchell
|
2ad823a79d
|
Fix JS specs
|
2014-10-23 09:39:23 +11:00 |
|
Rohan Mitchell
|
4fb30f2942
|
When removing outgoing exchanges, do not removing variants from other outgoing exchanges
|
2014-09-12 12:50:04 +10:00 |
|
Rohan Mitchell
|
57af658e7c
|
For OC, fetch all enterprises we have access to, including those via E2E relationships
|
2014-09-05 15:10:13 +10:00 |
|
Will Marshall
|
8084262efe
|
Patching a test and removing our duped Angular libs
|
2014-04-08 18:09:02 +10:00 |
|
Will Marshall
|
5ac5b74f01
|
Setting up a Rake task for Jasmine/Karma
|
2014-04-08 18:09:02 +10:00 |
|
Rohan Mitchell
|
9687e8867e
|
Fix order cycle failing to save after a failing submit to server
|
2014-04-08 18:06:49 +10:00 |
|
Rohan Mitchell
|
fddfdf8050
|
Select all supplied products on order cycle admin page
|
2014-03-28 15:34:26 +11:00 |
|
Rohan Mitchell
|
3104d285ca
|
Order cycle admin JS uses exchanges.incoming instead of role
|
2014-03-27 09:30:53 +11:00 |
|
Will Marshall
|
63dfa0b696
|
Getting the test framework set up for Angular, setting up a products fetch stub
|
2013-12-06 15:24:42 +11:00 |
|
Rohan Mitchell
|
5c9c96e174
|
Do not error if order cycle loads before enterprises
|
2013-10-24 13:40:27 +11:00 |
|
Rohan Mitchell
|
12061fd485
|
Order cycle admin does not allow save until page is loaded
|
2013-10-23 14:59:50 +11:00 |
|
Rohan Mitchell
|
1d4198d402
|
Removing a supplier exchange removes variants from distribution
|
2013-09-30 09:46:39 +10:00 |
|
Rohan Mitchell
|
d100d12ebe
|
When a variant is removed from supply to an order cycle, remove it from distribution also
|
2013-09-20 11:11:59 +10:00 |
|
Rohan Mitchell
|
4d04a24342
|
Translate exchange fees for processing by rails
|
2013-08-16 10:22:29 +10:00 |
|
Rohan Mitchell
|
e6fdcf581a
|
OrderCycle can fetch the direction of an exchange (incoming/outgoing)
|
2013-08-16 10:22:29 +10:00 |
|
Rohan Mitchell
|
8ff749d0eb
|
Find enterprises participating in an order cycle
|
2013-08-14 09:48:45 +10:00 |
|
Rohan Mitchell
|
0293942816
|
Add order cycle service method to add and remove exchange fees
|
2013-08-14 09:48:45 +10:00 |
|
Rohan Mitchell
|
47f6a5fbbf
|
Add controller methods to add and remove exchange fees
|
2013-08-14 09:48:45 +10:00 |
|
Rohan Mitchell
|
4120bc3dca
|
Output exchange fees as JSON
|
2013-08-14 09:48:45 +10:00 |
|
Rohan Mitchell
|
d64bcf0e94
|
Remove coordinator fees
|
2013-07-30 11:55:21 +10:00 |
|
Rohan Mitchell
|
24b957dc57
|
Process coordinator fees before submit to Rails to use _ids field. Add ng spec for OrderCycle.update. Add acceptance specs for create/edit/update coordinator fees.
|
2013-07-30 11:34:10 +10:00 |
|
Rohan Mitchell
|
dc7f8986a0
|
Click to add coordinator fee
|
2013-07-30 11:34:10 +10:00 |
|
Rohan Mitchell
|
ae0f82b479
|
Display only coordinator fees belonging to the selected coordinator
|
2013-07-30 11:34:10 +10:00 |
|
Rohan Mitchell
|
13a1809d6c
|
Load enterprise fees in controllers
|
2013-07-30 11:34:10 +10:00 |
|
Rohan Mitchell
|
93e7ac53ad
|
Add EnterpriseFee service for order cycles admin
|
2013-07-30 11:34:10 +10:00 |
|
Rohan Mitchell
|
0a2ce30bb6
|
Only show variants for distribution that are supplied to the order cycle
|
2013-01-18 11:52:01 +11:00 |
|
Rohan Mitchell
|
3991199c30
|
Only show products for distribution that have been supplied to the order cycle
|
2013-01-17 10:49:59 +11:00 |
|
Rohan Mitchell
|
850d65958b
|
Build Enterprise.supplied_products, an array of all products supplied by any enterprise
|
2013-01-15 12:21:13 +11:00 |
|