luisramos0
|
86b0d71c7e
|
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
|
2019-05-28 12:57:29 +01:00 |
|
luisramos0
|
4768ca27c7
|
Remove all dependencies to product distributions including the validation to avoid deleting fees with product distributions
|
2019-03-13 11:50:35 +00:00 |
|
Hugo Daniel
|
a162a2c50b
|
Move product distributions check as a before_destroy in EnterpriseFee model
|
2018-11-15 14:05:15 +01:00 |
|
Hugo Daniel
|
28009afbea
|
Calculate price sack fees and tests
|
2018-04-04 11:25:25 +10:00 |
|
Rohan Mitchell
|
858576d870
|
CalculatedAdjustments requires include first
|
2017-09-08 23:55:48 +10:00 |
|
Rohan Mitchell
|
38da4c8e12
|
Adjustments now have state instead of locked/unlocked
|
2017-09-08 23:55:48 +10:00 |
|
Rohan Mitchell
|
a0b740f52d
|
Generalise fix for missing EnterpriseFee::Calculator to any use of calculated_adjustments
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
0d4c4f20df
|
Fix missing EnterpriseFee::Calculator error
Conflicts:
app/models/enterprise_fee.rb
|
2016-11-04 09:39:17 +11:00 |
|
Rohan Mitchell
|
422061f137
|
Merge branch 'master' into products-caching
Conflicts:
app/controllers/shop_controller.rb
app/models/enterprise_fee.rb
app/models/order_cycle.rb
app/models/variant_override.rb
db/schema.rb
lib/open_food_network/products_renderer.rb
spec/lib/open_food_network/products_renderer_spec.rb
|
2016-03-03 09:42:52 +11:00 |
|
Rob Harrington
|
59745fbc73
|
EnterpriseFees can inherit tax_category from product
|
2016-03-02 11:56:46 +11:00 |
|
Rob Harrington
|
caa8818f02
|
Adding option to 'Inherit From Product' for enterprise_fee tax categories
|
2016-03-02 11:56:46 +11:00 |
|
Rohan Mitchell
|
8bd5a36aaf
|
Remove enterprise fee destruction cache callback - responsibility to be handled by dependent models
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
540687515e
|
Reify coordinator_fees HABTM join table as CoordinatorFee model using HMT
|
2016-02-24 15:05:03 +11:00 |
|
Rohan Mitchell
|
f756749e02
|
Fix specs
|
2016-02-24 15:05:02 +11:00 |
|
Rohan Mitchell
|
0c65d1ddd8
|
Trigger products cache refresh when enterprise fee changed or destroyed
|
2016-02-24 15:05:02 +11:00 |
|
Rob Harrington
|
7eb735f87e
|
Adding for_enterprises scope on enterprise fee
|
2015-04-06 10:24:40 +10:00 |
|
Rohan Mitchell
|
53fa71d1f3
|
Admin can set enterprise fee's tax category
|
2015-03-05 10:44:25 +11:00 |
|
Rohan Mitchell
|
61c08997a1
|
EnterpriseFee has a TaxCategory
|
2015-03-05 10:44:22 +11:00 |
|
Rohan Mitchell
|
50b8eaecab
|
Add fundraising fees
|
2014-08-13 15:07:32 +10:00 |
|
Rohan Mitchell
|
4cbe434573
|
Remove trailing relations on destruction for EnterpriseFee and Variant
|
2014-04-24 13:20:15 +10:00 |
|
Rohan Mitchell
|
b720a1d8f2
|
EnterpriseFee.clear_all_adjustments_on_order clears adjustments from per-order fees
|
2014-02-26 14:33:28 +11:00 |
|
Rohan Mitchell
|
5057e236a9
|
Find enterprise fees with per-order calculators
|
2014-02-26 13:48:51 +11:00 |
|
Rohan Mitchell
|
febbe087e9
|
Find EnterpriseFees with per-item calculators
|
2014-02-26 10:39:39 +11:00 |
|
Rohan Mitchell
|
31a078a53c
|
Enterprise manager can access enterprise fees for enterprises they manage - fixes fees on order cycles interface
|
2013-08-20 16:26:46 +10:00 |
|
Rohan Mitchell
|
562365311e
|
Lock enterprise fee adjustments on creation to avoid them being recalculated against order by update hooks
|
2013-08-19 14:38:51 +10:00 |
|
Rohan Mitchell
|
ba4d3d5d7d
|
Removing a product from cart removes its fees
|
2013-08-19 12:19:03 +10:00 |
|
Rohan Mitchell
|
591f6a8a57
|
Move ProductDistribution#clear_all_enterprise_fee_adjustments_for to EnterpriseFee class
|
2013-08-19 10:41:14 +10:00 |
|
Rohan Mitchell
|
af6b16ecc4
|
Admin can assign enterprise fees to product distributions
|
2013-08-12 11:05:00 +10:00 |
|
Rohan Mitchell
|
cfb8c05cb5
|
Remove association that's already added by Spree's calculated_adjustments
|
2013-08-06 13:47:17 +10:00 |
|
Rohan Mitchell
|
2a645d04ae
|
Move presentation to presenter, display calculator fields
|
2012-11-22 14:37:38 +11:00 |
|
Rohan Mitchell
|
b7bd21e498
|
Full-text search of form
|
2012-11-22 12:15:39 +11:00 |
|
Rohan Mitchell
|
a4d10ab4e0
|
Create new enterprise fee, display errors when present
|
2012-11-21 09:47:51 +11:00 |
|
Rohan Mitchell
|
98143ffe5b
|
Add calculator to EnterpriseFee, test passes for listing enterprise fees
|
2012-11-16 16:07:40 +11:00 |
|
Rohan Mitchell
|
6247bd2541
|
Display admin table of enterprise fees with enterprise, fee type and name columns
|
2012-11-15 15:03:12 +11:00 |
|
Rohan Mitchell
|
192d4993a1
|
Add EnterpriseFee model
|
2012-11-15 13:42:55 +11:00 |
|