@extends('layouts.app', ['title' => 'Gewährleistung']) @section('content') {{-- delete modal --}} {{-- --}} {{-- warranty modal --}}
{{--
APP > {{ strtoupper(Request::segment(1)) }} {{ strtoupper(Request::segment(2)) != null ? '>' : '' }}{{ strtoupper(Request::segment(2)) }}
--}}
{{-- @if (Auth::user()->get_employee->is_mgt)
neue
@endif --}}

@if (session('msg'))

{{ session('msg') }}

@endif
@if (!empty($projects))

{{-- --}} @if (Auth::user()->get_employee->is_mgt) @endif @foreach ($projects as $item) @if (is_null($item->warranty1_end)) @elseif ($item->warranty1_months == '0') @else @endif @if (Auth::user()->get_employee->is_mgt) @endif @endforeach
@csrf
Service Bauvorhaben Kunde Gewährleistung bewegliche Teile und Verschleißteile Startdatum Endsdatum
@csrf
bewegliche Teile und Verschleißteile Aktion
{{ $item->project_id }} {{ $item->get_service->name }} {{ $item->construction_project_name }} @if (!is_null($item->get_customer)) @if (Auth::user()->get_employee->is_mgt) {{ $item->get_customer->name }} @else {{ $item->get_customer->name }} @endif @endif Gewährleistung ist noch nicht ausgwählt ! @if (Auth::user()->get_employee->is_mgt or Auth::user()->get_employee->is_sec) @endif ohne Gewährleistung {{ $item->warranty1_months }} Monate {{ $item->warranty2_months }} Monate {{ date('d.m.Y', strtotime($item->warranty_start)) }} {{ date('d.m.Y', strtotime($item->warranty1_end)) }} {{ date('d.m.Y', strtotime($item->warranty2_end)) }} {{-- --}}

@else
Keine Daten
@endif
@endsection