@extends('Admin.layout') @section('content') @php $goldItems = $purchase->goldItems ?? $purchase->goldItems()->get(); @endphp
Capture the image and it will be attached to the selected field.