So this is an image of Inventory
As you can see the banana Logo is still there but if I go to View
The Logo is gone!
Here's the code for the header
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
<div class="container">
<a class="navbar-brand min-w-[6em]" href="{{ url('/') }}">
<img src="../images/logo2.jpeg" width="120">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
The Controller
public function viewProduct($id) {
$itemsearch = product::find($id)
->join('prices', 'id', '=', 'prices.product_id')
->join('quantities', 'id', '=', 'quantities.product_id')
->join('suppliers', 'id', '=', 'suppliers.product_id')
->where('id', '=', $id)
->get(['id', 'name', 'price', 'quantity', 'supplierName', 'supplierContact']);
$item = $itemsearch[0];
return view('inventory.viewProduct', $item);
}
And I made sure to insert the layout too




