@extends('website.layouts.master_top') @section('css') @endsection @section('content')

Visa Application

Here is your visa application

@if ($visa->status == 0) @php $text_color = 'not_accepted-color-btn'; $msg = __('in progress'); @endphp @elseif ($visa->status == 1) @php $text_color = 'pend-color-btn'; $msg = __('review documents'); @endphp @elseif ($visa->status == 2) @php $text_color = 'cancel-color-btn'; $msg = __('Document problem'); @endphp @elseif ($visa->status == 3) @php $text_color = 'prog-color-btn'; $msg = __('Return Document'); @endphp @elseif ($visa->status == 4) @php $text_color = 'active-color-btn'; $msg = __('Send to broker'); @endphp @elseif ($visa->status == 5) @php $text_color = 'cancel-color-btn'; $msg = __('Refused'); @endphp @elseif ($visa->status == 6) @php $text_color = 'main-color-btn'; $msg = __('Approved'); @endphp @elseif ($visa->status == 7) @php $text_color = 'done-color-btn'; $msg = __('ready to collect'); @endphp @endif {{ $msg }}

{{ __('basic.patient') }}

{{ $visa->patient->first_name . ' ' . $visa->patient->second_name }}

{{ __('Passport Number:') }} {{ $visa->patient->passport_number }}

{{ __('basic.destination') }}

{{ $visa->visa->name }}

{{ __('Company') }}

{{ $visa->debtor->first_name }}

{{ __('Duration') }}

{{ $visa->duration }}

{{ __('Date') }}

{{ $visa->start_at }}


{{ method_field('PUT') }} @csrf
@if ($visa->passport_cover_img) @endif
@error('passport_cover_img') {{ $message }} @enderror
@if ($visa->passport_1_img) @endif
@error('passport_1_img') {{ $message }} @enderror
@if ($visa->passport_2_img) @endif
@error('passport_2_img') {{ $message }} @enderror
@if ($visa->passport_3_img) @endif
@error('passport_3_img') {{ $message }} @enderror
@if ($visa->passport_4_img) @endif
@error('passport_4_img') {{ $message }} @enderror
@if ($visa->hr_img) @endif
@error('hr_img') {{ $message }} @enderror
@if ($visa->bank_stat_img) @endif
@error('bank_stat_img') {{ $message }} @enderror
@if ($visa->insurance_img) @endif
@error('insurance_img') {{ $message }} @enderror
@if ($visa->movement_img) @endif
@error('movement_img') {{ $message }} @enderror
@if ($visa->other_1) @endif
@error('other_1') {{ $message }} @enderror
@if ($visa->other_2) @endif
@error('other_2') {{ $message }} @enderror
@endsection @section('js') @endsection