diff --git a/resources/views/suppliers/view.blade.php b/resources/views/suppliers/view.blade.php index a1e5525ec2..068e0d548e 100755 --- a/resources/views/suppliers/view.blade.php +++ b/resources/views/suppliers/view.blade.php @@ -200,7 +200,13 @@ @foreach ($supplier->asset_maintenances as $improvement) @if (is_null($improvement->deleted_at)) - {{ $improvement->asset->name }} + + @if ($improvement->asset) + {{ $improvement->asset->name }} + @else + (deleted asset) + @endif + {{ $improvement->asset_maintenance_type }} {{ $improvement->start_date }} {{ $improvement->completion_date }}