|
@ -21,7 +21,7 @@ class AdjunctAdditionController extends Controller |
|
|
{ |
|
|
{ |
|
|
$beername = Summarie::where('beer_id', $adjunctaddition->beer_id)->value('name'); |
|
|
$beername = Summarie::where('beer_id', $adjunctaddition->beer_id)->value('name'); |
|
|
$adjunctname = Adjunct::where('id', $adjunctaddition->adjunct_id)->value('name'); |
|
|
$adjunctname = Adjunct::where('id', $adjunctaddition->adjunct_id)->value('name'); |
|
|
$altname = = Adjunct::where('id', $adjunctaddition->alternative)->value('name'); |
|
|
|
|
|
|
|
|
$altname = Adjunct::where('id', $adjunctaddition->alternative)->value('name'); |
|
|
$adjunctaddition['beer'] = $beername; |
|
|
$adjunctaddition['beer'] = $beername; |
|
|
$adjunctaddition['name'] = $adjunctname; |
|
|
$adjunctaddition['name'] = $adjunctname; |
|
|
$adjunctaddition['alternativename'] = $altname; |
|
|
$adjunctaddition['alternativename'] = $altname; |
|
|