Commit Graph

16765 Commits

Author SHA1 Message Date
wandji20
44b4c29b77 Remove unused logic for checking unregistered user 2024-10-30 23:05:55 +01:00
wandji20
ca82f62ea2 Remove unused email logic in login_modal controller and clean up UI 2024-10-30 23:05:55 +01:00
wandji20
1b70ff904f Small cleanup and improvements 2024-10-30 23:05:55 +01:00
wandji20
696c42cba4 Add print and capture permission for orders 2024-10-30 23:05:55 +01:00
wandji20
0b9724fbdb Move invite enterprise user reflex logic to enterprise controler 2024-10-30 23:05:55 +01:00
wandji20
6ee0bc99c1 Move admin remove terms and condition logic to enterprise controller 2024-10-30 23:05:55 +01:00
wandji20
303d993cc4 Move User accept_terms_of_services action to admin user controller 2024-10-30 23:05:55 +01:00
wandji20
4aeafa2ad9 Refactor confirm modal conponent to handle forms 2024-10-30 23:05:55 +01:00
wandji20
a7e5e9bfc9 Fix rubocop errors 2024-10-30 23:05:55 +01:00
wandji20
dd61e023ca Remove cable ready and mrujs dependencies 2024-10-30 23:05:55 +01:00
wandji20
ed5742fc3c Small improvements 2024-10-30 23:05:55 +01:00
wandji20
b3e0881cc0 Handle single order actions with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
17a782df2a Refactor bulk_action stimulus controller and handle orders bulk actions with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
1f77f190da Move orders reflex logic to admin orders controller 2024-10-30 23:05:55 +01:00
wandji20
908c54f78c Remove white_label reflex and handle remove enterprise logo wth turbo stream 2024-10-30 23:05:55 +01:00
wandji20
88e5aea11a Replace admin report CableReady broadcast with ActionCable 2024-10-30 23:05:55 +01:00
wandji20
7403fa8b6d Replace connected app CableReady broadcast with ActionCable 2024-10-30 23:05:55 +01:00
wandji20
4e93b49104 Replace bulk invoice CableReady broadcast with ActionCable 2024-10-30 23:05:55 +01:00
wandji20
039c46cadd remove cable ready from application controller and refactor shared/alert to resend email confirmation with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
c35dae6378 Handle admin search orders with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
766396b979 Handle enterprise edit response with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
636d4b64db Handle order voucher responses with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
7c943dfc79 Handle order checkout responses with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
912c11a3f5 Handle user registration responses with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
1af298555b Handle user password responses with turbo_stream 2024-10-30 23:05:55 +01:00
wandji20
742d0d8fae Handle user confirmation responses with turbo_stream 2024-10-30 23:05:54 +01:00
wandji20
996057b940 Handle user session responses with turbo_stream 2024-10-30 23:05:54 +01:00
David Cook
3756e368c8 Merge pull request #12921 from rioug/12908-error-when-tax-refund
Add Bugsnag notification if we reach tax rate refund code
2024-10-30 14:51:40 +11:00
Maikel Linke
e0638b1765 Amend backorder after cancellations
The new job class blends code from the BackorderJob and the
CompleteBackorderJob for the specific case of adjusting quantities after
an order has been cancelled.

I would like to write a more general class which can be used for any
order amendmends but this was the quickest solution to cater for
currently running pilots.
2024-10-24 17:08:50 +11:00
Maikel Linke
63c83a19d6 Fix backorder spec with incomplete test data 2024-10-24 16:21:39 +11:00
David Cook
45ca2961ec Avoid crash 2024-10-23 22:06:53 +11:00
Gaetan Craig-Riou
3f22e8cca7 Fix Bugsnag payload data 2024-10-21 11:13:42 +11:00
Konrad
7b0519dab9 Merge pull request #12927 from mkllnk/report-dates
Filter reports by last 3 months by default
2024-10-19 13:12:20 +02:00
Maikel Linke
9c7105e764 Handle case of BackorderJob having no work 2024-10-17 15:39:32 +11:00
Maikel Linke
2b8487cc6d Parse given datetime for reports properly 2024-10-17 15:08:02 +11:00
Maikel Linke
ea8e925077 Show default date range to user in date picker 2024-10-17 13:16:12 +11:00
Maikel Linke
a13e5ced3d Select default dates for Packing report, too 2024-10-17 13:16:12 +11:00
Maikel Linke
aa7fffa5a2 Filter reports by last 3 months by default
The values are not shown on the screen and the user doesn't know which
default dates are applied but the filtering works.
2024-10-17 13:16:12 +11:00
Konrad
a023443c75 Merge pull request #12880 from rioug/5574-fix-checkout-order-total-calc
Fix checkout order total and payment fees calculation
2024-10-16 21:16:34 +02:00
Gaetan Craig-Riou
f024aff45d Add Bugsnag notification if we reach tax rate refund code
The original Spree code allow for a tax adjustment to be considered a
refund in a specific scenario:
- instance is using inclusive tax
- instance that applies different tax rate in different tax zones

This scenario should not happen with how our instances are configured
More info: https://github.com/openfoodfoundation/openfoodnetwork/pull/6565#discussion_r566535431
2024-10-16 11:37:21 +11:00
Gaetan Craig-Riou
b461d499ad Merge pull request #12914 from mkllnk/remove-stock-location-from-return-authorization
Remove StockLocation from ReturnAuthorization
2024-10-16 10:26:09 +11:00
Filipe
97b6289263 Merge pull request #12787 from rioug/move-variant-unit-attributes-to-variant
[Product Refactor] Move variant unit sizes to variant
2024-10-15 19:58:45 +01:00
Maikel Linke
a64aea4b9c Remove StockLocation from ReturnAuthorization
We have only one default location and don't need it associated to
anything.
2024-10-15 13:36:57 +11:00
Rachel Arnould
f54552f939 Merge pull request #12886 from rioug/12855-VINE-connected-app
[Citi OFN Voucher] Add VINE connected app
2024-10-14 15:32:09 +02:00
Gaetan Craig-Riou
67c11333f3 Use AdminTooltipComponent, instead of partial 2024-10-14 15:02:35 +11:00
Gaetan Craig-Riou
ce0c7929a7 Per review, remove the use of raw 2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
2a671d491d Remove commented out code 2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
3bb2232bc1 Remove non updatable check when updating a product
After the product redactor it only checked for the "description" on
product, which is actually skipped when doing an update.
2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
dbca2e2b56 Add all columns moved to variant to ignored_columns 2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
0695b434a2 Fix rebase issue 2024-10-14 15:01:18 +11:00