@extends('layouts.backend.app') @section('title', 'Admin | Visitors | Show') @push('css') @endpush @section('content')
keyboard_return Return

Information of {{ $visitor->name }} @if($visitor->checkout != 1) @endif

Visitor Name {{ $visitor->name }} Factory Name {{ $visitor->factory_name }}
Phone {{ $visitor->phone }} Email {{ $visitor->email }}
Whom to Meet {{ $visitor->employee->name }} Department {{ $visitor->employee->department->name }}
Address {{ $visitor->address }} Reason {{ $visitor->reason }}
Vistor Entring Time {{ $visitor->in_time }} Out Time {{ $visitor->out_time }}
Outing Remark {{ $visitor->checkout == 1 ? 'Out' : 'Not' }}

Guest List

@foreach($visitor->guests as $key => $guest) @endforeach
SL Card No Guest Name Organization Phone Email Address
{{ $key + 1 }} {{ $guest->visitor_card_id }} {{ $guest->name }} {{ $guest->organization }} {{ $guest->phone }} {{ $guest->email }} {{ $guest->address }}
{{-- Delete Modal --}} @endsection @push('js') @endpush