@extends('layout.app') @section('content') Edit Income See List {{-- 'model'=> $model --}} @method('put') @csrf Name* Income Head* Select One @foreach ($incomeHead as $item) {{ $item->name }} @endforeach Invoice Number* Date* Amount* Upload Documents @if ($model->attach_document != null) @if (!empty($model->attach_document)) @php $isS3 = checkSettings('store_image_to_s3') === 'enable'; $imgUrl = $isS3 ? $model->attach_document // already full URL from S3 : asset('storage/attachDocument/' . $model->attach_document); // local path @endphp @else No File @endif @else @endif Description* {{ $model->description }} Update @endsection @push('script-bottom') @endpush
No File