diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 43b6b65ab..96be1daa8 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -605,6 +605,8 @@ @foreach ($asset->components as $component) + + @if (is_null($component->deleted_at)) @@ -612,6 +614,7 @@ {{ $component->pivot->assigned_qty }} {{ $component->purchase_cost }} + purchase_cost ;?> @endif @@ -620,7 +623,9 @@ - {{ $use_currency.$totalCost }} + + + {{ $totalCost }}