@extends('layouts.app', ['title' => 'Gewährleistung']) @section('content') {{-- delete modal --}} {{--
--}} {{-- warranty modal --}}{{ session('msg') }}
| Service | Bauvorhaben | Kunde | Gewährleistung | bewegliche Teile und Verschleißteile | Startdatum | {{--Endsdatum | --}}bewegliche Teile und Verschleißteile | @if (Auth::user()->get_employee->is_mgt)Aktion | @endif|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $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 | @if (is_null($item->warranty1_end))Gewährleistung ist noch nicht ausgwählt ! @if (Auth::user()->get_employee->is_mgt or Auth::user()->get_employee->is_sec) @endif | @elseif ($item->warranty1_months == '0')ohne Gewährleistung | @else{{ $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)) }} | @endif @if (Auth::user()->get_employee->is_mgt){{-- --}} | @endif||||||||