<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Melody Admin</title>
<!-- plugins:css -->
<link rel="stylesheet" href="{{asset('assets')}}/admin/vendors/iconfonts/font-awesome/css/all.min.css">
<link rel="stylesheet" href="{{asset('assets')}}/admin/vendors/css/vendor.bundle.base.css">
<link rel="stylesheet" href="{{asset('assets')}}/admin/vendors/css/vendor.bundle.addons.css">
<!-- endinject -->
<!-- plugin css for this page -->
<!-- End plugin css for this page -->
<!-- inject:css -->
<script src="https://cdn.ckeditor.com/ckeditor5/31.0.0/classic/ckeditor.js"></script>
<link rel="stylesheet" href="{{asset('assets')}}/admin/css/style.css">
<!-- endinject -->
<link rel="shortcut icon" href="http://www.urbanui.com/"/>
</head>
<body>
<div class="content-wrapper">
<div class="main-panel">
<div class="col-lg-12 grid-margin stretch-card">
<div class="card-body">
<h3>Update Order</h3>
@include('home.message')
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<form class="card-body">
<div class="table-responsive">
<table name="table table-striped" border="2" cellpadding="5" width="1000px">
<thead>
<tr>
<th>Product</th>
<th>Quantity</th>
<th>Date</th>
<th>Updated Date</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr class="table-info">
<td>{{$data->product->title}}</td>
<td>{{$data->product->quantity}}</td>
<td>{{$data->created_at}}</td>
<td>{{$data->updated_at}}</td>
<td>
<select name="status"><option selected>{{$data->product->status}}</option>
<option>yeni</option>
<option>tamamlandı</option>
</select>
</tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
<form type="form" action="{{route('admin_order_delete',['id'=>$data->id])}}" method="post" enctype="multipart/form-data">
<table class="table table-striped">
<thead>
<tr>
<th>Ürünler</th>
<th>Siparişim</th>
<th>Quantity</th>
<th>Price</th>
<th>Total</th>
<th>Status</th>
<th>Siparişi Tamamla</th>
</tr>
</thead>
<tbody>
<tr class="table-info">
<td>
@if($data->product->image)
<img src="{{Storage::url($data->product->image)}}" height="20" alt="">
@endif
</td>
<td><a href=" {{route('product',['id'=>$data->product->id, 'slug'=>$data->product->slug])}}">
{{$data->product->title}} </a>
</td>
<td> {{$data->quantity}} </td>
<td> {{$data->product->price}} </td>
<td> {{$data->product->price * $data->product->quantity}} </td>
<td> {{$data->product->status}} </td>
<td><a href="{{route('admin_order_delete',['id'=>$data->id])}}"
onclick="return confirm('Siparişi Tamamladığınıza Emin Misiniz?')"> Siparişi Tamamla</a></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Attempt to read property "product" on null (View: C:\xampp\php\Laravel2j\resources\views\admin\order_items.blade.php)
böyle bir hata alıyorum neden olabilir