@extends('layouts.app', ['title' => 'PMS · Projektarten']) @section('content')

Projektarten

PMS · Einstellungen
@if(session('success'))
{{ session('success') }}
@endif {{-- Neue Projektart anlegen --}}
Neue Projektart
@csrf
{{-- Liste nach Kategorie gruppiert --}} @foreach($categories as $cat) @php $catTypes = $types->where('fk_category_id', $cat->id); @endphp
{{ $cat->nr_prefix }} {{ $cat->name }} {{ $catTypes->count() }}
@if($catTypes->isEmpty())
Keine Projektarten vorhanden.
@else @foreach($catTypes->sortBy('sort') as $type) @endforeach
NAME HAT LV AKTIONEN
{{ $type->name }} @if($type->has_lv) Ja @else @endif
@endif
@endforeach
{{-- Edit Modal --}} {{-- Delete Confirm Modal --}} @endsection