Browse Source

adjunctadditions refactor mkII

master
jk 3 years ago
parent
commit
6cdf1b6d8a
  1. 2
      app/Http/Controllers/AdjunctAdditionController.php

2
app/Http/Controllers/AdjunctAdditionController.php

@ -21,7 +21,7 @@ class AdjunctAdditionController extends Controller
{
$beername = Summarie::where('beer_id', $adjunctaddition->beer_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['name'] = $adjunctname;
$adjunctaddition['alternativename'] = $altname;

Loading…
Cancel
Save