@extends('app-new') @push('head-script') @endpush @section('content')

{{ trans('master/master.view_visit_record') }}

{{ trans('master/master.name') }} : {{ ucfirst($visit->name) }}
{{ trans('master/master.purpose') }} : {{ ucfirst($visit->purpose->name) }}
{{ trans('master/master.venue') }} : {{ ucfirst($visit->venue) }}
{{ trans('master/master.assigned_to') }} : {{ $currEmp->name }}
{{ trans('master/master.customer_name') }} : {{ ucfirst($visit->customer->name) }}
{{ trans('master/master.mobile_no') }} : {{ ucfirst($visit->customer->mobile) }}
{{ trans('master/master.email_id') }} : {{ ucfirst($visit->customer->email) }}
{{ trans('master/master.address') }} : {{ ucfirst($visit->customer->company_address) }}
{{ trans('master/master.geo_address') }} : {{ ucfirst($visit->customer->geo_address) }}
{{ trans('master/master.visit_from') }} : {{ ucfirst($visit->from_time) }}
{{ trans('master/master.visit_till') }} : {{ ucfirst($visit->to_time) }}
{{ trans('master/master.remark') }} : {{ ucfirst($visit->remarks) }}
{{ trans('master/master.status') }} : {{ ucfirst($visit->status) }}
{{ trans('master/master.created_by') }} : {{ $createdBy->name }}
@if($visit->attachments)
@if($visit->attachments) @foreach($visit->getMedia('attachments') as $attachment)
@if($attachment->mime_type=="application/msword" || $attachment->mime_type=="appplication/docx" || $attachment->mime_type=="appplication/doc") attachment @elseif($attachment->mime_type=="application/pdf") attachment @else attachment @endif

{{$attachment->file_name}}

@endforeach @endif
@endif
@endsection @push('footer-script') @endpush