@props(['service' => new \App\Models\Service()])

A. General Information

Service Information

@error('name') {{ $message }} @enderror
@error('description') {{ $message }} @enderror

Service Documents

Drop files here or click to upload.

Upload file

(Support JPEG/JPG/PNG format only, with Maximum size of 2MB per image)

@php $oldImages = old('image', []); $storedImages = $application->services && $application->services->attachments ? $application->services->attachments ->where('type', 'image') ->pluck('path') ->toArray() : []; $imagePaths = array_unique(!empty($oldImages) ? $oldImages : $storedImages); @endphp @if (!empty($imagePaths)) @foreach ($imagePaths as $image) @endforeach @endif
@error('image') {{ $message }} @enderror
No file selected

(Support PDF format only with max size of 10MB)

@error('brochure') {{ $message }} @enderror