Rohan Mitchell
|
48b02db70d
|
Order cycles are undated unless they have both open and close dates defined
|
2016-02-05 09:27:25 +11:00 |
|
Steve Pettitt
|
e423e890e0
|
Changed name enable_reset to resettable in Variant Overrides table & updated views, specs accordingly
|
2016-01-15 09:07:50 +11:00 |
|
Rob Harrington
|
94785d4157
|
Fixing authorization for VariantOverridesController#bulk_reset
|
2016-01-15 09:07:49 +11:00 |
|
Steve Pettitt
|
0ee078e232
|
Added toggle to enable/disable reset stock. Updated specs
|
2016-01-15 09:07:48 +11:00 |
|
Rob Harrington
|
53d97dab08
|
WIP: Adding view and routes for resetting variant_overrides count_on_hand
|
2016-01-15 09:07:48 +11:00 |
|
Rohan Mitchell
|
257b5a9eef
|
Move premature Spree::Order#update prevention up a level, for even greater efficiency gains
|
2016-01-07 12:09:57 +11:00 |
|
Rohan Mitchell
|
e24027a8d0
|
Speed up add to cart: Update the order once per fee calculation, rather than for every line item x fee
|
2016-01-07 10:52:36 +11:00 |
|
Rob Harrington
|
fe0652e243
|
When updating a line_item quantity from 0, final_weight_volume is recalculated from the variants unit value
|
2015-12-16 19:18:59 +11:00 |
|
Rob Harrington
|
199a3c38f9
|
Bill is capped before tax is applied, like we say it is
|
2015-12-16 19:18:58 +11:00 |
|
Rob Harrington
|
76d4f74f6b
|
Ammending BillablePeriod spec to be ensure tax is charged correctly
|
2015-12-16 19:18:58 +11:00 |
|
Rob Harrington
|
ca3c464fda
|
Reorganising busines model config settings, moving account invoice tax rate in busines model config settings
|
2015-12-16 19:18:57 +11:00 |
|
Rob Harrington
|
85f61364f8
|
BillablePeriods use global config to calculate bills
|
2015-12-16 19:18:57 +11:00 |
|
Rob Harrington
|
befc558224
|
Pulling product_and_variant_name down into VariantAndLineItemNaming, renaming to product_and_full_name
Also allowing this method to be used in reports (Xero), to reflect appropriate name for weight/volume adjusted line items
|
2015-12-16 11:55:24 +11:00 |
|
Continuous Integration
|
ae945ace9d
|
Auto-merge from CI [skip ci]
|
2015-12-11 11:09:54 +11:00 |
|
Maikel Linke
|
cd7721a127
|
Using date and time of current timezone
Using Time.zone.now and Date.current instead of Time.now and Date.today.
This should make all specs timezone independent.
|
2015-12-10 11:38:41 +11:00 |
|
Rohan Mitchell
|
8d270e919f
|
Sort exchanges for display when editing an order cycle
|
2015-12-10 09:17:25 +11:00 |
|
Rohan Mitchell
|
ea6974d438
|
Add OrderCycle#supplied_variants
|
2015-12-10 09:17:25 +11:00 |
|
Maikel Linke
|
c4fb4a8510
|
Removing Suburbs from the code
Suburbs are not used any more. Removing the last code bits should avoid
confusion and save a tiny bit of test time.
|
2015-12-04 10:37:55 +11:00 |
|
Rohan Mitchell
|
d320b2e7d4
|
Merge branch 'fix-delayed-job' into combined/producer-emails-simplify_fix-delayed-job
|
2015-12-02 15:06:38 +11:00 |
|
Rohan Mitchell
|
bd854bf2dd
|
Remove receival_time from exchange, just use receival_instructions
|
2015-12-02 15:05:49 +11:00 |
|
Rohan Mitchell
|
10edb2b056
|
Fix delayed job startup - prevent error caused by double load
|
2015-12-02 10:48:50 +11:00 |
|
Rob H
|
86f1afae92
|
derp
|
2015-11-29 18:10:49 +11:00 |
|
Rob H
|
1cffd35968
|
Fixing up specs pertaining to full_name generation for line_items
|
2015-11-29 17:52:01 +11:00 |
|
Rob Harrington
|
4bdc1bc418
|
LineItem final_weight_volume is updated whenever quantity is changed, though can be set directly
|
2015-11-18 16:22:36 +11:00 |
|
Rob Harrington
|
75846a4d1f
|
Merge branch 'master' into line_item_naming
|
2015-11-16 10:38:42 +11:00 |
|
Rohan Mitchell
|
b6f3e6eca6
|
Fix broken spec
|
2015-11-13 14:03:07 +11:00 |
|
Rohan Mitchell
|
178e5f59e6
|
Update cart by applying differences rather than clear-and-readd every time
|
2015-11-13 14:03:07 +11:00 |
|
Rohan Mitchell
|
7fffa03d8d
|
Fix bug: set difference comparison of string with number
|
2015-11-13 14:03:07 +11:00 |
|
Rohan Mitchell
|
d3c7c46800
|
Add method to remove a variant from an order
|
2015-11-13 14:03:07 +11:00 |
|
Rohan Mitchell
|
c432ed9e08
|
Build list of variants removed from the cart when overwriting
|
2015-11-13 14:03:07 +11:00 |
|
Rohan Mitchell
|
e175149e76
|
Add method to check whether a passed-in cart value varies from the cart
|
2015-11-13 14:03:07 +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
|
be8038e9d0
|
Merge branch 'master' into line_item_naming
Conflicts:
lib/open_food_network/order_cycle_management_report.rb
lib/open_food_network/packing_report.rb
|
2015-11-12 14:40:11 +11:00 |
|
Rohan Mitchell
|
e20d8d3e95
|
Merge branch 'master' into folklabs-producer-emails
|
2015-11-11 14:20:25 +11:00 |
|
Rohan Mitchell
|
f499dd627a
|
with_tax_included_in_price handles exceptions gracefully
|
2015-11-11 11:53:04 +11:00 |
|
Rohan Mitchell
|
46a9304ae1
|
Extract compute_tax from EnterpriseFeeApplicator to Spree::TaxRate model
|
2015-11-11 11:53:04 +11:00 |
|
Rob Harrington
|
2483eef4be
|
WIP: BOM Refactor, removing obsolete OrderCycle.recently_closed scope, ordering closed OCs
|
2015-11-05 14:02:04 +11:00 |
|
Rob Harrington
|
18a7317185
|
Merge branch 'account-invoices' into line_item_naming
Conflicts:
app/models/spree/line_item_decorator.rb
|
2015-10-28 13:42:27 +11:00 |
|
Rob Harrington
|
ab7bfd10c5
|
Revert "Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module"
This reverts commit e86e08b72e939fee61eddd41d56081395666a877.
Conflicts:
lib/open_food_network/order_and_distributor_report.rb
spec/features/admin/variants_spec.rb
spec/lib/open_food_network/order_and_distributor_report_spec.rb
|
2015-10-28 13:08:50 +11:00 |
|
Rob Harrington
|
eba13a0dd7
|
Line items inherit units from variants upon creation
|
2015-10-28 13:07:31 +11:00 |
|
Rob Harrington
|
795830d94d
|
Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module
|
2015-10-28 13:07:31 +11:00 |
|
Rob Harrington
|
039fcb80eb
|
Extracting variant and option_value naming out into a lib class that is now shared between line items and variants, line_items have option_values
|
2015-10-28 13:06:10 +11:00 |
|
Rob Harrington
|
9b2653aa2d
|
Updating order invoice template to be more legally compliant
|
2015-10-21 15:52:14 +11:00 |
|
Rohan Mitchell
|
ecc3bad8c8
|
Merge branch 'master' into folklabs-producer-emails
|
2015-10-16 12:38:54 +11:00 |
|
Rohan Mitchell
|
4fbeb0c3b1
|
Check if an order is an account invoice
|
2015-10-15 10:05:27 +11:00 |
|
Rohan Mitchell
|
92f7b72056
|
Check whether an individual adjustment has tax included
|
2015-10-15 09:58:06 +11:00 |
|
Rohan Mitchell
|
7552776349
|
Add product_and_variant_name display for Variant
|
2015-09-21 16:49:31 +10:00 |
|
Rohan Mitchell
|
8f40702369
|
Line items report whether they have tax included
|
2015-09-21 15:57:04 +10:00 |
|
Rob Harrington
|
13adb61b3a
|
Refactoring invoice update process to use new AccountInvoice model
|
2015-09-17 22:38:29 +10:00 |
|
Rob Harrington
|
b1285cd07f
|
WIP: Adding AccountInvoice model to more robustly record information about enterprise user invoices
|
2015-09-17 22:38:28 +10:00 |
|