@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Vaskemaskiner - Vis
@endsection
@section("path")
Vis Vaskemaskiner /
@endsection
@section("content")
@if(auth()->user()->can('washing.machine.create'))
Opret Vaskemaskine
@endif
Navn |
Lokation |
@if(auth()->user()->can('washing.machine.edit'))
|
@endif
@if(auth()->user()->can('washing.machine.delete'))
|
@endif
@foreach($machines as $machine)
{{$machine->name}} |
{{\App\Location::query()->where("id", "=", $machine->location_id)->first()->name}} |
@if(auth()->user()->can('washing.machine.edit'))
|
@endif
@if(auth()->user()->can('washing.machine.delete'))
|
@endif
@endforeach
@endsection