{{ __('frontend::lang.page.profile_store_info.info') }}

{{ __('frontend::lang.page.profile_store_info.document') }}

{{ __('frontend::lang.page.profile_store_info.document_desc') }}

@foreach ($this->getDocumentKeys() as $docKey) @if (($this->type_id == 4 && in_array($docKey, ['document_company_pp20', 'document_company_license', 'document_company_certificate', 'document_pharmacy_license'])) || ($this->type_id == 5 && in_array($docKey, ['document_company_pp20', 'document_company_certificate', 'document_pharmacy_license'])) || ($this->type_id == 6 && in_array($docKey, ['document_pharmacy_license']))) @continue @endif @php $config = $this->getDocumentConfig($docKey); $fieldId = $docKey; $hasExisting = $this->hasExistingFile($docKey); $showUpload = $this->isShowingUpload($docKey); $currentValue = $this->{$docKey}; $existingPath = $this->existingDocuments[$docKey] ?? null; $existingUrl = $existingPath ? $this->getDocumentUrl($existingPath) : null; $existingFilename = $existingPath ? basename($existingPath) : ''; $req = $docKey != 'document_company_pp20' ? true : false; @endphp
{{ __('frontend::lang.form.' . $docKey) }} @if ($hasExisting && !$showUpload) @endif
@if ($hasExisting)
@endif
@endforeach