@extends('layouts.app', ['title' => 'Ausgangsrechnung | ' . $invoice->invoice_nr]) @section('content') {{-- Cost-centre-Nr modal --}} {{-- paid-date modal --}} {{-- Konto Update modal --}} {{-- invoice-warning modal --}} {{-- delete warning modal --}} {{-- new - Teilzahlung modal --}} {{-- delete payment modal --}} {{-- Skonto paid modal --}} @if (session('msg'))

{{ session('msg') }}

@endif @if (session('error'))

{{ session('error') }}

@endif
@if ($previous_invoice) ← Vorherige @endif
@if ($next_invoice) Nächste → @endif


@if (Auth::user()->get_employee->is_mgt or Auth::user()->get_employee->get_department->department_id == '9')
Hauptstatus:
is_paid == '0' ? ' disabled' : '' }}> @csrf
is_paid == '1' ? ' disabled' : '' }}> @csrf @if ($invoice->is_discount_period_adhered) @else @endif
@endif


@if ($invoice->id != 6)
@csrf
neuer Hinweis/Kontaktverlauf
{{--
--}}

** es ist möglich hier jemandem zu erwähnen: @Name oder #Abteilung


@endif
Projekt Verlauf/Hinweise
Filter:
alle
@foreach ($invoice->timelines as $tt) @if ($tt->is_event or $tt->is_email or $tt->is_note or $tt->is_call or $tt->is_post or $tt->is_personally) @if (request('d_tag') == $tt->id)
@endif
{{ $tt->get_employee->first_name }} {{ $tt->get_employee->last_name }} {{ date('d.m.Y - H:i', strtotime($tt->created_at)) }}
@if ($tt->is_note)
@if ($tt->is_event) {{ $tt->event_msg }} @else {!! $tt->event_msg !!} @endif
@else @if ($tt->is_call)
Kunde: {!! $invoice->customer->name !!}
@endif @if ($tt->is_email)
Kunde: {!! $invoice->customer->name !!}
@endif @if ($tt->is_post)
Kunde: {!! $invoice->customer->name !!}
@endif @if ($tt->is_personally)
Kunde: {!! $invoice->customer->name !!}
@endif
@if ($tt->is_event) {{ $tt->event_msg }} @else {{ $tt->event_msg }} @endif
@endif
@endif @endforeach
@endsection