Files
openfoodnetwork/app/controllers/split_checkout_controller.rb
Gaetan Craig-Riou 5eb6097101 Fix error handling when creating a voucher adjustment
I wrongly assumed that `voucher.create_adjustment` would return nil
if failing to create an adjustment. I will in fact return an
adjustment object with errors.
2023-05-15 13:42:40 +10:00

8.9 KiB