@if($mode == 'popup')

CO-DATproV+


@endif
{{-- Suchfeld --}}
@switch($mode) @case('edit') @break @case('view') @break @default @endswitch
@if($check_for_uc_add)

Möchten sie die Bearbeitung wirklich verlassen? Ihre Änderungen werden beim verlassen gespeichert.

@endif {{-- Tabelle mit fixem Header --}}
{{-- Header (nicht scrollbar) --}}
@if($mode == 'edit')
{{-- Checkboxen --}}
@endif
Status
%
Unternehmenswert
Prozess
Werteart
B.Status
{{--
--}} {{--
Zugew. An
--}} {{--
Bearb.
--}} {{--
--}} @if($mode != 'edit')
Aktionen
@endif
{{-- Scrollbarer Inhalt --}}
@foreach($this->filtered_uws as $uw)
@if($mode == 'edit') @endif {{-- Status --}}
@php $iconPath = $statusIcon[$uw->status] ?? null; @endphp @if($iconPath)
Status Icon
{{ $uw->dokStatus?->ds_name ?? 'N/A' }}
@else Kein Icon @endif
{{-- Fortschritt --}}
{{$uw->fortschritt() ?? '0'}}%
{{-- Unternehmenswert --}}
{{$uw->name ?? 'N/A'}}
{{-- Prozesse --}}
@foreach($uw->alleProzesse as $prozess)
{{ $prozess->proz_nummer }} - {{ $prozess->proz_name }}
@endforeach
{{-- Werteart --}}
{{$uw->werteart?->werteart_name ?? 'N/A'}}
{{-- Status --}}
{{$uw->cotoryStatus?->status_name ?? 'N/A'}}
{{-- --}}{{-- Zugew. An / Bearb --}} {{--
--}} {{--
--}} {{-- {{$uw->zugew_user?->vorname.' '.$uw->zugew_user?->nachname ?? 'N/A'}}--}} {{--
--}} {{--
--}} {{-- {{ optional($uw->geaendert_ts ? \Carbon\Carbon::parse($uw->geaendert_ts) : null)->locale('de')?->isoFormat('DD.MM.YYYY, HH:mm') ?? '—' }}--}} {{--
--}} {{--
--}} {{-- Aktionen --}} @if($mode != 'edit')
@endif
@endforeach
{{$this->filtered_uws->links()}}
{{-- + Neuer Unternehmenswert Button --}} @can('create', new \App\Models\CotoryUw())
@endcan {{-- Eingabefeld für neue UW --}} @if($show_add_uw_input)
@endif