|
|
@ -74,7 +74,7 @@ class GrainbillController extends Controller |
|
|
|
} |
|
|
|
public function create() |
|
|
|
{ |
|
|
|
$beers = Summarie::orderBy('name')->get('id','name'); |
|
|
|
$beers = Summarie::orderBy('name')->get('beer_id','name'); |
|
|
|
$grains = Grain::orderBy('name')->get('id','name'); |
|
|
|
$data = array('beers'=>$beers, 'grains'=>$grains); |
|
|
|
return view('grainbills.create')->with($data); |
|
|
|