elf Pavlik
|
8a390dd237
|
fixing test failing after i18n changes
|
2015-12-21 10:11:07 +01:00 |
|
apprenti
|
b58306aad8
|
my first translations
|
2015-12-21 09:47:18 +01:00 |
|
Rohan Mitchell
|
921210012a
|
Swap in StatusMessage service for custom message display in order cycles interface
|
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
|
d4ee20455e
|
Remove enterprise options from list when added
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
1a4448c6d2
|
Do not allow adding blank enterprises
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
a78d8fa6af
|
Build exchange form on front-end
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
3dcbdad088
|
Show/hide all products
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
7820c31976
|
Show supplier as secondary in information hierarchy
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
2efaedc225
|
Add .exchange-products container div, fill full row with products
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
c5e2ed5aa1
|
Order outgoing products by name
|
2015-12-10 09:17:24 +11:00 |
|
Rohan Mitchell
|
8f917817b8
|
Fix broken styles
|
2015-12-10 09:17:24 +11:00 |
|
Rohan Mitchell
|
9fef0a9909
|
When order cycle is updated, display message instead of reloading the page
|
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 |
|
Rohan Mitchell
|
bd854bf2dd
|
Remove receival_time from exchange, just use receival_instructions
|
2015-12-02 15:05:49 +11:00 |
|
Rob Harrington
|
a96cdd5ee7
|
Merge branch 'master' into line_item_naming
Conflicts:
app/views/admin/order_cycles/edit.html.haml
|
2015-11-13 09:54:26 +11:00 |
|
Rob Harrington
|
66d1e4297e
|
WIP: Renaming admin.order_cycles to admin.orderCycles for consistency
|
2015-11-05 14:40:42 +11:00 |
|
Paul Mackay
|
2f05fc3824
|
#275: Insert receival time and instructions into email.
|
2015-05-24 10:38:49 +01:00 |
|
Paul Mackay
|
fd37324359
|
#536: Add permissions checking for Notify producers action.
|
2015-05-09 11:02:25 +01:00 |
|
Rohan Mitchell
|
6b1c125b03
|
Merge branch 'producer-emails' of https://github.com/folklabs/openfoodnetwork into folklabs-producer-emails
Conflicts:
Gemfile.lock
app/controllers/admin/order_cycles_controller.rb
app/views/admin/order_cycles/edit.html.haml
app/views/admin/order_cycles/show.rep
db/schema.rb
spec/controllers/admin/order_cycles_controller_spec.rb
|
2015-04-29 14:42:17 +10:00 |
|
Rob Harrington
|
e3138c3cd2
|
Renaming order_cycle_enterprises_for as visible_enterprises
|
2015-04-11 22:25:23 +10:00 |
|
Paul Mackay
|
99709b53ed
|
Change controller action to 'notify_producers'.
Add flash message on completion.
Simplify job variables.
Improve mailer query.
Spec for job.
|
2015-04-11 13:19:48 +01: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
|
81a745420e
|
Only check editable status of variants when actually selecting
|
2015-04-09 15:24:45 +10:00 |
|
Rob Harrington
|
69004ac477
|
Select all box only selects variants I have permission to edit
|
2015-04-09 13:29:25 +10:00 |
|
Rob Harrington
|
430320e3f9
|
Oopsie!
|
2015-04-09 13:28:41 +10:00 |
|
Rob Harrington
|
8a3126f117
|
Using helper to disable form elements on order cycle index page
|
2015-04-09 11:11:46 +10:00 |
|
Rob Harrington
|
c7157ce7bd
|
Applying new helper to order cycle name and timing partial
|
2015-04-09 11:11:06 +10:00 |
|
Rob Harrington
|
fbcfe9b2a4
|
Add viewing_as_coordiantor flag to serialized order cycles and a managed flag to serialized enterprises for_order_cycle(s)
|
2015-04-09 10:31:17 +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
|
32cc17745a
|
Non-coordinating user cannot alter important attributes of order cycle
|
2015-04-08 14:12: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
|
36c5cdf556
|
Only show enterprises with fees in order cycle edit page
|
2015-04-06 14:08:10 +10:00 |
|
Rob Harrington
|
a4b80b1f33
|
Implement editable scope for variants on order cycles page
|
2015-04-06 09:15:14 +10:00 |
|
Rob Harrington
|
009b25a491
|
Adding an editable variants scope for incoming exchanges
|
2015-04-05 13:59:00 +10:00 |
|
Rob Harrington
|
6e77a5eebc
|
Using the correct method name duh
|
2015-03-27 16:47:12 +11:00 |
|
Rob Harrington
|
887579ecb8
|
Use managed_by scope on Enterprise instead of user.enterprises
|
2015-03-27 16:16:12 +11:00 |
|
Rob Harrington
|
9430999540
|
Filtering exchange variants, for outgoing exchange variant count
|
2015-03-27 16:16:12 +11:00 |
|
Rob Harrington
|
99bd6244ed
|
Filtering the list of variants visible within each exchange based on permissions
|
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
|
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
|
c9f343f680
|
Swapping over scoping method for displayed enterprises in OC index page from order_cycle_enterprises to enterprises_for(order_cycle)
|
2015-03-27 16:15:28 +11:00 |
|
Rob Harrington
|
e9f2e743ce
|
Replacing old representative template for OCs with active model serializers
|
2015-03-27 16:07:38 +11:00 |
|
Rob Harrington
|
1c09b8b76f
|
Limiting variants loaded into representative template to those a visible to the current user
|
2015-03-27 16:07:38 +11:00 |
|
Rob Harrington
|
75a37e16e3
|
Remove elements of order cycle form that coordinators cannot edit
|
2015-03-27 15:56:07 +11:00 |
|
Rob Harrington
|
75ed259554
|
Conditionally show input for coordinator
Conflicts:
app/views/admin/order_cycles/_form.html.haml
|
2015-03-27 15:56:07 +11:00 |
|
Rohan Mitchell
|
95c09315f5
|
Change class delete-product -> delete-order-cycle
|
2015-03-16 12:42:05 +11:00 |
|
Rohan Mitchell
|
e125bcf451
|
Add column header for extra action column
|
2015-03-16 12:15:43 +11:00 |
|
Rohan Mitchell
|
4491d3cc73
|
Merge branch 'legacy-login-fix' of https://github.com/victornava/openfoodnetwork into victornava-legacy-login-fix
Conflicts:
app/views/admin/order_cycles/_row.html.haml
spec/features/admin/order_cycles_spec.rb
|
2015-03-16 12:14:54 +11:00 |
|