Rob Harrington
|
60a3d8e0d1
|
Restrict bulk updating order cycles at controller level
|
2015-04-09 12:27:43 +10:00 |
|
Rob Harrington
|
adc1b639bc
|
Merge remote-tracking branch 'origin/master' into complex_oc
|
2015-04-08 14:38:27 +10:00 |
|
Rob Harrington
|
61a9e2f7cc
|
Add a referer for all admin enterprise controller specs
|
2015-04-08 14:36:56 +10:00 |
|
Rob Harrington
|
f6e635466b
|
Rearranging elements on the order cycle form a little bit
|
2015-04-08 14:31:18 +10:00 |
|
Rob Harrington
|
b1624a733e
|
Editable variants for incoming exchanges for hubs include those for producers that have granted my hub P-OC
|
2015-04-08 13:38:37 +10:00 |
|
Rob Harrington
|
b8ce6ed0fc
|
Coordinator can see any enterprises that are already in the order cycle
|
2015-04-08 13:28:49 +10:00 |
|
Rob Harrington
|
104a8ddecf
|
Refactor order_cycle_enterpises_for permission method, now requires an order cycle
|
2015-04-08 13:00:17 +10:00 |
|
Rob Harrington
|
4dcfec1de9
|
make enterprises_for_order_cycle permissions more correct
|
2015-04-08 12:12:02 +10:00 |
|
Rob Harrington
|
24062e5585
|
Adding permissions for outgoing hubs to see producers whose variants they are distributing, despite P-OC not existing
|
2015-04-08 10:15:50 +10:00 |
|
Rob Harrington
|
4a87798bb4
|
Variants belonging to a producer I manager that are already in an outgoing an exchange need not be editable
|
2015-04-06 23:30:43 +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
|
7448d41b27
|
Adding abilities for new for_order_cycle action
|
2015-04-06 10:23:39 +10:00 |
|
Rob Harrington
|
a4b80b1f33
|
Implement editable scope for variants on order cycles page
|
2015-04-06 09:15:14 +10:00 |
|
Rob Harrington
|
f20844c2a0
|
Adding editable scope for variants in outgoing exchanges
|
2015-04-05 15:25:44 +10:00 |
|
Rob Harrington
|
009b25a491
|
Adding an editable variants scope for incoming exchanges
|
2015-04-05 13:59:00 +10:00 |
|
Rob Harrington
|
bf87394a76
|
Fixing order cycle feature spec
|
2015-04-05 10:58:06 +10:00 |
|
Lynne Davis
|
ffd850c761
|
Adding specs for variable weight adjustment via builk order management
|
2015-04-04 19:20:41 +01:00 |
|
Rob Harrington
|
d28fc7e42d
|
Hubs can see incoming exchanges of producers who have given them P-OC or whose variants they are actively distributing
|
2015-04-03 14:58:01 +11:00 |
|
Rob Harrington
|
5d7659aa3c
|
Fixing product spec, using have_select2 instead of have_field
|
2015-04-02 14:36:19 +11:00 |
|
Rob Harrington
|
1e1d52cc47
|
Adding 'selected' option to have_select2 matcher
|
2015-04-02 14:35:39 +11:00 |
|
Rob Harrington
|
76648b97b0
|
Update spec, properties must exist for enterprise users before they can be assigned
|
2015-04-02 14:15:00 +11:00 |
|
Rob Harrington
|
8ed6653dc4
|
Ignoring any new product properties submitted by a non-admin user
|
2015-04-02 08:55:20 +11:00 |
|
Rob Harrington
|
ca1a5b5f8d
|
Ignoring any new producer properties submitted by the user
|
2015-04-02 08:54:35 +11:00 |
|
Rob Harrington
|
2d5118290b
|
Fixing broken order cycle feature specs
|
2015-03-27 16:19:52 +11:00 |
|
Rob Harrington
|
74b7feda53
|
coordinator of a simple order cycle has permission to add their own variants to outgoing exchanges
|
2015-03-27 16:16:13 +11:00 |
|
Rob Harrington
|
f5bacf71b7
|
Permissions for OrderCycleFormApplicator are determined internally
|
2015-03-27 16:16:13 +11:00 |
|
Rob Harrington
|
aa170ef5f6
|
Order cycle simple create controller uses 'new' method on OC service to initialise
|
2015-03-27 16:16:12 +11: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
|
193a061c44
|
Order cycle form applicator only updates visible variants, should add an 'editable variants' scope to permissions
|
2015-03-27 16:16:11 +11:00 |
|
Rob Harrington
|
540ac845da
|
Fixing broken js spec
|
2015-03-27 16:16:11 +11:00 |
|
Rob Harrington
|
63e345f819
|
Exchange serializer cuts down list of variants visible to the current user, based on permissions
|
2015-03-27 16:16:11 +11:00 |
|
Rob Harrington
|
524645aff4
|
Replacing visible_variants_for(exchange) with more general methods for determining visbility based on the enterprises involced and the current order cyclegs
|
2015-03-27 16:16:11 +11:00 |
|
Rob Harrington
|
d115ef5f7e
|
Scoping old generalised order cycle helper methods to a specific order cycle
|
2015-03-27 16:16:10 +11:00 |
|
Rob Harrington
|
35b27fcfd2
|
Delegating responsibility for returning an empty scope when no options are passed to order_cycle_enterprises_for
|
2015-03-27 16:16:10 +11:00 |
|
Rob Harrington
|
b747f61eb1
|
P-OC permissions don't apply when determining which enterprises are loaded for order cycle interface
|
2015-03-27 16:16:10 +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
|
7e24e6743e
|
enterprises_for is now order_cycle_enterprises_for, and can be passed an order_cycle or a coordinator (for new order_cycles)
|
2015-03-27 16:16:09 +11:00 |
|
Rob Harrington
|
81765de7a7
|
Building a permission method to determine which enterprises are visible to the user for a given OC
|
2015-03-27 16:07:38 +11:00 |
|
Rob Harrington
|
252ddf9beb
|
Adding method to permissions library for scoping the list of visible variants in a given exchange to a particular user
|
2015-03-27 16:07:37 +11:00 |
|
Rob Harrington
|
6c4db7fc22
|
Adding permission to view outgoing exchanges to producers who have granted P-OC to the relevant outgoing hub
|
2015-03-27 16:07:37 +11:00 |
|
Rob Harrington
|
df4437ecfe
|
Altering permissions for exchanges, so the exchange is visible to managers of at least one of the enterprises invloved
|
2015-03-27 16:07:37 +11:00 |
|
Rob Harrington
|
2310a6a7db
|
Splitting out order cycle abilities from general order management abilities
|
2015-03-27 16:07:37 +11:00 |
|
Rob Harrington
|
85e4b3970c
|
Adding an 'involved' scope to exchanges
|
2015-03-27 15:56:07 +11:00 |
|
Rohan Mitchell
|
8037811735
|
Only make new enterprises as hubs when current user *owns*, not just manages a hub.
|
2015-03-27 14:38:21 +11:00 |
|
Rohan Mitchell
|
0ed1eeffd6
|
When registering a new enterprise, if user is signed in, owns a hub and is not making a producer, the new enterprise becomes a hub
|
2015-03-27 14:05:58 +11:00 |
|
Rohan Mitchell
|
09a102bd8b
|
When an enterprise user with a hub creates a new producer, it does not default to sells any #453
|
2015-03-27 12:02:20 +11:00 |
|
Rohan Mitchell
|
89d4a59e9d
|
Extract order total tax calculations to model
|
2015-03-25 16:27:29 +11:00 |
|
Rohan Mitchell
|
84f3097217
|
Calculate total tax from the tax included in all the adjustments on the order
|
2015-03-25 16:27:29 +11:00 |
|