v1.1.0a - Added "andet option" til feedback
This commit is contained in:
@@ -134,13 +134,13 @@ class FeedbackController extends Controller
|
||||
$output = "<tr>".
|
||||
"<th style='width: 6em;'>Dato</th>".
|
||||
"<th>Feedback Besked</th>".
|
||||
"<th style='width: 5em;'>Ris el. Ros</th>".
|
||||
"<th style='width: 7em;'>Feedback type</th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=".asset('/images/icons/trashcan.svg')." alt=\"Delete\"></th>".
|
||||
"</tr>";
|
||||
|
||||
//$value = Feedbacks::query('feedbacks')->select('suggestion_form ')->dump();
|
||||
//$value = DB::table('feedbacks')->select('suggestion_form ')->dump();
|
||||
if($request->option === "Ris" || $request->option === "Ros")
|
||||
if($request->option === "Ris" || $request->option === "Ros" || $request->option === "Andet")
|
||||
$feedbacks = Feedbacks::query()->orderBy('created_at', 'desc')->where('suggestion_form', '=', $request->option)
|
||||
->get();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user