Fix menu plan index
This commit is contained in:
parent
ec8eba98c8
commit
795f7a919b
|
@ -27,7 +27,7 @@ class MenuPlanController extends Controller
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\Response
|
* @return \Illuminate\Http\Response
|
||||||
*/
|
*/
|
||||||
public function create(Request $request)
|
public function create()
|
||||||
{
|
{
|
||||||
return Response::detect("menuplans.create");
|
return Response::detect("menuplans.create");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("path")
|
@section("path")
|
||||||
<a href="{{ route('menu-plans.create') }}" class="text-white">Opret Menuplan</a> /
|
<a href="{{ route('menuplans.create') }}" class="text-white">Opret Menuplan</a> /
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section("content")
|
@section("content")
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/pencil.svg') }}" alt="Update"></th>
|
||||||
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
<th style="width: 1em;"><img class="w-100" src="{{ asset('/images/icons/trashcan.svg') }}" alt="Delete"></th>
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($menuplans as $menuplan)
|
@foreach($menuPlans as $menuplan)
|
||||||
<tr>
|
<tr>
|
||||||
<th>{ID}</th>
|
<th>{ID}</th>
|
||||||
<th>{Mandag}</th>
|
<th>{Mandag}</th>
|
||||||
|
@ -39,5 +39,5 @@
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{{ $menuplans->links() }}
|
{{ $menuPlans->links() }}
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in New Issue