@extends('admin.layouts.container') @section('content')

{{ $head ?? ''}}

@if($amendmentRequest ?? '' && $amendmentRequest->id) @method('PUT') @endif @csrf
{{--
--}} @foreach($amendmentRequest->details as $detail) @endforeach
{{ __('general.type') }} {{ __('amendment_requests.old_file') }} {{ __('amendment_requests.new_file') }}
{{ __("sellers.$detail->field_name") }} @if($detail->old_file && file_exists(public_path('storage/'.$detail->old_file)))
@if(isFileImage($detail->old_file)) @else @php $fileExt = getFileExtension($detail->old_file); $isPdf = $fileExt === 'pdf'; @endphp @endif
@endif
@if($detail->new_file && file_exists(public_path('storage/'.$detail->new_file)))
@if(isFileImage($detail->new_file)) @else @php $fileExt = getFileExtension($detail->new_file); $isPdf = $fileExt === 'pdf'; @endphp @endif
@endif
@endsection @push('stack_scripts') @endpush @section('inner_js') {{-- get regions by country --}} @include('admin.partials._script') @endsection