{{-- |--------------------------------------------------------------------------- * _ _ __ _ _ _ __ * | | ___ ___ __| | ___| _| | ___ __| | ___ _ __| |__ ___ __|_ | * / __)/ __/ _ \ / _` |/ _ \ || | / _ \/ _` |/ _ \ '__| '_ \ / _ \/ __| | * \__ \ (_| (_) | (_| | __/ || |__| __/ (_| | __/ | | | | | (_) \__ \ | * ( /\___\___/ \__,_|\___| ||_____\___|\__,_|\___|_| |_| |_|\___/|___/ | * |_| |__| |__| ? @date: 2023-05-25 @version 1.0 @project: Okis 3.0 ? @author: Code[Lederhos] ? Stanislaw Lederhos ? mail: codelederhos@gmail.com * $web_development_with_passion = { 'Programmed for the future' }; |--------------------------------------------------------------------------> --}} @php use App\Models\User; @endphp @extends('layouts.main') @section('title', 'Okis 3.0 | Auftrag bearbeiten') @section('content')
@includeIf('layouts.components.container_header', [ 'title_primary' => 'Auftragdetails zu', 'title_secondary' => $order->id .' | ' .$order->patient_name, 'btn_back' => route('orders.index'), ])
@includeIf('layouts.components.btn_status', [ 'form_route' => route('orders.update', $order->id), 'select_id' => $order->status->value, 'allow_statuses' => [ 1 => 'Aktiv', 0 => 'Inaktiv', // 2 => 'Storniert', 3 => 'Abgebrochen', // 4 => 'Reaktiviert', 5 => 'Archiviert', // 6 => 'Abgeschlossen', // 7 => 'Fehlerhaft', ], ])
@if ( !empty($order->status_description) )
@includeIf('layouts.components.icon', [ 'name' => 'info', 'width' => 30, 'attr' => ' style="margin-top= 0px;" ', 'class' => 'me-1 bg-light rounded', 'title' => $order->status_description, ])
@endif
    @if($order->id != $order->customer_order_id)
  • abweichende Kunden Auftragsnummer: {{ $order->customer_order_id }}
  • @endif
  • Kunde {{ $customer->KuNr .' | ' .$customer->company }} aufrufen
  • @php $contact = $customer->contacts()->where('contact_type', 'main')->first(); @endphp @if (!empty($contact))
  • @if ( !empty($contact->phonenumber) ) kunden anrufen @endif @if ( !empty($contact->mobile) ) kunden anrufen @endif @if ( !empty($contact->email) ) kunden schreiben @endif
  • @endif
  • Akt. Zyklus {{ $order->last_cycle()->cycle }}

    @includeIf('layouts.components.prozess', [ 'status' => $order->last_cycle()->progress ?? $order->last_cycle()->progress(), 'color' => 'success', 'css' => 'p-0 rounded-1', 'height' => 15, ])
  • @csrf @method('PUT')
    @includeIf('layouts.components.inputs_v2', [ 'input_id' => "xml", 'label' => 'XML', 'placeholder' => 'XML', 'value' => trim($order->xml) ?? '', ])
    @includeIf('layouts.components.inputs_v2', [ 'input_type' => 'checkbox', 'input_id' => "kulanz", 'check_label' => 'Kulanz', 'value' => $order->kulanz ?? '', 'margin_top' => 32, 'label_class' => '', ])
@includeIf('layouts.components.card_header', [ 'title' => 'Ordner / Ansicht', 'collapse_id' => 'collapseFolder', ])
@includeIf('layouts.components.card_header', [ 'title' => 'Belege', 'collapse_id' => 'collapseReceipts', 'route' => 'orders.create', ])
@includeIf('layouts.components.card_header', [ 'title' => 'Lieferscheine', 'collapse_id' => 'collapseDelivery', 'route' => 'orders.create', ])
{{-- Path --}}
@include('flash_message')
@if ( !request('path') || request('path') === '' || request('path') === $path[1] ) @includeif('orders._path_'.$path[1]) @endif @for ($i = 2; $i <= count($path); $i++) @if ( request('path') && request('path') != '' && request('path') === $path[$i] ) @includeif('orders._path_'.$path[$i]) @endif @endfor
{{-- END Path --}}
{{-- END COL 9 --}}
@section('section-js') @parent @once @endonce @stop @endsection