Rohan Mitchell
|
9bbc151cae
|
Admin can set enterprises to charge or not charge sales tax
|
2015-04-17 13:41:38 +10:00 |
|
Rohan Mitchell
|
a93633a626
|
Show tax on order confirmation emails
|
2015-04-17 13:41:14 +10:00 |
|
Rohan Mitchell
|
2914990444
|
Add save_and_open spec helper method to open HTML emails in the browser
|
2015-04-17 13:40:08 +10:00 |
|
Rohan Mitchell
|
3ce2c5b84f
|
Show tax on order confirmation page
|
2015-04-17 13:40:08 +10:00 |
|
Rohan Mitchell
|
6bb926f811
|
Do not show tax in checkout
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
829d11d4b2
|
Deliver a warning if attempting to create an invalid taxed_product from factory
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
beec910445
|
Display tax in cart
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
68f0e51c02
|
Change add_product_to_cart spec helper to use OrderPopulator, reducing inconsistencies in order adjustments, tax etc.
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
210c76eddc
|
Checkout won't load without payment and shipping methods; move spec to context where it can test the checkout
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
e75c6a8e1d
|
Add helper to display total tax on an order
|
2015-04-17 13:39:09 +10:00 |
|
Rohan Mitchell
|
ccc1f3df40
|
Feature specs test email sending through delayed jobs
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
e9fbd74e88
|
Send emails via jobs instead of synchronously
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
bb3bdf37cd
|
Add jobs for user, order and enterprise emails
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
af4baabb50
|
Include DelayedJobHelper for specs
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
3bbf42c3e7
|
WIP: Rename delayed job support to delayed job helper
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
530740158c
|
Tolerate no jobs previously in queue
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
771b9e0df5
|
Improve syntax: take job class as a separate argument
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
1d5a4c93e4
|
Add delayed job testing support, original credit Mat Holroyd and Rohan Mitchell, from CERES Fairfood project
|
2015-04-16 16:54:43 +10:00 |
|
Rohan Mitchell
|
a384f5e3d4
|
Merge branch 'buildkite' into customer-totals-report-and-perms-fix
|
2015-04-16 14:08:39 +10:00 |
|
Rohan Mitchell
|
318957551f
|
Freeze time to make spec repeatable
|
2015-04-16 14:07:38 +10:00 |
|
Rohan Mitchell
|
768cfab591
|
Change field text at checkout
|
2015-04-16 10:59:15 +10:00 |
|
Rohan Mitchell
|
7f6c02ca29
|
Add User#customer_of to look up customers
|
2015-04-16 10:59:15 +10:00 |
|
Rohan Mitchell
|
34d1841d22
|
Make Variant#full_name resilient to regex chars
|
2015-04-16 10:59:15 +10:00 |
|
Rohan Mitchell
|
e570352a1b
|
Grant fewer permissions on enterprise creation
|
2015-04-16 10:59:15 +10:00 |
|
Rohan Mitchell
|
2e021941d1
|
Fix bug where new enterprises should be created as hubs, but aren't
|
2015-04-16 10:59:15 +10:00 |
|
Rob Harrington
|
6ac45f3dc8
|
Renaming order_cycle_exchanges as visible_exchanges
|
2015-04-11 22:26:55 +10:00 |
|
Rob Harrington
|
e3138c3cd2
|
Renaming order_cycle_enterprises_for as visible_enterprises
|
2015-04-11 22:25:23 +10:00 |
|
Rob Harrington
|
26d55baa35
|
Moving order cycle permissions to their own permissions class
|
2015-04-11 21:11:10 +10:00 |
|
Rob Harrington
|
02f8f293da
|
Only allow managers or coordinator to add/remove fees from exchanges
|
2015-04-11 18:32:04 +10:00 |
|
Rob Harrington
|
8b7d321dfe
|
Changing delete time to ensure not_deleted scope works
|
2015-04-10 16:40:33 +10:00 |
|
Rob Harrington
|
72403fd021
|
Fixing broken enterprise controller spec
|
2015-04-10 13:16:21 +10:00 |
|
Rob Harrington
|
2280a71b23
|
Replace for_order_cycle rabl template with a serializer
|
2015-04-10 09:25:40 +10:00 |
|
Rob Harrington
|
6f24e969ce
|
Removing stupid unusable spec
|
2015-04-09 17:20:31 +10:00 |
|
Rob Harrington
|
81a745420e
|
Only check editable status of variants when actually selecting
|
2015-04-09 15:24:45 +10:00 |
|
Rob Harrington
|
c28ebf63ab
|
As participating Hub, I cannot edit incoming exchanges despite being granted P-OC by the producer
|
2015-04-09 13:41:43 +10:00 |
|
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 |
|