v0.10.13a - Fixed feedback so date can be seen - Fixed about page
This commit is contained in:
@@ -133,8 +133,9 @@ class FeedbackController extends Controller
|
||||
public function search(Request $request){
|
||||
if($request->ajax()){
|
||||
$output = "<tr>".
|
||||
"<th style='width: 6em;'>Dato</th>".
|
||||
"<th>Feedback Besked</th>".
|
||||
"<th>Ris el. Ros</th>".
|
||||
"<th style='width: 5em;'>Ris el. Ros</th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
||||
"</tr>";
|
||||
|
||||
@@ -149,6 +150,7 @@ class FeedbackController extends Controller
|
||||
if(count($feedbacks) !== 0){
|
||||
foreach ($feedbacks as $key => $feedback){
|
||||
$output.='<tr>'.
|
||||
'<td>' . date('d-m-Y', strtotime($feedback->created_at)) . '</td>'.
|
||||
'<td>' . $feedback->message . '</td>'.
|
||||
'<td>' . $feedback->suggestion_form . '</td>'.
|
||||
'<td><form method="post" action="' .route("feedbacks.destroy", [ "feedback" => $feedback ]). '" class="w-100 nostyle">'.
|
||||
|
||||
Reference in New Issue
Block a user