Browse Source

beers refactor mkXIX

master
jk 3 years ago
parent
commit
0e297f1ddd
  1. 4
      app/Http/Controllers/SummarieController.php

4
app/Http/Controllers/SummarieController.php

@ -58,7 +58,6 @@ class SummarieController extends Controller
$beer->og = $request->input('og'); $beer->og = $request->input('og');
$beer->source = $request->input('source'); $beer->source = $request->input('source');
$beer->batch = $request->input('batch'); $beer->batch = $request->input('batch');
$beer->beer_id = $request->input('beer_id');
$beer->brewery_id = $request->input('brewery_id'); $beer->brewery_id = $request->input('brewery_id');
if ($request->input('notes')) if ($request->input('notes'))
{ {
@ -103,8 +102,7 @@ class SummarieController extends Controller
$beer->og = $request->input('og'); $beer->og = $request->input('og');
$beer->source = $request->input('source'); $beer->source = $request->input('source');
$beer->batch = $request->input('batch'); $beer->batch = $request->input('batch');
$beer->beer_id = $request->input('beer_id');
$beer->brewery_id = $request->input('beer_id');
$beer->brewery_id = $request->input('brewery_id');
if ($request->input('notes')) if ($request->input('notes'))
{ {
$beer->notes = $request->input('notes'); $beer->notes = $request->input('notes');

Loading…
Cancel
Save