|
18 | 18 | organization_name: organization.id, |
19 | 19 | distribution: { |
20 | 20 | partner_id: partner.id, |
| 21 | + issued_at: Date.yesterday, |
21 | 22 | storage_location_id: first_storage_location.id, |
22 | 23 | line_items_attributes: |
23 | 24 | { |
|
42 | 43 | distribution: { |
43 | 44 | partner_id: partner.id, |
44 | 45 | storage_location_id: second_storage_location.id, |
| 46 | + issued_at: Date.yesterday, |
45 | 47 | line_items_attributes: |
46 | 48 | { |
47 | 49 | "0": { item_id: second_storage_location.items.first.id, quantity: 18 } |
|
66 | 68 | distribution: { |
67 | 69 | partner_id: partner.id, |
68 | 70 | storage_location_id: storage_location.id, |
| 71 | + issued_at: Date.yesterday, |
69 | 72 | line_items_attributes: |
70 | 73 | { |
71 | 74 | "0": { item_id: storage_location.items.first.id, quantity: 18 } |
|
91 | 94 | distribution: { |
92 | 95 | partner_id: partner.id, |
93 | 96 | storage_location_id: storage_location.id, |
| 97 | + issued_at: Date.yesterday, |
94 | 98 | line_items_attributes: |
95 | 99 | { |
96 | 100 | "0": { item_id: storage_location.items.first.id, quantity: 18 }, |
|
134 | 138 | distribution: { |
135 | 139 | partner_id: partner.id, |
136 | 140 | storage_location_id: storage_location.id, |
| 141 | + issued_at: Date.yesterday, |
137 | 142 | line_items_attributes: |
138 | 143 | { |
139 | 144 | "0": { item_id: item1.id, quantity: 18 }, |
|
172 | 177 | distribution: { |
173 | 178 | partner_id: partner.id, |
174 | 179 | storage_location_id: storage_location.id, |
| 180 | + issued_at: Date.yesterday, |
175 | 181 | line_items_attributes: |
176 | 182 | { |
177 | 183 | "0": { item_id: item1.id, quantity: 18 }, |
|
199 | 205 | distribution: { |
200 | 206 | partner_id: partner.id, |
201 | 207 | storage_location_id: storage_location.id, |
| 208 | + issued_at: Date.yesterday, |
202 | 209 | line_items_attributes: |
203 | 210 | { |
204 | 211 | "0": { item_id: storage_location.items.first.id, quantity: 0 } |
|
235 | 242 | id: distribution.id, |
236 | 243 | distribution: { |
237 | 244 | storage_location_id: distribution.storage_location.id, |
| 245 | + issued_at: Date.yesterday, |
238 | 246 | line_items_attributes: |
239 | 247 | { |
240 | 248 | "0": { item_id: item1.id, quantity: 18 }, |
|
309 | 317 | id: distribution.id, |
310 | 318 | distribution: { |
311 | 319 | storage_location_id: distribution.storage_location.id, |
| 320 | + issued_at: Date.yesterday, |
312 | 321 | line_items_attributes: |
313 | 322 | { |
314 | 323 | "0": { item_id: item1.id, quantity: 4 }, |
|
0 commit comments