Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function saveDetailsInSession(Request $r){ |
||
18 | $note_delivery = $r->get('note_delivery'); |
||
19 | $get_in_shop_checkbox = $r->get('get_in_shop_checkbox'); |
||
20 | session()->put('checkout.note_delivery', $note_delivery); |
||
21 | session()->put('checkout.get_in_shop_checkbox', $get_in_shop_checkbox); |
||
22 | return response()->json(['link' => route('shop.summary')]); |
||
23 | } |
||
25 |