@extends('dashboardCollector._theme_dashboard') @section('content')
Informações Detalhadas

{{date("d/m/Y", strtotime($event["schedule_date"]))}}
OS: {{$event["schedule_id"]}}
Veículo: {{$event["schedule_vehicle"]}}
Atividade: {{$event["schedule_activity"]}}
Projeto: {{$event["schedule_project"]}}
Acompanhante: {{$event["companion_name"]}}
@if(empty($schedule_service_order))
@else @if($schedule_service_order->service_order_complete)
@else
@endif @endif @if(isset($event["extendedProps"]["clients"])) @foreach($event["extendedProps"]["clients"] as $item)
O.C.:{{$item["client_order"]}}
Cliente: {{$item["client_name"]}}
@foreach($item["items"] as $sub_item)

@if(!empty($sub_item["equipament"]))
Equipamento: {{$sub_item["equipament"]}}
@else
[Sem equipamentos para este agendamento]
@endif @if(!empty($sub_item["itinerary"]))
Roteiro: {{$sub_item["itinerary"]}}
@endif
@if($sub_item["schedule_data_status"] == 0) Situação: Em aberto @elseif($sub_item["schedule_data_status"] == 1) Situação: Completo @endif
@if(!empty($schedule_service_order)) @if(!empty($sub_item["equipament"])) @else
@if($sub_item["schedule_data_status"] == 0) Atividade Concluida @endif
@endif @endif @endforeach
@endforeach @endif
Abertura OS
@csrf
Fechamento OS
@csrf
@csrf {{-- Busca os detalhes da agenda para confirmar os itens --}} {{-- Salva atividade completa quando não tem formulário --}} @endsection @section('customJS') @endsection