Commit c8e434e
Mark adjustments for destruction instead of destroying
See code comments and spec changes. This is similar to how we handled
this in the legacy promotion system.
Co-authored-by: Adam <adam@super.gd>
Co-authored-by: Alistair <alistair@super.gd>
Co-authored-by: An <andrew@super.gd>
Co-authored-by: Benjamin <benjamin@super.gd>
Co-authored-by: Harmony <harmony@super.gd>
Co-authored-by: Jared <jared@super.gd>
Co-authored-by: Nick <nick@super.gd>
Co-authored-by: Senem <senem@super.gd>
Co-authored-by: Sofia <sofia@super.g1 parent 6c34fdd commit c8e434e
File tree
3 files changed
+9
-8
lines changed- promotions
- app/models/solidus_promotions
- order_adjuster
- spec/models/solidus_promotions
3 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
0 commit comments